I have installed AMAVISD as per the Wiki on a new sx install on Cent OS 5.
All went well except i am getting an error when I start Sendmail that the socket can't be found. And then in the logs when i mail it sayign that its unsafe. I am assuming this is a perms issue.
Starting Sendmail
Code: Select all
[root@lion amavis]# sudo service sendmail restart
Shutting down sm-client: [ OK ]
Shutting down sendmail: [FAILED]
Starting sendmail: WARNING: XMilter-amavis: local socket name /var/amavis/amavisd-milter.sock' missing
[ OK ]
Starting sm-client: [ OK ]
Sendmail Logs
Code: Select all
May 29 09:22:37 lion sendmail[16750]: m4SNMbHp016750: Milter (Milter-amavis): local socket name /var/amavis/amavisd-milter.sock' unsafe
May 29 09:22:37 lion sendmail[16750]: m4SNMbHp016750: Milter (Milter-amavis): to error state
ls -la /var/smavisd/
Code: Select all
[root@lion amavis]# ls -la /var/amavis/
total 72
drwxr-x--- 6 amavis amavis 4096 May 29 10:11 .
drwxr-xr-x 27 root root 4096 May 28 03:09 ..
-rw-r----- 1 amavis amavis 0 May 28 23:47 amavisd.lock
-rw-r--r-- 1 amavis amavis 5 May 28 23:48 amavisd-milter.pid
srwxr-xr-x 1 amavis amavis 0 May 28 23:48 amavisd-milter.sock
-rw-r----- 1 amavis amavis 5 May 28 23:47 amavisd.pid
drwxr-x--- 2 amavis amavis 4096 May 28 23:47 db
drwx------ 2 amavis amavis 4096 May 28 23:47 .spamassassin
drwxr-x--- 2 amavis amavis 4096 Mar 14 06:29 tmp
drwxr-x--- 2 amavis amavis 4096 Mar 14 06:29 var