Postfix, milter before queue und der reject

sebastian at debianfan.de sebastian at debianfan.de
Mo Feb 21 05:54:11 CET 2022


Moin,

# postconf | grep version
mail_version = 3.5.6


Dann wäre "= reject" hier die Lösung?

gruß

Sebastian


Am 21.02.2022 um 04:12 schrieb Klaus Tachtler:
> Hallo Sebastian,
> 
> ja, Dein
>> milter_default_action = accept
> ist das Problem:
> 
> The milter_default_action[http://www.postfix.org/postconf.5.html#milter_default_action] parameter specifies how Postfix handles Milter application errors. The default action is to respond with a temporary error status, so that the client will try again later.
> 
> Specify "accept" if you want to receive mail as if the filter does not exist, and "reject" to reject mail with a permanent status.
> 
> The "quarantine" action is like "accept" but freezes the message in the "hold" queue[http://www.postfix.org/QSHAPE_README.html#hold_queue], and is available with Postfix 2.6 or later.
> 
> /etc/postfix/main.cf[http://www.postfix.org/postconf.5.html]:
>      # What to do in case of errors? Specify accept, reject, tempfail,
>      # or quarantine (Postfix 2.6 or later).
>      milter_default_action[http://www.postfix.org/postconf.5.html#milter_default_action] = tempfail
> 
> See "Different settings for different Milter applications[http://www.postfix.org/MILTER_README.html#per-milter]" for advanced configuration options.
> 
> 
> Grüße
> Klaus.
> 


Mehr Informationen über die Mailingliste Postfixbuch-users