[clamav-users] clamav 0.100.0 - /var/run/clamav/clamav-milter.ctl: No such file or directory

Scott Kitterman debian at kitterman.com
Wed Jul 18 20:44:27 EDT 2018



On July 18, 2018 8:54:36 PM UTC, Maurizio Caloro <mauric at gmx.ch> wrote:
> 
>
>Hello
>
>please i was thinking that i had permission error but if change from
>clamav
>:clamav to postsfix:postfix clamav-milter.ctl
>
>nothing has change to me error < /var/run/clamav/clamav-milter.ctl: No
>such
>file or directory >
>
> 
>
># clamav-milter --v
>
>clamav-milter 0.100.0
>
> 
>
>root at mail:/var/run/clamav# ls -la
>
>srw-rw-rw-  1 postfix postfix   0 Jul 18 22:40 clamav-milter.ctl
>
> 
>
> 
>
>[/etc/clamav/clamav-milter]
>
>MilterSocket /var/run/clamav/clamav-milter.ctl
>
>User postfix
>
>MilterSocketGroup postfix
>
>MilterSocketMode 666
>
> 
>
>[/etc/postfix/main.cf]
>
>milter_protocol = 2
>
>milter_default_action = accept
>
>smtpd_milters = unix:/var/run/clamav/clamav-milter.ctl
>
> 
>
>[mail.log]
>
>mail postfix/smtpd[8940]: warning: connect to Milter service
>unix:/var/run/clamav/clamav-milter.ctl: No such file or directory

Is postfix running in a chroot?  If so, the path needs to be inside the chroot.

Scott K


More information about the clamav-users mailing list