retitle 514749 document properly how to use inet:fooport sockets in /etc/default/spamass-milter and README.Debian tag 514749 - moreinfo unreproducible severity 514749 minor thanks
On Tue, 10 Feb 2009, Don Armstrong wrote: > On Tue, 10 Feb 2009, Nigel Horne wrote: > > # Default, use the nobody user as the default user, ignore messages > > # from localhost > > OPTIONS="-u spamass-milter -i 127.0.0.1 -i 192.168.1.0/8 -i > > 217.157.23.243 -r 8 -I -p inet:10783" > > Using -p inet:10783 and having SOCKET set is nonsensical. > > You need to also have SOCKET="" in your /etc/default/spamass-milter Err, the above is wrong. This should instead be SOCKET="inet:10783" SOCKETMODE="" SOCKETOWNER="" and you should ditch the -p option from your OPTIONS list. This is because the default socket location is set by the init script to be /var/run/spamass/spamass.sock; (or /var/spool/postfix/spamass/spamass.sock on postfix) if you change it to a non-file socket, you need to do a bit of tweaking to make everything work properly, since it's obviously nonsensical to chmod or chown a non-file socket. I've actually never seen a setup with someone using an inet: socket for spamass milter, which is why this isn't documented anywhere. Assuming the above actually works for you (it should), I'll add the documentation when I get a chance. Don Armstrong -- Cheop's Law: Nothing ever gets built on schedule or within budget. -- Robert Heinlein _Time Enough For Love_ p242 http://www.donarmstrong.com http://rzlab.ucr.edu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org