Hi there, 

 If I turn off chroot for smpt then postfix cannot access the milter
using the fully qualified path name and if I turn on chroot, then
postfix can access the socket using the chrooted value. Server is Debian
6 running with Postfix 2.9.3-2.1~bpo60+1. 

Values running smpd in default chroot environment, and smtp chroots to
/var/spool/postfix. 

 smtpd_milters = unix:/spamass/spamass.sock 

Values running smtp in non-chroot environment, 

 smtpd_milters = unix:/var/spool/postfix/spamass/spamass.sock 

Error message is this: 

 Nov 12 13:37:08 lt postfix/smtpd[30776]: warning: connect to Milter
service unix:/var/spool/postfix/spamass/spamass.sock: No such file or
directory

Files and directories were present and rw for postfix user, 

 # ls -ld /var/spool/postfix/spamass/spamass.sock
 srw-rw---- 1 postfix postfix 0 Nov 11 15:08
/var/spool/postfix/spamass/spamass.sock 

 # ls -ld /var/spool/postfix/spamass/
 drwxr-xr-x 2 spamass-milter root 1024 Nov 11 15:08
/var/spool/postfix/spamass/

The milter works perfectly well and responded correctly, and the milter
is spamass-milter. 

I'd be very grateful for some tips. 

Thanks, Si 

Reply via email to