On 05/11/2024 13:52, Damian wrote:
You defined a policy bank ORIGINATING but did not tell Amavis when to
use it. A similar snippet is described in [1], where in addition to the
policy bank definition, there is an interface_policy assignment for a
dedicated inet_socket_port. You can use this port for a content_filter
declaration in master.cf's submission service.
[1] https://www.ijs.si/software/amavisd/amavisd-new-docs.html
Thanks very much. I had tried adding "-o
content_filter=smtp-amavis:[127.0.0.1]:10024" to master.cf but only
reloaded postfix. I removed it when it didn't work.
Now re-adding it and restarting rather than reloading postfix works.
Nick