RE: Can't use sendmail more than once

2003-05-30 Thread Marc M. Adkins
I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl on a Windows machine. I use the site to send emails to registered users using Mail::sendmail through our SMTP server (another machine). With Apache I can only send emails once after I start the Apache server

Can't use sendmail more than once

2003-05-29 Thread Greg Dutkowski
I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl on a Windows machine. I use the site to send emails to registered users using Mail::sendmail through our SMTP server (another machine). With Apache I can only send emails once after I start the Apache server, thereafter

Re: Can't use sendmail more than once

2003-05-29 Thread Randy Kobes
On Thu, 29 May 2003, Greg Dutkowski wrote: I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl on a Windows machine. I use the site to send emails to registered users using Mail::sendmail through our SMTP server (another machine). With Apache I can only send emails

Re: Can't use sendmail more than once

2003-05-29 Thread Perrin Harkins
On Wed, 2003-05-28 at 22:45, Greg Dutkowski wrote: I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl on a Windows machine. I use the site to send emails to registered users using Mail::sendmail through our SMTP server (another machine). With Apache I can only send

Re: Can't use sendmail more than once

2003-05-29 Thread Stas Bekman
Perrin Harkins wrote: On Wed, 2003-05-28 at 22:45, Greg Dutkowski wrote: I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl on a Windows machine. I use the site to send emails to registered users using Mail::sendmail through our SMTP server (another machine). With Apache

Re: Can't use sendmail more than once

2003-05-29 Thread Perrin Harkins
On Wed, 2003-05-28 at 23:17, Stas Bekman wrote: Can we add this factoid to http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Windows_OS_specific_notes ? Yes. I think Joshua Chamas has a summary of it somewhere, but I can't seem to reach his site or the mod_perl site at the moment for

RE: Can't use sendmail more than once

2003-05-29 Thread Greg Dutkowski
That's fixed it - I don't server many images - thanks very much! -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 May 2003 1:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Can't use sendmail more than once On Wed, 2003-05-28 at 22:45

Sendmail or not?

2001-04-08 Thread Per Einar
There is still one subject about subprocesses under mod_perl which is unclear to me: should I avoid pipes ot other programs or not? What I have understood is that I should avoid forking subprocesses. Now, here is my case: I want to send an e-mail to somebody. Should I open a pipe to sendmail

Re: Sendmail or not?

2001-04-08 Thread G.W. Haywood
and have a cron job hand the files to sendmail every hour. What is the best choice in my case? Only you can have enough information to answer that. 73, Ged.

Re: Sendmail or not?

2001-04-08 Thread Per Einar
- Original Message - From: "G.W. Haywood" [EMAIL PROTECTED] To: "Per Einar" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 10:27 AM Subject: Re: Sendmail or not? Hi there, On Sun, 8 Apr 2001, Per Einar wrote: What I have understood is

Re: Sendmail or not?

2001-04-08 Thread Sean Chittenden
if you | to sendmail, then you still fork. Mail::Sendmail, I bet dime to dollar, forks and execs a process. The only way to avoid forking is to open a socket and send the message via SMTP (or QMQP if you want to pimp your system out with qmail). Unless you're on AIX or solaris

Re: Sendmail or not?

2001-04-08 Thread Per Einar
- Original Message - From: "Sean Chittenden" [EMAIL PROTECTED] To: "Per Einar" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 11:42 AM Subject: Re: Sendmail or not? if you | to sendmail, then you still fork. Mail::Sendmail, I bet dime to dol

Re: Sendmail or not?

2001-04-08 Thread Mithun Bhattacharya
Am I correct in assuming that you are writing to a file based on user inputs in real time ?? Doesn't that imply you have to go around and implement some sort of file locking or queuing procedure in the handler itself ?? Personally I would rather take the overhead of firing off the MDA and let the

Re: Sendmail or not?

2001-04-08 Thread Per Einar
- Original Message - From: "Mithun Bhattacharya" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 11:56 AM Subject: Re: Sendmail or not? Am I correct in assuming that you are writing to a file based on user inputs in real time ?? Doesn't that imply you

