[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: Re: Changing "Return-Path" in PHP mail function - Help needed
- Subject: Re: [cobalt-users] Re: Re: Changing "Return-Path" in PHP mail function - Help needed
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Sun Oct 21 09:36:05 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
le 21.10.2001 2:41, SM à nntp@xxxxxxxxx a écrit :
> At 08:38 18-10-2001 -0300, Adrián Boismoreau wrote:
>> Edited the /etc/mail/sendmail.cf. The header stuff looks like this:
>
> [snip]
>
>> I replaced the 2 first lines for this:
>>
>> H?P?Return-Path: <admin@xxxxxxxxxx>
>> HReceived: $?sfrom $s $.$?_(admin@xxxxxxxxxx)
>>
>> And now mail headers sent from every script using sendmail has a return path
>> that's not <httpd>
>
> The modification may not play well with some mail filters. Why not use use
> the genericstable feature of Sendmail?
>
> Regards,
> -sm
Having some mails left to read :-)) ??
The problem with PHP can be solved by adding
this line to your httpd.conf file in every virtualhost container:
php_admin_value sendmail_path /usr/sbin/sendmail -t -i
-fcatchall@xxxxxxxxxxxx