<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — smtp outbound bind to specific IP address]]></title>
		<link>http://www.iredmail.org/forum/topic150-smtp-outbound-bind-to-specific-ip-address.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic150.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in smtp outbound bind to specific IP address.]]></description>
		<lastBuildDate>Sun, 02 Aug 2009 03:03:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: smtp outbound bind to specific IP address]]></title>
			<link>http://www.iredmail.org/forum/post772.html#p772</link>
			<description><![CDATA[<p>I don&#039;t have the same env, so suggest to post to amavisd-new mail list.<br />Join the mail list first: <a href="https://lists.sourceforge.net/lists/listinfo/amavis-user">https://lists.sourceforge.net/lists/lis … mavis-user</a><br />and post to: amavis-user(AT)lists.sourceforge.net</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 02 Aug 2009 03:03:27 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post772.html#p772</guid>
		</item>
		<item>
			<title><![CDATA[Re: smtp outbound bind to specific IP address]]></title>
			<link>http://www.iredmail.org/forum/post771.html#p771</link>
			<description><![CDATA[<p>Ok.. I&#039;m still lost on this...</p><p>The post from the link above states the following.</p><div class="codebox"><pre><code>You need to allow amavisd to accept connections from x.x.x.40/29: 
@inet_acl = qw( 127.0.0.1 [::1] x.x.x.40/29 ); 
and you need amavisd to bind to all interfaces (instead 
of a defaults which binds to a loopback interface only): 
$inet_socket_bind = undef;  # binds to all IP interfaces if undef </code></pre></div><p>Ok I&#039;ve added in the extra ip subnet range in the 50-user file and restarted amavisd, and postfix. Run through some tests and am still getting exactly the same error. </p><p>My top few lines of the 50-user file.</p><div class="codebox"><pre><code>@inet_acl = qw( 127.0.0.1 [::1] 125.xxx.75.xxx ); 
$inet_socket_bind = undef;  # binds to all IP interfaces if undef </code></pre></div><p>Does anyone with a direct example of what needs to be edited and where? or any other advise?</p>]]></description>
			<author><![CDATA[null@example.com (fmcphail)]]></author>
			<pubDate>Sun, 02 Aug 2009 02:39:49 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post771.html#p771</guid>
		</item>
		<item>
			<title><![CDATA[Re: smtp outbound bind to specific IP address]]></title>
			<link>http://www.iredmail.org/forum/post769.html#p769</link>
			<description><![CDATA[<p>Reference: <a href="http://groups.google.com/group/mailing.unix.amavis-user/browse_thread/thread/4c9f0f678a3d1ba2">http://groups.google.com/group/mailing. … 678a3d1ba2</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 01 Aug 2009 09:25:52 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post769.html#p769</guid>
		</item>
		<item>
			<title><![CDATA[smtp outbound bind to specific IP address]]></title>
			<link>http://www.iredmail.org/forum/post768.html#p768</link>
			<description><![CDATA[<p>I&#039;ve run into a wall where I can as a standard with postfix just use the &#039;smtp_bind_address&#039; address directive in the master.cf file to bind all outbound connections to a particular ip address. I&#039;ve found doing this with the iRedmail system produces error in the mail log files.</p><p>E.G.<br />amavis[25487]: (!)DENIED ACCESS from IP XXX.XXX.XXX.XXX, policy bank &#039;&#039;</p><p>If I leave out the bind directive emails flow in and out but postfix delivers email attaching itself to the highest ip address allocated on the server. I however need it to use the first ip address so that it matches our DNS PTR record. </p><p>E.G. <br />Email is currently being delivered outbound on 1.1.1.100, however I need to have it use 1.1.1.50.</p><p>Does anyone have a working solution for this?</p>]]></description>
			<author><![CDATA[null@example.com (fmcphail)]]></author>
			<pubDate>Sat, 01 Aug 2009 08:32:23 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post768.html#p768</guid>
		</item>
	</channel>
</rss>
