10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Filter some postm...
FromSent OnAttachments
Antonio Di MonacoFeb 21, 2007 1:42 pm 
C. J. MeidlingerFeb 22, 2007 4:24 am 
Antonio Di MonacoFeb 22, 2007 5:44 am 
C. J. MeidlingerFeb 22, 2007 6:28 am 
Gordon MessmerFeb 22, 2007 7:01 am 
Antonio Di MonacoFeb 22, 2007 7:17 am 
Marcin SemeniukFeb 22, 2007 7:27 am 
Otto SolaresFeb 22, 2007 8:18 am 
Gordon MessmerFeb 22, 2007 9:09 am 
Alessandro VeselyFeb 22, 2007 11:22 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Filter some postmaster messagesActions...
From:C. J. Meidlinger (cj@meidlinger.org)
Date:Feb 22, 2007 4:24:44 am
List:net.sourceforge.lists.courier-users

Hi.

I receive a lot of "NOTICE: mail delivery status" for unknown users (cause of spammers). I don't want to remove administrative messages, I need them to monitor my mail server, but I'd like to filter the reason why I receive such messages.

Do I have to write a maildrop filter, or is there a faster way (like a parameter in configuration files)?

Tony,

It sounds like you might be seeing the same problem I had a while back. I'm sure it was due to a misconfiguration on my part, but I did come up with a workaround (and probably still have the misconfiguration).

Anyway, I was accepting mail for a given domain, and assigned a few aliases to that domain but didn't have a generic "@domain.com" entry in my aliases file. To me, it looked like courier was then accepting email for any address at the domain and then it bounced it around a bunch until it ended up in the postmaster inbox as you describe. My workaround was to put...

@domain.com: reject

...in the aliases file. There is no "reject" user, so courier bounces the message at the smtp transaction with an "unknown user" error rather than accepting it.

The missing "@domain.com" alias entry might actually be the original misconfiguration, I need to go back and rtfm myself ;)

I hope this helps.

CJM