Package: spfmilter
Version: 1.99+0.95

After a fresh installation and the first reboot, the spfmilter does'nt start, if /var/run is on a tmpfs. Reason: the directory /var/run/spfmilter does'nt exists. I attached a patch for spfmilter.init, which creates the directory and set the owner on startup.

Regards
Herbert Straub

--- debian/spfmilter.init.orig  2006-10-11 08:23:25.000000000 +0200
+++ debian/spfmilter.init       2006-10-11 08:03:43.000000000 +0200
@@ -25,6 +25,8 @@
/usr/lib/sendmail -d64.5 -bt </dev/null | grep "milter_set_option(macros.envfrom" | grep "{auth_type}" >/dev/null || \ echo "WARNING: {auth_type} not defined in Milter.macros.envfrom. Please see /usr/share/doc/spfmilter/README.Debian.gz for more information."
        fi
+       [ -d /var/run/spfmilter ] || mkdir /var/run/spfmilter
+       [ -x /var/run/spfmilter ] && chown spfmilter /var/run/spfmilter
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --exec $DAEMON -- \
                --user $USER --pidfile $RUNDIR/$NAME.pid \
~


Reply via email to