<pclass="admonition-title">This tutorial is available in other languages. <ahref="https://bitbucket.org/zhb/iredmail-docs/src">Help translate more</a></p>
<h1id="allow-internal-network-devices-to-send-email-with-insecure-connection">Allow internal network devices to send email with insecure connection</h1>
<li><ahref="#allow-internal-network-devices-to-send-email-with-insecure-connection">Allow internal network devices to send email with insecure connection</a><ul>
<li><ahref="#purpose">Purpose</a></li>
<li><ahref="#open-additional-smtp-port-in-postfix">Open additional smtp port in Postfix</a></li>
<li><ahref="#update-firewall-rules-to-deny-access-from-external-network">Update firewall rules to deny access from external network</a></li>
</ul>
</li>
</ul>
</div>
<h2id="purpose">Purpose</h2>
<p>If you have some network devices like printer, firewall, and they need to
send out notification or report email with insecure smtp connection, please
try steps below to get it working without breaking default security settings.</p>
<h2id="open-additional-smtp-port-in-postfix">Open additional smtp port in Postfix</h2>
<p>Since iRedMail-0.9.3, with default iRedMail settings, port 25 is used for
postscreen service, all clients are forced to submit through port 587 with
STARTTLS for secure connection.</p>
<p>To support network devices which doesn't support STARTTLS and SSL, we can ask
Postfix to listen on additional port for smtp service by appending below line
in <code>/etc/postfix/master.cf</code> (on Linux/OpenBSD) or
<code>/usr/local/etc/postfix/master.cf</code> (on FreeBSD):</p>
<pstyle="text-align: center; color: grey;">All documents are available in <ahref="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket repository</a>, and published under <ahref="http://creativecommons.org/licenses/by-nd/3.0/us/"target="_blank">Creative Commons</a> license. You can <ahref="https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">download the latest version</a> for offline reading. If you found something wrong, please do <ahref="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p>