[NTLUG:Discuss] Return-Path header

Fred James fredjame at fredjame.cnc.net
Tue Jan 4 17:16:44 CST 2005


Stuart Johnston wrote:

> One option would be to set the Errors-To: header.  I've received a few 
> messages from MTA's that ignored it but it seems to work ok most of 
> the time.
>
>
> David Camm wrote:
>
>> i have several cgi programs that invoke sendmail to send emails to 
>> both individuals and lists.
>>
>> since these are run by the webserver's uid, the Return-Path header 
>> generated by sendmail is <nobody at ....>.
>>
>> what i really want is to be able to set Return-Path so that 
>> undeliverable mail is returned to an address specified by the 
>> customer that 'owns' the program.
>>
>> i tried explictly adding a Return-Path header into one program and 
>> sent out a few test emails. no dice.
>>
>> i'm a total sendmail configuration dummy. the bat book might as well 
>> have been written in sanskrit. it is totally undecipherable.
>>
>> does anyone have an idea of who i might be able to tell sendmail to 
>> honor a Return-Path header if it's already defined in a message?
>>
>> thanks.......
>>
>> david camm
>> advanced web systmes
>> keller, tx
>
This option is in the man pages of sendmail (at least on Linux) - hope 
this helps

       -r sender
              Set the envelope sender  address.  This  is  the  address  
where
              delivery  problems  are  sent to, unless the message 
contains an
              Errors-To: message header.
 




More information about the Discuss mailing list