# Do not modify Subject:, Content-Type: or body.
#OPTIONS="-m"
-# If you are using postfix, you probably want to uncomment the following
+######################################
+# If /usr/sbin/postfix is executable, the following are set by
+# default. You can override them by uncommenting and changing them
+# here.
+######################################
# SOCKET="/var/spool/postfix/spamass/spamass.sock"
-# RUNAS="postfix"
-# PIDFILE="/var/spool/postfix/spamass/spamass.pid"
\ No newline at end of file
+# RUNAS="postfix:postfix"
+# PIDFILE="/var/spool/postfix/spamass/spamass.pid"
+######################################
\ No newline at end of file
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;