On Sun, 08 Oct 2006, Zach Sadecki wrote:
> There are some basic incompatibility problems between the socket that 
> the spamass-milter startup script creates and what is needed for use 
> with Postfix.  First of all, Postfix runs chrooted, so the socket must 
> be under its queue directory (/var/spool/postfix) to be accessible. 
> Second, ownership and permissions prevent Postfix from using the socket, 
> as it runs as user 'postfix' and the socket is owned by root with 644 
> permissions.
> 
> my hack to make this work on my system was to change $SOCKET in 
> /etc/init.d/spamass-milter to /var/spool/postfix/var/run/spamass.sock 
> and to add 'chown postfix $SOCKET' in the start/restart routine.

I've changed the way that this is done now; you can easily set SOCKET
in /etc/default/spamass-milter, and I've added an RUNAS option there
as well, which you can use to change the user that spamass-milter is
running as.

Can you check the debs on
http://archimedes.ucr.edu/ss/spamass-milter_0.3.1-3_i386.deb to make
sure that they resolve the issues for postfix users?


Don Armstrong
 
-- 
Certainly the game is rigged. Don't let that stop you. If you don't
bet, you can't win.
 -- Robert Heinlein _Time Enough For Love_ p240

http://www.donarmstrong.com              http://rzlab.ucr.edu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to