Re: mail function for qmail

From: Date: Fri, 23 Jun 2000 07:56:12 +0000
Subject: Re: mail function for qmail
Groups: php.general 
Request: Send a blank email to php-general+get-2749@lists.php.net to get a copy of this message
Addressed to: Mark Lo <markloky@netvigator.com> php-general@lists.php.net Sorry, there was a typo. The correction is below. ** Reply to note from php3@developersdesk.com Fri, 23 Jun 2000 00:42:46 MST > > Addressed to: Mark Lo <markloky@netvigator.com> > php-general@lists.php.net > > ** Reply to note from Mark Lo <markloky@netvigator.com> Fri, 23 Jun > 2000 13= :42:42 +0800 > > > > Hi, > > > > How to use mail () with q-mail. ?? I mean what do i have to change > > for php mail function to work with q-mail ?? > > > > Qmail includes a file sendmail in the /var/qmail/bin directory that > is a wrapper that looks like sendmail to programs, and initiates > qmail mail delivery. The Qmail install instructions include a > suggestion to replace your existing sendmail binary with a link to > this file. > > > One way or another, you need to make the sendmail_path on php.ini > point to this file. I did the following: > > > mv /usr/sbin/sendmail /usr/sbin/sendmail.old > > ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail > > Correction! > > in php.ini > > sendmail_path /usr/sbin/qmail sendmail_path /usr/sbin/sendmail Sorry the fingers got ahead of the brain... > > > > or you could look in the Configuration section of the manual and > find... > > > sendmail_path string > > Where the sendmail program can be found, usually /usr/sbin/sendmail > or /usr/lib/sendmail configure does an honest attempt of locating > this one for you and set a default, but if it fails, you can set it > here. > > Systems not using sendmail should set this directive to the sendmail > wrapper/replacement their mail system offers, if any. For example, > Qmail users can normally set it to /var/qmail/bin/sendmail. > > > > Rick Widmer Internet Marketing Specialists www.developersdesk.com > > -- 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 > > Rick Widmer Internet Marketing Specialists www.developersdesk.com

« previous php.general (#2749) next »