Michael Scheidell wrote: > On 5/31/10 8:12 AM, Per Jessen wrote: >> I have just this morning come across an interesting issue (SA 3.2.5). >> I was trying to blacklist a From: address using 'blacklist_from', but >> it wasn't working. I took a closer look at the email, and noticed: >> >> From: "something or other"< mail...@example.com> >> > Interesting.. the addr part of the email address would be invalid by > RFC standards (the addr part cannot start with a space)
Correct. > just use your MTA to block invalid addresses at the gateway. This is _only_ the From: in the header - AFAIK, the MTA (postfix) doesn't check or even care much about it. > with the MTA blocking it, the sender (if they are really the sender > and not a bot) will get the NDR without the issue of backscatter to > (what address would you bounce it to? %20mail...@example.com ? No, the envelope address is a genuine bounce-<something> from a mass-emailing service. > is this in the header from, the envelope from or both? postfix strips > the %20 (space), and changes the envelope (return-path) to > mail...@example.com so is this just in the header from? Yup. /Per Jessen, Zürich