<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi<div class="">I am working on building a MailScanner server using CentOS 7.3</div><div class="">However, I am facing some issues with the mail delivery to this server.</div><div class="">I have used firewall-cmd to allow smtp and smiths into the server, but there are a few things that I cannot seem to find out.</div><div class="">I am using sendmail as my MTA.</div><div class=""><br class=""></div><div class="">In the installation guide it tells me to change the start command for sendmail, but this cannot be done, as the mentioned files are not there. Where should I make this change and is it even needed. The required <a href="http://mqueue.in" class="">mqueue.in</a> directory was already created for me.</div><div class=""><br class=""></div><div class="">I am also having an issue with clamav. I have set the MailScanner.conf to use clamd as the virus scanner, but in the output from systemctl status MailScanner -l, it states that it “<b style="font-family: Menlo; font-size: 11px;" class="">Cannot find Socket (/var/run/clamav/clamd.sock)</b>”</div><div class="">And also “<b style="font-family: Menlo; font-size: 11px;" class="">Virus Scanning: No virus scanners worked, so message batch was abandoned and retried</b>”</div><div class=""><br class=""></div><div class="">These seem like minor issues, but there is one quite big issue that I am facing. I cannot connect on port 25 and deliver mail to this server.</div><div class="">To make sure that it was configured correctly, I tried to use telnet from a local server on the same network and connect on port 25, 587 and 465, but they all state connection refused. Looking at the server that was trying to send a test email, it is also getting connection refused.</div><div class=""><br class=""></div><div class="">Can someone point me to a full step by step guide on how to correctly install and configure MailScanner with Sendmail on CentOS 7</div><div class=""><br class=""></div><div class="">Have great evening</div><div class="">Kenneth</div></body></html>