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: Costin Gusa <costinel_at_nospam>
Date: Wed Oct 13 2010 - 06:53:02 GMT
To: Postfix users <postfix-users@postfix.org>

On Wed, Oct 13, 2010 at 03:12, Wietse Venema <wietse@porcupine.org> wrote:
> Costin Gusa:
>> for example: I don't want the text "helo command rejected" to be
>> prepended to my custom "REJECT internal code 123"
>
> Postfix will "reveal" both the name and the value of the element
> (client, helo, sender, recipient) that triggers a reject, because
> down over here in the real world, Postfix rules will occasionally
> reject legitimate mail.

I agree.
When that case happens, the scenarios is that the sender side (user or
admin) will ALWAYS contact the recipient side (user or admin) and in
the end the recipient's human postmaster will get notified either one
way or another, *regardless* of reject text.

>
> I doubt that it is worthwhile to complicate Postfix source code
> with the output equivalent of the smtpd_command_filter feature,
> but you are welcome to give it a stab.
>
> Wietse
>

Thank you Wietse, now I have the answer to my original question :)

Costin