[clamav-users] clamav-milter with sendmail on Fedora 28: init failed to open, to error state, initialization failed, temp failing commands

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Jul 20 09:34:06 EDT 2018


On 17.07.18 15:50, Robert Kudyba wrote:
>An update, I got clamav-milter to run, from the clamav-milter logs:
>
>ps -auwx | grep clam
>clamupd+  2252  0.0  0.0  50740  3832 ?        Ss   Jul11   0:45
>/usr/bin/freshclam -d -c 4
>clamscan 18943  0.0  4.6 1406760 1142296 ?     Ssl  15:34   0:00
>/usr/sbin/clamd -c /etc/clamd.d/scan.conf
>root     19249  0.0  0.0 119104  3080 ?        Ss   15:00   0:00 /bin/bash
>/usr/share/clamav/freshclam-sleep
>clamilt  20686  0.0  0.0 107312   524 ?        Ssl  15:35   0:00
>/usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf
>
>However I still get these errors in sendmail:
>Milter: data, reject=451 4.3.2 Please try again later

the syslog entry should give us more information.

>The sendmail.mc ClamAV line looks like this:
>INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/run/clamav-milter/clamav-milter.socket,F=T,T=S:4m;R:4m;E:10m')dnl

>Some relevant results from clamconf:
>
>ClamdSocket = "unix:/var/run/clamd.scan/clamd.sock"
>MilterSocket = "/var/run/clamav-milter/clamav-milter.socket"

note that both sendmail and clamav-milter need read/write access to the socket as
long as read/execute access to the directory (to access the socket).

>MilterSocketGroup = "virusgroup"

>LocalSocket = "/var/run/clamd.scan/clamd.sock"
>LocalSocketGroup = "clamscan"
>LocalSocketMode disabled


>FixStaleSocket = "yes"
>TCPSocket disabled
>TCPAddr disabled

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm. 


More information about the clamav-users mailing list