Re: PHP with qmail

From: Date: Wed, 23 Jan 2002 14:28:01 +0000
Subject: Re: PHP with qmail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81687@lists.php.net to get a copy of this message
Casey Allen Shobe wrote:
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.
You have 3 options. 1) Install sendmail warpper came with qmail 2) Use "qmail-inject" 3) If you have installed qmail in different server, use nullmailer. nullmailer supports both SMTP and QMTP ;) -- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply only to me :)

« previous php.general (#81687) next »