Re: Need help with sendmail / procmail - SendMail
This is a discussion on Re: Need help with sendmail / procmail - SendMail ; [ Added comp.mail.sendmail as recipient ]
Garen Erdoisa <gerdoisa@cableone.net> writes in comp.mail.misc:
> The envelope sender is normally put into the Return-Path: header. However
> if the sender provides the Return-Path: header in the SMTP message body
> during the ...
-
Re: Need help with sendmail / procmail
[ Added comp.mail.sendmail as recipient ]
Garen Erdoisa <gerdoisa@cableone.net> writes in comp.mail.misc:
> The envelope sender is normally put into the Return-Path: header. However
> if the sender provides the Return-Path: header in the SMTP message body
> during the SMTP transaction, then sendmail will not overwrite it.
Are you sure?
$ fgrep -i Return-Path conf.c
{ "return-path", H_FORCE|H_ACHECK|H_BINDLATE, NULL },
$
/ Kari Hurtta
-
Re: Need help with sendmail / procmail
In article <5dslddgnue.fsf@Hurtta06k.keh.iki.fi>, Kari Hurtta wrote:
> [ Added comp.mail.sendmail as recipient ]
>
> Garen Erdoisa <gerdoisa@cableone.net> writes in comp.mail.misc:
>
>> The envelope sender is normally put into the Return-Path: header. However
>> if the sender provides the Return-Path: header in the SMTP message body
>> during the SMTP transaction, then sendmail will not overwrite it.
>
> Are you sure?
It's something I've tested in the past (few years back) by telneting to my
own SMTP server and submitting messages directly to the server to see how it
reacted under various circumstances.
Since you challenged the statement, I just tried duplicating this
behavior again, and found that sendmail is replacing the return path
header given in the SMTP message body DATA with the envelope sender data.
So somewhere along the line that behavior changed. I stand corrected.
Interesting...
>
> $ fgrep -i Return-Path conf.c
> { "return-path", H_FORCE|H_ACHECK|H_BINDLATE, NULL },
> $
>
--
Garen
-
Re: Need help with sendmail / procmail
Garen Erdoisa <gerdoisa@cableone.net> writes:
> In article <5dslddgnue.fsf@Hurtta06k.keh.iki.fi>, Kari Hurtta wrote:
>> [ Added comp.mail.sendmail as recipient ]
>>
>> Garen Erdoisa <gerdoisa@cableone.net> writes in comp.mail.misc:
>>
>>> The envelope sender is normally put into the Return-Path: header. However
>>> if the sender provides the Return-Path: header in the SMTP message body
>>> during the SMTP transaction, then sendmail will not overwrite it.
>>
>> Are you sure?
>
> It's something I've tested in the past (few years back) by telneting to my
> own SMTP server and submitting messages directly to the server to see how it
> reacted under various circumstances.
>
> Since you challenged the statement, I just tried duplicating this
> behavior again, and found that sendmail is replacing the return path
> header given in the SMTP message body DATA with the envelope sender data.
> So somewhere along the line that behavior changed. I stand corrected.
>
> Interesting...
<quote src-file="RELEASE_NOTES">
SENDMAIL RELEASE NOTES
[...]
8.2/8.2 1993/07/11
[...]
Fix problem that causes old Return-Path: line to override new
Return-Path: line (conf.c needs H_FORCE to avoid
re-using old value). From Motonori Nakamura.
</quote>
> [...]
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html
http://anfi.homeunix.net/sendmail/ [orkut,linkedin,xing]
Similar Threads
-
By Application Development in forum SendMail
Replies: 2
Last Post: 05-30-2007, 09:48 AM
-
By Application Development in forum SendMail
Replies: 4
Last Post: 03-09-2007, 03:11 AM
-
By Application Development in forum SendMail
Replies: 10
Last Post: 02-12-2007, 02:53 PM
-
By Application Development in forum SendMail
Replies: 1
Last Post: 01-24-2007, 09:28 AM
-
By Application Development in forum SendMail
Replies: 6
Last Post: 12-21-2006, 03:27 PM