Re: Sendmail or not?

2001-04-08 Thread Mithun Bhattacharya
be of executing the MDA. By the way sendmail is not the only MDA available - you would get many MDA's with quite small footprint in case that becomes a bottleneck. What you could also try out is use SMTP to deliver to your own mailserver and then it can do the queueing. Ofcourse here your benchmark gets

Re: Sendmail or not?

2001-04-08 Thread Sean Chittenden
No, Mail::Sendmail sends through SMTP. That's why I talked about it. My bad, next time I'll check out the readme. So, you're saying that I should just fork anyway? If you have an SMTP server that's available for relaying from your host, I'd go for Mail::Sendmail because

Re: Sendmail or not?

2001-04-08 Thread barries
don't know anything about named pipes, but isn't it possible to write to some sort of intermediate file that is monitored by a daemon process which then sends it off to sendmail? If you're planning on writing a daemon, a named pipe or Unix domain socket is good. You'll need a multiprocessing

Re: Sendmail or not?

2001-04-08 Thread Per Einar
- Original Message - From: "barries" [EMAIL PROTECTED] To: "Per Einar" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 4:24 PM Subject: Re: Sendmail or not? On Sun, Apr 08, 2001 at 12:07:01PM +0200, Per Einar wrote: What I was suggesting

Re: Sendmail or not?

2001-04-08 Thread Tom Mornini
- Original Message - From: "Sean Chittenden" [EMAIL PROTECTED] To: "Per Einar" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 11:42 AM Subject: Re: Sendmail or not? if you | to sendmail, then you still fork. Mail::Sendmail, I bet d

Re: Sendmail or not?

2001-04-08 Thread Ask Bjoern Hansen
On Sun, 8 Apr 2001, Tom Mornini wrote: I don't understand why anyone would do anything else than just forking to qmail-inject. At least on Linux and FreeBSD that goes reasonably fast (you're not sending hundreds and hundreds of mails per minute, are you?), is really simple and the mail will be

Re: Sendmail or not?

2001-04-08 Thread Tom Mornini
On Sunday, April 8, 2001, at 04:16 PM, Ask Bjoern Hansen wrote: On Sun, 8 Apr 2001, Tom Mornini wrote: I don't understand why anyone would do anything else than just forking to qmail-inject. At least on Linux and FreeBSD that goes reasonably fast (you're not sending hundreds and hundreds

sendmail processes hanging around after I switch to mod_perl

2000-11-21 Thread news
Hi All I'm running apache 1.3.14 mod_perl 1.23 on red hat linux 6.2 kernel 2.2.17 sendmail 8.9.3-20 After switching to mod_perl from plain cgi scripts I find that sendmail processes are hanging around after http requests are supposed to have served. many of my scripts heavily make use

Re: [OT] Re: sendMail in cgi program

2000-06-13 Thread Ian Kallen
Well, you _can _ do this $var="END"; This is my variable's multiline text, complete tith tabs\t\t and extra newline\n\n, etc END four spaces in the opening and closing quote. I usually use qq{ } depending on how much I care about whitespace formatting.

RE: sendMail in cgi program

2000-06-12 Thread Jerrad Pierce
. | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| -Original Message- From: amy [mailto:[EMAIL PROTECTED]] Sent: Monday, June 12, 2000 15:55 To: [EMAIL PROTECTED] Subject: sendMail in cgi program if I run the same procedure on a separate file, email works, once I put the proc in the cgi file, I got the following

[OT] Re: sendMail in cgi program

2000-06-12 Thread Paul
I know you've received other responses, but I'm doing a good bit of this lately. sub sendEmail { open (Sendmail, "|/usr/lib/sendmail -oi -t ") or die "Can't fork for sendmail: $!\n"; print Sendmail "EOF"; From: Bugs amy\@lo

apache/news/sendmail/unixadmin mailing list.

2000-04-06 Thread Wu, Gordon
does anybody know where is the mailling list for any of followings? apache inn news server sendmail Unix Admin thanks, Gordon Wu