Ihsan Dogan wrote:
Wietse Venema wrote:
I'm running two spamfilters on two machines, which are accessed with^M
milter. In case of an error (eg: the first milter service is not running),^M
I would like that Postfix wold use the second one on the other host.^M
^M
I was expecting something something like this:^M
smtpd_milters = inet:[127.0.0.1],[1.2.3.4]:41001^M
When you specify multiple milters in smtpd_milters or non_smtpd_milters,
this means that Postfix always use all of them. The syntax is
different than what you have above.
Is such a setup possible with Postfix?^M
Not supported. Eror control is limited to milter_default_action.
I see.
If I specify "milter_default_action = reject" and there is an error with
the milter daemon, Postfix will give a 554. What is then the expected
behavior of the MTA, which just tried to deliver a mail? Will it try to
deliver the mail to the MX with the next higher priority?
Ihsan
If you "reject" on milter failure, the sending MTA should give
up and return the message as undeliverable.
Sounds as if you want to specify
milter_default_action = tempfail
This will ask the sending MTA to retry. The retry details are
controlled by the sending MTA.
http://www.postfix.org/postconf.5.html#milter_default_action
-- Noel Jones