Hello,

the attached patch fixes the problem by defining default value of MILTERSOCKET
in init script.

testing locally, this fixes the bug.

--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.
--- amavisd-milter.init.orig	2012-05-27 15:52:17.000000000 +0200
+++ amavisd-milter.init	2019-01-04 15:53:10.507738461 +0100
@@ -48,6 +48,7 @@
 
 if [ -z "$MILTERSOCKET" ]; then
   MILTERSOCKETTYPE=pipe
+  MILTERSOCKET="/var/lib/amavis/amavisd-milter.sock"
 else
   OPTIONS="$OPTIONS -s $MILTERSOCKET"
   if [ "$(echo $MILTERSOCKET | grep ^inet)" ]; then

Reply via email to