t***@kovarovi.org
2019-04-06 11:16:33 UTC
In my postfix configuration, I am calling a policy service -
smtpd_recipient_restrictions = ... check_policy_service ... ...
If the policy service returns "action 550 bla bla bla", postfix smtpd sends "550 5.7.1 <***@yyy.com>: Recipient address rejected: bla bla bla", which is all right.
Now I have introduced some milters, thus just added these lines to postfix main.cf -
milter_protocol = 6
smtpd_milters = inet:localhost:11032,inet:localhost:13116
non_smtpd_milters = inet:localhost:11032,inet:localhost:13116
The milters are working properly, but now, after receiving the "action 550 bla bla" from the policy service, instead of returning the code 550 to the client, it sends now "450 4.7.1 <***@yyy.com>: Recipient address rejected: bla bla", thus suddenly converts the requested action code 550 to 450.
Removing the milter parameters from the config, the original proper behaviour (sending 550 5.7.1 ...) is restored.
This looks like a bug to me. Is there any possibility to have the proper behaviour even with the milters activated?
Thanks,
--- Tom
smtpd_recipient_restrictions = ... check_policy_service ... ...
If the policy service returns "action 550 bla bla bla", postfix smtpd sends "550 5.7.1 <***@yyy.com>: Recipient address rejected: bla bla bla", which is all right.
Now I have introduced some milters, thus just added these lines to postfix main.cf -
milter_protocol = 6
smtpd_milters = inet:localhost:11032,inet:localhost:13116
non_smtpd_milters = inet:localhost:11032,inet:localhost:13116
The milters are working properly, but now, after receiving the "action 550 bla bla" from the policy service, instead of returning the code 550 to the client, it sends now "450 4.7.1 <***@yyy.com>: Recipient address rejected: bla bla", thus suddenly converts the requested action code 550 to 450.
Removing the milter parameters from the config, the original proper behaviour (sending 550 5.7.1 ...) is restored.
This looks like a bug to me. Is there any possibility to have the proper behaviour even with the milters activated?
Thanks,
--- Tom