Re: Sendmail Path

From: Date: Mon, 03 Jul 2000 06:44:05 +0000
Subject: Re: Sendmail Path
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4442@lists.php.net to get a copy of this message
It is a standard part of the qmail install to setup a wrapper script which answers sendmail command calls and invokes qmail to serve the functions required. If this was elected during the linux install of qmail -- (something for you to determine -- try $which sendmail and check the ls -l of the file; if it is tiny, cat it -- it will be a script invoking qmail -- if it is not a small file don't cat it -- it'll be the binary and will mess up your terminal session, at least ) -- it will not require any tweaks to use exactly asif it were sendmail, as far as PHP scripts are concerned. HtH, Erik ----- Original Message ----- From: "Brian Clark" <brianj@ais.ais-gwd.com> To: "Chris Cameron" <chris@upnix.com> Cc: <php-general@lists.php.net> Sent: Sunday, July 02, 2000 9:58 PM Subject: Re: [PHP] Sendmail Path > Chris Cameron: > > >I've recently switched from Windows to Linux, and am working on porting > >my scripts, and I've come across a bit of a pickle. > > > >Before when I used the mail() command under windows, it used my > >localhost mailserver to send mail, which worked fine. But it seems now > >that under linux it's specifically trying to use sendmail to send the > >email. I have qmail installed, and am wondering whether I can just stick > >in the Qmail path in the .ini where it says "sendmail_path". > > For qmail, you probably already have a wrapper to emulate sendmail using > qmail (err, that sounds weird). Nevertheless, we use qmail and we have ours > set to `/usr/sbin/sendmail -t' > > Try just setting it to that and it *should* work. At least ours does. > > Do a `locate sendmail' and see what you can find. > > Brian > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#4442) next »