Frank, you talked me into nuking sendmail and re-installing Postfix from the tarball. It's done.
The old main.cf is fine. I did a "newaliases". I did a "postfix reload". I have sent a few messages and they seem to be working. Some got caught in the queue earlier but they've been dribbling out slowly. (Is there a way to have postfix send everything in the queue immediately?) Anyway, the regular accounts seem fine. Unfortunately, my CGI scripts are _still_ not sending e-mail. Any other ideas? An aliases problem? Permissions? A configuration setting? What could it be?!! Thanks for your help thus far. Miark ----- Original Message ----- From: "Franki" <[EMAIL PROTECTED]> To: "NEWBIE Mandrake List" <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 2001 10:59 AM Subject: RE: [newbie] Postfix and CGI scripts > you can have both installed, but only if they put the sendmail binary in > different locations.. > > if they are putting then in the same place, that is the problem, it is the > sendmail binary that is being used, and since it doesn't work with postfix, > the mail will not be sent.. > > if you installed from mandrake rpms, then you have a problem... > > if you must have both, then get the src of postfix and configure it for a > differnt sendmail binary location.. and point your scripts at that... > > > rgds > > > frank.. > > -----Original Message----- > From: Miark [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 12 December 2001 1:59 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [newbie] Postfix and CGI scripts > > > 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 >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com