<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Wouldn’t it be simpler to handle this with a firewall rule instead of an alternate port number?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Blueonyx <blueonyx-bounces@mail.blueonyx.it> <b>On Behalf Of </b>Brian Davis<br><b>Sent:</b> Sunday, March 10, 2019 12:10 PM<br><b>To:</b> blueonyx@mail.blueonyx.it<br><b>Subject:</b> [BlueOnyx:22764] Problem fix and potential feature request<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>On my server, I don't allow any incoming mail on port 25 from outside.  I reconfigured mail to only come in on an alternate port in sendmail (we will call it port 2627) but allow connections on port 25 for localhost which keeps the blueonyx admin mail as well as php mailer functioning. My ironport which catches incoming mail and filters it then delivers it to port 2627.  I accomplish this with the following in sendmail.mc<o:p></o:p></p><p>DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')<br>DAEMON_OPTIONS(`Port=2627, Name=MTA')<o:p></o:p></p><p>This would be a great feature to add to the system allowing the admin to specify on which port sendmail listens.<o:p></o:p></p><p>The problem that I'm having at the moment is that after some updates and any reboot, blueonyx checks the sendmail configuration and sees that there isn't a default smtp connection so it adds one.  After it adds one, the process will fail since it tries to connect more than 1 to the socket.  In short, where is the configuration that adds this line so that I can disable that.... or at least give me some further insight on how I can accomplish the same process without breaking the mail on updates / reboots.<o:p></o:p></p><p>Thanks in advance for any insight.<o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div></body></html>