PHP with qmail
| From: | Casey Allen Shobe | Date: | Tue, 22 Jan 2002 20:37:10 +0000 |
| Subject: | PHP with qmail | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81592@lists.php.net to get a copy of this message | ||
I have a customer using YaBB (a PHP-based message board) on a server that
uses qmail. From what I've heard from her and the YaBB people and the PHP
manual, PHP only supports sendmail or SMTP on Windows.
This means, if I understand correctly, that I can choose between sendmail
(unacceptable) and Windows (*very* unacceptable).
How can I use the mail() function with qmail on linux/unix?
They're currently calling qmail's sendmail binary, but the return-path header
is always wrong, since qmail needs the sendmail binary to be called with
-f<return_address> for it to be set.
--
Casey Allen Shobe
cshobe@softhome.net
'Why do people with closed minds always open their mouths?'