Hello,
I'm running Clamav .98.6 and Postfix 2.9.6-2 on wheezy.
I've noticed ( I think since the last update ) a permissions problem in my logs.
postfix/cleanup[8479]: warning: connect to Milter service unix:/clamav/clamav-milter.ctl: Permission denied
If I increase the permissions of clamav-milter.ctl to 0777 it works but something is changing them back again.
Anyone else got the problem and a solution.
Thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
clamav & postfix problem on wheezy
Re: clamav & postfix problem on wheezy
I'm on jessie, but probably the same applies.
Check in /etc/clamav/clamav-milter.conf and look for "MilterSocketMode", mine is 666 (rw-rw-rw-).
You can also change the group (MilterSocketGroup) so that the postfix user has access to it, but I don't know if that works without issues.
Check in /etc/clamav/clamav-milter.conf and look for "MilterSocketMode", mine is 666 (rw-rw-rw-).
You can also change the group (MilterSocketGroup) so that the postfix user has access to it, but I don't know if that works without issues.
Re: clamav & postfix problem on wheezy
reinob wrote:I'm on jessie, but probably the same applies.
Check in /etc/clamav/clamav-milter.conf and look for "MilterSocketMode", mine is 666 (rw-rw-rw-).
You can also change the group (MilterSocketGroup) so that the postfix user has access to it, but I don't know if that works without issues.
Ah!! thanks so much - I'll change the perm settings in there
Re: clamav & postfix problem on wheezy
connect to Milter service unix:/clamav/clamav-milter.ctl: Permission denied
ls -l /var/spool/postfix/clamav srw-rw---- 1 clamav clamav 0 Apr 4 17:59 clamav-milter.ctl
clamav-milter.conf
user clamav MilterSocketGroup postfix MilterSocketMode 660
user permissions for the milter
chown postfix:postfix /var/spool/postfix/clamav/clamav-milter.ctl
Works for me
ls -l /var/spool/postfix/clamav srw-rw---- 1 clamav clamav 0 Apr 4 17:59 clamav-milter.ctl
clamav-milter.conf
user clamav MilterSocketGroup postfix MilterSocketMode 660
user permissions for the milter
chown postfix:postfix /var/spool/postfix/clamav/clamav-milter.ctl
Works for me
once a geek, forever a geek