<div dir="ltr"><div><div><div>Hi Warwick,<br><br></div>Thanks for your suggestion and support. I'll do follow all steps accordingly. I have one more question that configuring exim-in and exim-out services will not lead to port binding issue ?<br><br></div>As when I setup exim-in and exim-out services, I got error on port conflict, that port 25 is already in use by exim-in.<br><br></div>Could you please suggest some way forward.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 8:08 PM, Warwick Brown <span dir="ltr"><<a href="mailto:Warwick.x.Brown@serco.com" target="_blank">Warwick.x.Brown@serco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div class="m_-7894292889316735725WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sorry Faisal,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">There is good documentation out there already and I don’t have time to re-write it for you. Basically, (1) you need to have an exim config that works before you start, and (2) you need to read the integration guide <a href="https://www.mailscanner.info/exim/" target="_blank">https://www.mailscanner.info/<wbr>exim/</a> to implement the required changes, and then (3) use the scripts I provided before to overcome the fact the documentation doesn’t currently cover systemd configuration.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It is not something you can install out of the box and expect it ‘just-to-work’. You need to have a real feel of what you’re doing and what you’re working with (e.g. strong prior knowledge of Exim and SMTP)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If you don’t have time or the knowledge to do this – then you may want to consider an appliance such as <a href="https://efa-project.org/" target="_blank">https://efa-project.org/</a> which has mailscanner built-in and will just ‘get-you-there’.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Warwick<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Bwarwick.x.brown" target="_blank">mailscanner-bounces+<wbr>warwick.x.brown</a>=<a href="mailto:serco.com@lists.mailscanner.info" target="_blank">serco.com@<wbr>lists.mailscanner.info</a>] <b>On Behalf Of </b>Faisal Naeem<br><b>Sent:</b> 15 January 2017 04:58</span></p><div><div class="h5"><br><b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.<wbr>mailscanner.info</a>><br><b>Subject:</b> Re: MailScanner - RHEL 7 Systemd<u></u><u></u></div></div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Warwick,<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Can you please share step by step instructions to set <b>MailScanner with Exim on CentOS 7</b>........ as I am looking to setup everything from scratch ........ <u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Else, I have no choice to go back with <b>MailScanner with Exim on <span style="color:red">CentOS 6</span> ......... </b>because I am unable to have good tutorials/articles .........on <b>MailScanner with Exim on CentOS 7</b>.<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Sat, Jan 14, 2017 at 1:26 AM, Warwick Brown <<a href="mailto:Warwick.x.Brown@serco.com" target="_blank">Warwick.x.Brown@serco.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Also…running exim from the command-line without the –C /path/to/outbound/exim.conf just delivers from the inbound queue thus bypassing mailscanner altogether.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It may be worth setting a command alias for “exim –C /path/to/outbound/exim.conf” for your convenience.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">warwick</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Bwarwick.x.brown" target="_blank">mailscanner-bounces+<wbr>warwick.x.brown</a>=<a href="mailto:serco.com@lists.mailscanner.info" target="_blank">serco.com@<wbr>lists.mailscanner.info</a>] <b>On Behalf Of </b>Faisal Naeem<br><b>Sent:</b> 13 January 2017 19:36<br><b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.<wbr>mailscanner.info</a>></span><u></u><u></u></p><div><div><p class="MsoNormal"><br><b>Subject:</b> Re: MailScanner - RHEL 7 Systemd<u></u><u></u></p></div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Warwick,<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">I have applied your suggestions, but my outgoing exim is still not delivering emails automatically ........ however, when I push email (exim -M <msg-id>) it gets delivered ........<u></u><u></u></p></div><p class="MsoNormal">Can you guide me on this issue as well .......<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Thu, Jan 12, 2017 at 3:41 PM, Faisal Naeem <<a href="mailto:faisal.telecomm@gmail.com" target="_blank">faisal.telecomm@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><p class="MsoNormal">Hi <span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Warwick</span><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks for pointing my exact issue. I'll try your suggestions.</span><u></u><u></u></p><div><div><p class="MsoNormal"><br>On Thursday, January 12, 2017, Warwick Brown <<a href="mailto:Warwick.x.Brown@serco.com" target="_blank">Warwick.x.Brown@serco.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> MailScanner [<a href="mailto:mailscanner-bounces+warwick.x.brown=serco.com@lists.mailscanner.info" target="_blank">mailto:mailscanner-bounces+<wbr>warwick.x.brown=serco.com@<wbr>lists.mailscanner.info</a>] <b>On Behalf Of </b>Faisal Naeem<br><b>Sent:</b> 12 January 2017 10:05<br><b>To:</b> <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br><b>Subject:</b> Re: MailScanner - RHEL 7 Systemd</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Dear All,<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">I need your support for setting up MailScanner with RHEL 7.2. Your support is highly appreciated for configuring MailScanner system unit to run the service properly along with ExecStart statements for both incoming and outgoing Exim.<u></u><u></u></p></div><div><p class="MsoNormal">Thanks.<u></u><u></u></p></div><div><p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If my hunch is right that you want to know how to start/stop exim from system with a dual daemon setup - try placing these two files to create the “exim-in” and “exim-out” services, and then enable the service like you would any other system service</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"># cat /etc/systemd/system/<a href="http://exim-in.se" target="_blank">exim-in.se</a><wbr>rvice</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[Unit]</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Description=Exim Mail Transport Agent Input Queue</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">After=network.target</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Conflicts=sendmail.service postfix.service exim.service</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[Service]</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">PrivateTmp=true</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Environment=QUEUE=1h</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">EnvironmentFile=-/etc/<wbr>sysconfig/exim</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ExecStartPre=-/usr/libexec/<wbr>exim-gen-cert</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ExecStart=/usr/sbin/exim -bd</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[Install]</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">WantedBy=multi-user.target</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"># cat /etc/systemd/system/exim-out.<wbr>service</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[Unit]</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Description=Exim Mail Transport Agent Output Queue</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">After=network.target</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Conflicts=sendmail.service postfix.service exim.service</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[Service]</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">PrivateTmp=true</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Environment=QUEUE=1m</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">EnvironmentFile=-/etc/<wbr>sysconfig/exim</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ExecStartPre=-/usr/libexec/<wbr>exim-gen-cert</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ExecStart=/usr/sbin/exim -bd -q${QUEUE} -C /etc/exim/exim_out.conf -oP /var/run/exim-out.pid</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[Install]</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">WantedBy=multi-user.target</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">#</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Warwick</span><u></u><u></u></p></div></div></div></div></blockquote></div></div></div></blockquote></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div><p class="MsoNormal"><br>______________________________<wbr>______________________________<wbr>__________<br>This email has been scanned by the Symantec Email Security.cloud service.<br>For more information please visit <a href="http://www.symanteccloud.com" target="_blank">http://www.symanteccloud.com</a><br>______________________________<wbr>______________________________<wbr>__________<u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br><br><br>--<br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br><br><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><br>______________________________<wbr>______________________________<wbr>__________<br>This email has been scanned by the Symantec Email Security.cloud service.<br>For more information please visit <a href="http://www.symanteccloud.com" target="_blank">http://www.symanteccloud.com</a><br>______________________________<wbr>______________________________<wbr>__________<u></u><u></u></p></div></div></div></div><br><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br></blockquote></div><br></div>