On Wed, 8 Feb 2017 15:27:21 +0100 <[email protected]> wrote:
> Dear Sébastien Ducoulombier,
>
> thanks for you work on debugging this problem, I will try to keep you up
> to date on the package.
>
> Kind regards
> Harald Jenny
>
>
This is the patch I've applied to my systems in order to make it work reliably.
--- /etc/init.d/amavisd-milter 2012-05-27 15:52:17.000000000 +0200
+++ amavisd-milter 2017-08-28 09:54:30.389833265 +0200
@@ -82,6 +82,12 @@
log_end_msg 0
if [ "$MILTERSOCKETTYPE" = "pipe" ]; then
if [ "$MILTERSOCKETOWNER" ]; then
+ for i in `seq 0 30`; do
+ if [ -f "$MILTERSOCKET" ] ; then
+ break;
+ fi
+ sleep 0.1
+ done
chown "$MILTERSOCKETOWNER" "$MILTERSOCKET"
fi
if [ "$MILTERSOCKETMODE" ]; then
*Simone Lazzaris*
*Qcom S.p.A.*
[email protected][1] | www.qcom.it[2]
* LinkedIn[3]* | *Facebook[4]*
[5]
--------
[1] mailto:[email protected]
[2] https://www.qcom.it
[3] https://www.linkedin.com/company/qcom-spa
[4] http://www.facebook.com/qcomspa
[5] https://www.qcom.it/includes/email-banner.gif