Skip to contentSkip to conversation

Checking envelope From for recipient delimiter

DISCUSSION Mads Martin Joergensen 3 participants 9 messages Aug 19, 2004 – Aug 22, 2004

lore
Share & tools
lore
#0 lore raw

Hey together,

One of the mlmmj users had an incident with a completely horrible bounce from Lotus Notes.

They bounced to listname+bounces-... in envelope From but had a different address in To:. Since they've configured the list to not require the listaddress in the To: or Cc: header, the bounce ended up on the list.

So I wondered if any of the people on this list (I know there's quite some wizard sysadmins subscribed :) could see any problem in sending the mail to listcontrol in case envelope From contains a recipient delimiter, and in such case completely ignore what's in To: and only work on the envelope From from there on?

In the case envelope From doesn't contain a recipient delimiter, but the
To: does, I'll also send it on to listcontrol.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.
#1 lore raw
Quoted 7 lines · Mads Martin Joergensen

Hey together,

One of the mlmmj users had an incident with a completely horrible bounce from Lotus Notes.

They bounced to listname+bounces-... in envelope From but had a different address in To:.

I don't understand this sentence at all. envelope From and To are usually different?!

Quoted 9 lines

Since they've configured the list to not
require the listaddress in the To: or Cc: header, the bounce ended up on the list.

So I wondered if any of the people on this list (I know there's quite some wizard sysadmins subscribed :) could see any problem in sending the mail to listcontrol in case envelope From contains a recipient delimiter, and in such case completely ignore what's in To: and only work on the envelope From from there on?

Do you mean "....in case envelope To " meaning RCPT TO: " contains..."? Isn't this what is done already? No mail handling software should ever use the information in the DATA section. I've seen several Domino systems acting as remailers on mailing lists because they look at DATA To:, so maybe it's standard procedure on those systems, but sane systems shouldn't look at DATA

#2 lore raw
In reply to Mads Martin Joergensen
Quoted 8 lines · Anders Johansson
Quoted 5 lines

One of the mlmmj users had an incident with a completely horrible bounce from Lotus Notes.

They bounced to listname+bounces-... in envelope From but had a different address in To:.

I don't understand this sentence at all. envelope From and To are usually different?!

They are, but usually when a mailserver bounces something, it uses the RCPT TO: as To: as well.

Quoted 10 lines
Quoted 9 lines

Since they've configured the list to not
require the listaddress in the To: or Cc: header, the bounce ended up on the list.

So I wondered if any of the people on this list (I know there's quite some wizard sysadmins subscribed :) could see any problem in sending the mail to listcontrol in case envelope From contains a recipient delimiter, and in such case completely ignore what's in To: and only work on the envelope From from there on?

Quoted 5 lines

Do you mean "....in case envelope To " meaning RCPT TO: " contains..."? Isn't this what is done already? No mail handling software should ever use the information in the DATA section. I've seen several Domino systems acting as remailers on mailing lists because they look at DATA To:, so maybe it's standard procedure on those systems, but sane systems shouldn't look at DATA

Sane systems use the RCPT TO: as the user specified in To: right? That's why it newer was an issue.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.
#3 lore raw
In reply to Mads Martin Joergensen
Quoted 1 line · Mads Martin Joergensen

Sane systems use the RCPT TO: as the user specified in To: right?

Terminology moment: by RCPT TO: we mean the envelope recipient. By To: we mean the header inside the data segment. Just to be clear

No, the To: is (or should be) irrelevant. For example, if you set up an alias and send a mail to that alias, To: will be the alias, RCPT TO: will be the real address. e.g.

my_cross_posting: [email protected], [email protected], [email protected]

Sending a mail to my_cross_posting will produce a mail with "my_cross_posting" in To:, but the respective list addresses in each RCPT TO:

Please don't use DATA information for anything important, it's just plain text

#4 lore raw
In reply to Mads Martin Joergensen
Quoted 4 lines · * Mads Martin Joergensen ([email protected]) [040819 05:13]:

They bounced to listname+bounces-... in envelope From but had a different address in To:. Since they've configured the list to not require the listaddress in the To: or Cc: header, the bounce ended up on the list.

I think bouncing to header addresses is normal behavior for Lotus although it is configurable.

ezmlm just silently drops any mail with a null sender.

Signature · 1 line
-ckm
#5 lore raw
In reply to Mads Martin Joergensen
Quoted 6 lines · Anders Johansson

Sending a mail to my_cross_posting will produce a mail with "my_cross_posting" in To:, but the respective list addresses in each RCPT TO:

Please don't use DATA information for anything important, it's just plain text

So what do you suggest to use as the most reliable way of getting the RCPT TO: out of a mail, when the To: in the body cannot be used?

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.
#6 lore raw
In reply to Mads Martin Joergensen
Quoted 2 lines · Mads Martin Joergensen

So what do you suggest to use as the most reliable way of getting the RCPT TO: out of a mail, when the To: in the body cannot be used?

I don't think there is a standard for it. Both postfix and qmail will add a "Delivered-To" header with the envelope recipient. sendmail will not, unless you coax it (http://www.sendmail.org/faq/section3.html#3.29). I suspect real cross-platform is out the window on this one, unless someone else knows better

#7 lore raw
In reply to Mads Martin Joergensen
Quoted 10 lines · Anders Johansson
Quoted 2 lines · Mads Martin Joergensen

So what do you suggest to use as the most reliable way of getting the RCPT TO: out of a mail, when the To: in the body cannot be used?

I don't think there is a standard for it. Both postfix and qmail will add a "Delivered-To" header with the envelope recipient. sendmail will not, unless you coax it
(http://www.sendmail.org/faq/section3.html#3.29). I suspect real cross-platform is out the window on this one, unless someone else knows better

That's what I was afraid of.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.
#8 lore raw
In reply to Mads Martin Joergensen
Quoted 4 lines · Mads Martin Joergensen
Quoted 4 lines · Mads Martin Joergensen
Quoted 2 lines

So what do you suggest to use as the most reliable way of getting the RCPT TO: out of a mail, when the To: in the body cannot be used?

Quoted 8 lines
Quoted 6 lines

I don't think there is a standard for it. Both postfix and qmail will add a "Delivered-To" header with the envelope recipient. sendmail will not, unless you coax it
(http://www.sendmail.org/faq/section3.html#3.29). I suspect real cross-platform is out the window on this one, unless someone else knows better

That's what I was afraid of.

I've now made mlmmj use Delivered-To: if it's available.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.