postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: hide (do not disclose) reject reason to clien

Re: hide (do not disclose) reject reason to client but log as usual

From: mouss <mouss_at_nospam>
Date: Tue Oct 12 2010 - 21:04:44 GMT
To: Postfix users <postfix-users@postfix.org>

  Le 12/10/2010 12:09, Costin Gusa a écrit :
> Hello,
> I would like to be able to configure smtpd so that a generic smtp
> session reject code to be given without explanation (ex. helo command
> rejected, user unknown, client host rbl, etc) while at the same time
> detail the reject reason in mail.log as usual.
>
> Is this possible?
> Thank you

sure:
.... REJECT we reject you (#code)

where only you know what #code means.

but this is a really bad idea. when I get rejected without a reason I
can work on, I simply blocklist the other side. remember: this story is
about reputation. if you think you can solve your spam problem using
your own measures, don't forget that we too have a problem with spam.
and if you take a measure that might work for you but causes problems
for us, then we'll consider that you're part of the problem.