On 9/8/2011 2:26 PM, Steve wrote: > On 08/09/2011 19:13, Bowie Bailey wrote: >> Keep in mind that the "To:" header in an email is for decorative >> purposes only and has no relevance at all to where the email is >> delivered. In a normal email, the "To:" header will generally match >> with the destination, but with spam, anything goes. For example, take >> a look at the headers of this message: To: >> users@spamassassin.apache.org but it was delivered to you. > All valid - from the perspective of explaining the behaviour of an > existing system. I realise that the To: line is independent of the > envelope... but, for example, in the context of this message "To:" > users@spamassassin.apache.org, I get a "Received:" header that mentions > that it is "for" the address I used to sign up to this mailing list. > Hence why I had expected the envelope address to be reflected somewhere > in the headers of the delivered message.
Depends on the MTA. With mine (Courier-MTA), alias conversions happen first, so the only address referenced in the headers is the final destination. > In any case, as it turns out, none of this helps me store a single > inbound spam once - rather than duplicate it for each address in the > envelope... which, to my thinking, remains a sane objective... Agreed. Although you would think that a sane MTA would see that all aliases resolve to a single destination and just deliver the message once. -- Bowie