<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1460782810317_2599">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.</div><div id="yui_3_16_0_ym19_1_1460782810317_2887" dir="ltr">How can one do so? it's easily possibly to do that with inet ports, but what about unix sockets?</div><div id="yui_3_16_0_ym19_1_1460782810317_2808" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460782810317_2809" dir="ltr">PS: just to show I've done my research before asking, i have found 2 related topics:</div><div id="yui_3_16_0_ym19_1_1460782810317_2888" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460782810317_2886" dir="ltr">1- <a id="yui_3_16_0_ym19_1_1460782810317_2851" href="http://serverfault.com/questions/656367/postfix-amavis-use-unix-soket-for-communication">http://serverfault.com/questions/656367/postfix-amavis-use-unix-soket-for-communication</a></div><div id="yui_3_16_0_ym19_1_1460782810317_2889" dir="ltr">This approach basically replaces the built-in defined socket and can only be done for one instance of unix socket.<br></div><div id="yui_3_16_0_ym19_1_1460782810317_2874" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460782810317_2873" dir="ltr">2- <a id="yui_3_16_0_ym19_1_1460782810317_2908" href="https://lists.amavis.org/pipermail/amavis-users/2015-April/003549.html">https://lists.amavis.org/pipermail/amavis-users/2015-April/003549.html</a></div><div id="yui_3_16_0_ym19_1_1460782810317_3007" dir="ltr">This is exactly my question. unfortunately, it's left an answered.</div><div id="yui_3_16_0_ym19_1_1460782810317_3008" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460782810317_3009" dir="ltr">Any help would be greatly appropriated.</div><div id="yui_3_16_0_ym19_1_1460782810317_3010" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460782810317_3054" dir="ltr">Best Regards,<br></div></div></body></html>