constant restart

Rick Gutierrez xserverlinux at gmail.com
Mon Aug 26 01:07:17 UTC 2019


El mié., 21 ago. 2019 a las 9:42, Mark Sapiro (<mark at msapiro.net>) escribió:
>

> Clamd should either use a unix socket or a tcp socket, not both.
>
> For a unix socket, clamd.conf should have
>
> LocalSocket /var/run/clamd.scan/clamd.sock
> FixStaleSocket true
> LocalSocketGroup clamscan
> LocalSocketMode 666
>
> and should not define TCPSocket or TCPAddr
>
> and MailScanner should have
>
> Clamd Socket = /var/run/lamd.scan/clamd.sock
>
> For a TCP socket, clamd.conf should have
>
> TCPSocket 3310
> TCPAddr 127.0.0.1
>
> and not define LocalSocket, FixStaleSocket, LocalSocketGroup or
> LocalSocketMode
>
> and MailScanner should have
>
> Clamd Port = 3310
> Clamd Socket = 127.0.0.1
>
> In your case, if you have TCPSocket and TCPAddr defined in clamd.conf, I
> think just removing them may fix the issue.
>

Mark this I will schedule to do my tests, I only have a doubt with
this, when activating by tcp I think it could be slower and you can
feel the impact on large volumes of mail traffic, if I am wrong I hope
I am corrected.


-- 
rickygm

http://gnuforever.homelinux.com


More information about the MailScanner mailing list