Re: PHP with qmail
| From: | Peter Janett | Date: | Wed, 23 Jan 2002 01:20:56 +0000 |
| Subject: | Re: PHP with qmail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81616@lists.php.net to get a copy of this message | ||
I use Qmail on my server with PHP4. Seems to work fine, although maybe some
flags don't work.
I've been able to set the "return path" manually with Perl, so you can
probably do the same with PHP mail. Just add it to the header in the mail()
call.
Hope that helps,
Peter Janett
New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.0.6, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!
http://www.newmediaone.net
webmaster@newmediaone.net
(303)828-9882
----- Original Message -----
From: "Casey Allen Shobe" <cshobe@softhome.net>
To: <php-general@lists.php.net>
Sent: Tuesday, January 22, 2002 1:37 PM
Subject: [PHP] PHP with qmail
> 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?'
>
> --
> 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
>