clamav-milter and Postfix now working after update to clamav-0.95.3

View: New views
2 Messages — Rating Filter:   Alert me  

clamav-milter and Postfix now working after update to clamav-0.95.3

by Jerry-107 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

System: FreeBSD-7.2

I just updated to clamav-0.95.3 on my system. I then realized that
clamav-milter and Postfix were no longer connecting.

</usr/local/etc/postfix/main.cf>
# Enable clamav-milter
milter_default_action = accept
smtpd_milters = unix:/var/run/clamav/clmilter.sock

</var/run/clamav/clmilter.sock>
srwxr-xr-x   1 clamav  wheel     0B Oct 30 10:22 clmilter.sock=

</var/log/maillog>
Oct 30 10:23:26 scorpio postfix/smtpd[1339]: warning: connect to Milter service unix:/var/run/clamav/clmilter.sock: Permission denied

</tmp/clamav-milter.log>
Fri Oct 30 10:22:16 2009 -> +++ Started at Fri Oct 30 10:22:16 2009

I tried doing a complete reboot of the system; however, the problem
continues. I have confirmed that the milter is running. Everything was
working perfectly under version 0.95.2 of clamav. I made absolutely no
other changes.

--
Jerry
gesbbb@...

|::::=======
|::::=======
|===========
|===========
|

"The jig's up, Elman."
"Which jig?"

 Jeff Elman

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Re: clamav-milter and Postfix now working after update to clamav-0.95.3

by Kalpin Erlangga Silaen-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 30, 2009 at 9:37 PM, Jerry <gesbbb@...> wrote:

> System: FreeBSD-7.2
>
> I just updated to clamav-0.95.3 on my system. I then realized that
> clamav-milter and Postfix were no longer connecting.
>
> </usr/local/etc/postfix/main.cf>
> # Enable clamav-milter
> milter_default_action = accept
> smtpd_milters = unix:/var/run/clamav/clmilter.sock
>
> </var/run/clamav/clmilter.sock>
> srwxr-xr-x   1 clamav  wheel     0B Oct 30 10:22 clmilter.sock=
>
> </var/log/maillog>
> Oct 30 10:23:26 scorpio postfix/smtpd[1339]: warning: connect to Milter
> service unix:/var/run/clamav/clmilter.sock: Permission denied
>
> </tmp/clamav-milter.log>
> Fri Oct 30 10:22:16 2009 -> +++ Started at Fri Oct 30 10:22:16 2009
>
> I tried doing a complete reboot of the system; however, the problem
> continues. I have confirmed that the milter is running. Everything was
> working perfectly under version 0.95.2 of clamav. I made absolutely no
> other changes.
>
> --
> Jerry
> gesbbb@...
>
> |::::=======
> |::::=======
> |===========
> |===========
> |
>
> "The jig's up, Elman."
> "Which jig?"
>
>  Jeff Elman
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>

Check the user and group of milter and clamav, make sure they have same
uid/user and this user can run clamav daemon and also can write/overwrite
clam milter socket.

--
Regards,


Kalpin Erlangga Silaen
"Come now, and let us reason together," Says the LORD, "Though your sins are
like scarlet, They shall be as white as snow; Though they are red like
crimson, They shall be as wool.
---
URL: http://www.kalpin.us
YM: kalpinus@...
MSN: kalpinus@...
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml