X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fspamass-milter.init;h=5396f649e208fa3a2871d7c937369ed5d1dd10ab;hb=7f10213481e01376dce070edbbf81c66b47ac796;hp=deb05e685b1442224f90c0096fd3c8edc635ebef;hpb=1ed1f959b64dbcef0fadee59e7fed79bf642fe0f;p=deb_pkgs%2Fspamass-milter.git diff --git a/debian/spamass-milter.init b/debian/spamass-milter.init index deb05e6..5396f64 100644 --- a/debian/spamass-milter.init +++ b/debian/spamass-milter.init @@ -44,6 +44,14 @@ CHUID="" test -x $DAEMON || exit 0 +# If /usr/sbin/postfix exists, set up the defaults for a postfix install +# These can be overridden in /etc/default/spamass-milter +if [ -x /usr/sbin/posfix ]; then + SOCKET="/var/spool/postfix/spamass/spamass.sock" + RUNAS="postfix:postfix" + PIDFILE="/var/spool/postfix/spamass/spamass.pid" +fi; + if [ -r $DEFAULT ]; then . $DEFAULT; fi;