A little background: I'm using the postfix aliases file as a sort of "whitelist" filter for spam. All the aliases refer to a username that I have never given out. It's sorta the 'master' destination for my e-mail. Key to this scheme is that when I get spam, I look to see which address it came to and delete the alias. Future messages to that address get bounced.
Of course, many spammers don't address the "To:" field correctly, so I was relying on the "Delivered-To:" field that is apparently added by Postfix. However, it seems to report the address _after_ it's been resolved against the alias file. Even in the log file, it reports the resolved address, rather than the original address:
Aug 6 11:42:55 christophermerrill postfix/smtpd[9164]: connect from ms-smtp-02.southeast.rr.com[24.93.67.83]
Aug 6 11:42:55 christophermerrill postfix/smtpd[9164]: EE0DB73B78: client=ms-smtp-02.southeast.rr.com[24.93.67.83]
Aug 6 11:42:56 christophermerrill postfix/cleanup[9165]: EE0DB73B78: message-id=<[EMAIL PROTECTED]>
Aug 6 11:42:56 christophermerrill postfix/nqmgr[9101]: EE0DB73B78: from=<[EMAIL PROTECTED]>, size=981, nrcpt=1 (queue active)
Aug 6 11:42:56 christophermerrill postfix/smtpd[9164]: disconnect from ms-smtp-02.southeast.rr.com[24.93.67.83]
Aug 6 11:42:56 christophermerrill postfix/local[9169]: EE0DB73B78: to=<[EMAIL PROTECTED]>, relay=local, delay=1, status=sent (mailbox)
Does anyone know of a configuration setting to change this behavior? Or any other way to figure out who a message was originally destined for?
TIA, Chris
-- ********************************* Chris Merrill [EMAIL PROTECTED] *********************************
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
