How to specify different policies for different unix sockets?

Patrick Ben Koetter p at
Sat Apr 16 08:45:11 CEST 2016

Why not use the MILER sockets?

* Hamy <pernovana-amavis at>:
> Hi, i would like to use unix socket instead of inet in amavisd for postfix to communicate with it and then secure it by setting appropriate permissions. However, i dot not want to disable the default AM.PDP-SOCK policy which is required for amavisd-release and maybe other scripts(and amavisd-milter) to work. also i might need to have multiple smtp unix sockets in future with different set of policy banks applied to them.How can one do so? it's easily possibly to do that with inet ports, but what about unix sockets?
> PS: just to show I've done my research before asking, i have found 2 related topics:
> 1- approach basically replaces the built-in defined socket and can only be done for one instance of unix socket.
> 2- is exactly my question. unfortunately, it's left an answered.
> Any help would be greatly appropriated.
> Best Regards,

[*] sys4 AG, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

More information about the amavis-users mailing list