Package: spamass-milter
Version: 0.3.2-1
I have configured "/etc/default/spamass-milter" to use an inet socket
instead of a file socket:
SOCKET="inet:10030@localhost"
However, the init script does not seem to know anything about inet sockets
and instead handles all sockets like files, leading to error messages like:
$ sudo /etc/init.d/spamass-milter start
Starting Sendmail milter plugin for SpamAssassin: chown: cannot access
`inet:10030@localhost': No such file or directory
That happens because the checks within the init script do not handle inet
sockets at all, e.g. have a look at the stop() function:
stop(){
start-stop-daemon --oknodo --stop -p $PIDFILE --signal 3 --exec $DAEMON
/bin/sleep 5s
/bin/rm -f $SOCKET
/bin/rm -f $PIDFILE
}
Instead the init script has to check if a file socket or an inet socket is
used and has to handle the SOCKET parameter accordingly.