<html><body><div style="font-family: Helvetica; font-size: 12pt; color: #000000"><div>Rick,<br></div><div><br data-mce-bogus="1"></div><div>Did you disable selinux on CentOS (and reboot)?<br data-mce-bogus="1"></div><div> <!--StartFragment--><div>What is the permission and filetype of the clamd.sock : ls -lah /var/run/clamd.scan/clamd.sock</div></div><div>clamd can be running, but at what port is it listening? netstat -ln<br data-mce-bogus="1"></div><div>Disable your firewall temporary, restart MailScanner and run Mailscanner --lint<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><div>Met vriendelijke groet, Best regards,</div><div><br></div><div><br style="font-family: helvetica;"><span style="font-family: helvetica;">Thom van der Boon</span><br style="font-family: helvetica;"><span style="font-family: helvetica;">E-Mail: thom@vdb.nl</span></div><div><br></div><div><br style="font-family: helvetica;"><br style="font-family: helvetica;"><span style="font-family: helvetica;">=====</span></div><div><br></div><div><br></div><div><br></div><div><span style="font-family: helvetica;">Thom.H. van der Boon b.v.</span><br style="font-family: helvetica;"><span style="font-family: helvetica;"></span><span style="font-family: helvetica;">Transito 4</span></div><div><span style="font-family: helvetica;">6909 DA Babberich<br style="font-family: helvetica;"></span><span style="font-family: helvetica;">Tel.: <a href="tel:+31884272727" target="_blank">+31 (0)88 4272727</a></span><br style="font-family: helvetica;"><span style="font-family: helvetica;">Fax: +31 (0)88 4272789</span><br style="font-family: helvetica;"><span style="font-family: helvetica;">Home Page: http://www.vdb.nl/</span></div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>Van: </b>"Rick Gutierrez" <xserverlinux@gmail.com><br><b>Aan: </b>"MailScanner Discussion" <mailscanner@lists.mailscanner.info><br><b>Verzonden: </b>Woensdag 21 augustus 2019 03:58:05<br><b>Onderwerp: </b>Re: constant restart<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">El mar., 20 ago. 2019 a las 18:15, Mark Sapiro (<mark@msapiro.net>) escribió:<br>><br><br>> This is the issue. Is clamd even running? If so, where is it listening?<br>> The clamd socket path defined in clamd.conf as `LocalSocket` must match<br>> the path defined by `Clamd Socket` in your MailScanner config.<br><br>Hi mark, clamd is running ,<br><br>● clamd@scan.service - Generic clamav scanner daemon<br> Loaded: loaded (/usr/lib/systemd/system/clamd@scan.service;<br>enabled; vendor preset: disabled)<br> Active: active (running) since Tue 2019-08-20 09:03:06 CST; 10h ago<br> Docs: man:clamd(8)<br> man:clamd.conf(5)<br> https://www.clamav.net/documents/<br> Process: 820 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf<br>(code=exited, status=0/SUCCESS)<br> Main PID: 7765 (clamd)<br> CGroup: /system.slice/system-clamd.slice/clamd@scan.service<br> └─7765 /usr/sbin/clamd -c /etc/clamd.d/scan.conf<br><br>Aug 20 18:17:29 clamd[7765]: SelfCheck: Database status OK.<br>Aug 20 18:27:29 clamd[7765]: SelfCheck: Database status OK.<br><br>clamd.conf<br> LocalSocket /var/run/clamd.scan/clamd.sock<br><br>MailScanner.conf<br><br>Clamd Port = 3310<br>Clamd Socket = /var/run/clamd.scan/clamd.sock<br>Clamd Lock File = # /var/lock/subsys/clamd<br>Clamd Use Threads = no<br><br>regards<br><br>-- <br>rickygm<br><br>http://gnuforever.homelinux.com<br><br><br>-- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br></div></div></body></html>