[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



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