<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Enable SMTP Port 587 on Exim	</title>
	<atom:link href="https://logs.paulooi.com/enable-smtp-port-587-on-exim.php/feed" rel="self" type="application/rss+xml" />
	<link>https://logs.paulooi.com/enable-smtp-port-587-on-exim.php</link>
	<description>Systems Admin, Web Development and etc</description>
	<lastBuildDate>Sun, 25 Sep 2022 20:18:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Benedict Arnold		</title>
		<link>https://logs.paulooi.com/enable-smtp-port-587-on-exim.php/comment-page-1#comment-120070</link>

		<dc:creator><![CDATA[Benedict Arnold]]></dc:creator>
		<pubDate>Sun, 25 Sep 2022 20:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://systems.takizo.com/?p=924#comment-120070</guid>

					<description><![CDATA[IT seems that most people do not want to answer this question (perhaps because they do not know the answer) and go into a long diatribe of whataboutery and their arguments about why you should not even attempt to do this.

After much searching I found the answer on the &quot;nerwbies&quot; site and on checking the official Exim4 documentation confirmed  hat the answer provided was correct.  The problem with the Exim4 documetnation is that you have to know at least part of the answer before you have some hope of finding the full answer in the relevant section where it is buried with hundreds of other options.

So in order to set the outgoing port for Exim4 to talk to another mail transport agent, the appropriate TRANSPORT has to be used and configured.

This TRANSPORT will use the SMTP drtiver.  The SMTP driver by default uses port 25 of course, but the port directive can be used to chage from the default.

Obviously in the earlier ROUTER section of the configuration you will filter the messages which need to go to the remote mail transport agent on the desired port with your choice of transport name &quot;label&quot; eg  &quot;delivery_to_remote_mta&quot; or something more specific if you wish.  Also note that it is in the ROUTER section where you specify the remote mail transport agent host name (or IP, but not the connection port to use) in the route_list directive. 

So putting that altogether

transport  delivery_to_remote_mta
                driver = smtp
               port      = 487

Other directives can be supplied to lookup authentication password if required,  remove local header lines if you wish, retwrite header fields if required (so that addresses used are not local ones but are valid for Internet use and if the remote mail transport agent enforces them, uses addersses with the remote transport agent domain name (an anti-spam measure by some ISPs).

The appropriate chapter is the official Exim4 documentation is

                                      Chapter 30 - The smtp transport

(sometimes the chapter number changes when the exim4 version changes because of more sections being added earlier in the manual)

Note that smtp is not the actual &quot;label&quot; name of the transport but the transport type,  determined by which driver the transport uses.]]></description>
			<content:encoded><![CDATA[<p>IT seems that most people do not want to answer this question (perhaps because they do not know the answer) and go into a long diatribe of whataboutery and their arguments about why you should not even attempt to do this.</p>
<p>After much searching I found the answer on the &#8220;nerwbies&#8221; site and on checking the official Exim4 documentation confirmed  hat the answer provided was correct.  The problem with the Exim4 documetnation is that you have to know at least part of the answer before you have some hope of finding the full answer in the relevant section where it is buried with hundreds of other options.</p>
<p>So in order to set the outgoing port for Exim4 to talk to another mail transport agent, the appropriate TRANSPORT has to be used and configured.</p>
<p>This TRANSPORT will use the SMTP drtiver.  The SMTP driver by default uses port 25 of course, but the port directive can be used to chage from the default.</p>
<p>Obviously in the earlier ROUTER section of the configuration you will filter the messages which need to go to the remote mail transport agent on the desired port with your choice of transport name &#8220;label&#8221; eg  &#8220;delivery_to_remote_mta&#8221; or something more specific if you wish.  Also note that it is in the ROUTER section where you specify the remote mail transport agent host name (or IP, but not the connection port to use) in the route_list directive. </p>
<p>So putting that altogether</p>
<p>transport  delivery_to_remote_mta<br />
                driver = smtp<br />
               port      = 487</p>
<p>Other directives can be supplied to lookup authentication password if required,  remove local header lines if you wish, retwrite header fields if required (so that addresses used are not local ones but are valid for Internet use and if the remote mail transport agent enforces them, uses addersses with the remote transport agent domain name (an anti-spam measure by some ISPs).</p>
<p>The appropriate chapter is the official Exim4 documentation is</p>
<p>                                      Chapter 30 &#8211; The smtp transport</p>
<p>(sometimes the chapter number changes when the exim4 version changes because of more sections being added earlier in the manual)</p>
<p>Note that smtp is not the actual &#8220;label&#8221; name of the transport but the transport type,  determined by which driver the transport uses.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob		</title>
		<link>https://logs.paulooi.com/enable-smtp-port-587-on-exim.php/comment-page-1#comment-114847</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Tue, 22 Jun 2021 21:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://systems.takizo.com/?p=924#comment-114847</guid>

					<description><![CDATA[This only enables INcoming connections to Exim on port 587.

How to force Exim to use port 587, instead of port 25, when Exim itself needs to connect to another smtp server?]]></description>
			<content:encoded><![CDATA[<p>This only enables INcoming connections to Exim on port 587.</p>
<p>How to force Exim to use port 587, instead of port 25, when Exim itself needs to connect to another smtp server?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
