Franki,

Yes, I expected my experience to be just as yours was.
Doing a which on sendmail brings up /usr/sbin/sendmail
and this is where sendmail is executed from in my CGI
scripts. As you said, this shouldn't be affected anyway.

I do still have sendmail installed but only because install 
instructions said I could, and recommended running both for
a day or two to make sure all the old mail gets picked up.
I was pretty careful to following the directions to the T.

I don't think old sendmail was written over the new because
it _does_ work for regular users. Or do I misunderstand? 

Incidentally, here is the exact test script that I'm using:

----------------
#!/usr/bin/perl

open(MAIL, "|sendmail");

print MAIL "To: miark
From: art\@gardnerbusiness.com
Subject: test

This is a test.";

close MAIL;
-----------------

I can run it. Art can run it. If I su to "nobody",
I run it, but the mail doesn't get sent.

Miark


> One day I saw the error of my ways and took the leap, 
> installing and configuring postfix..
>
> All my mailing CGI scripts continued to work fine.
> 
> are you sure that you have the path to sendmail in your scripts??
> 
> I would also ask if for ose reason you have both sendmail and postfix
> installed.
> 
> if so, that is very likely your problem as its possible that the
> postfix/sendmail binary was replaced by the sendmail/sendmail binary, which
> will not work and will cause the problem you describe.



> rgds
> 
> Frank
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Randy Kramer
> Sent: Tuesday, 11 December 2001 10:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] Postfix and CGI scripts
> 
> 
> Miark wrote:
> > I've got myself in a real bind. I've spent this night
> > replacing sendmail with Postfix and everything works
> > except my CGI scripts which is more or less disasterous.
> 
> Miark,
> 
> Sometime after you've had some sleep, would you mind posting a brief
> explanation of what the CGI scripts have to do (or how they interact
> with) Postfix?  Or, do they only interact with Apache, but somehow your
> installation of Postfix stopped them  working with Apache?
> 
> Trying to learn,
> Randy Kramer
> 
> 
> 
> 


--------------------------------------------------------------------------------


> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to