On Monday, Dec 1, 2003, at 15:37 US/Eastern, Phillip Hutchings wrote:
Some idiot is using my server as a forwarding address for all their
spam. The problem with this is the message's To: is wrong, and as I use
a catch-all domain I don't know the actual account.
Short of breaking up in to separate accounts, is there any way to determine which address the email was actually sent to?
The Delivered-To: header.
I see it, and I'm using one of the recent versions, I think it's a couple of months old, but yes, this shows the account delivered to, not the envelope's MAIL TO, which I need to catch for this.
I have a similar setup as you. Because I needed to get the Delivered-To header, I couldn't use the alias functionality. Instead use a filtering instruction in aliasdir. My <systemdir>/aliasdir/.courier-default has one line like "| preline maildrop -d bayer", where bayer is the user I want all mail sent to. If only want this to work for one domain, I can't help you there. Perhaps this isn't well supported. I wish it was simpler, like Delivered-To was left intact using your message of catchall aliases. I remember at one point in my email history, I was looking at Received headers, not Delivered-To. Perhaps you should have a look at those.
Hope that helps.
-- \\ Devin Bayer <[EMAIL PROTECTED]> \\ WWW: http://elektrono.com || AIM: akvadrako
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
