<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — General email server question - failover to second ip]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4053.xml" />
	<updated>2012-10-20T16:13:37Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4053-general-email-server-question-failover-to-second-ip.html</id>
		<entry>
			<title type="html"><![CDATA[Re: General email server question - failover to second ip]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18740.html#p18740" />
			<content type="html"><![CDATA[<p>No, both adsl connections are with static ip. So you say I will be OK. I will test it and see the results.<br />Thank you</p>]]></content>
			<author>
				<name><![CDATA[link7722]]></name>
				<uri>http://www.iredmail.org/forum/user9992.html</uri>
			</author>
			<updated>2012-10-20T16:13:37Z</updated>
			<id>http://www.iredmail.org/forum/post18740.html#p18740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: General email server question - failover to second ip]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18735.html#p18735" />
			<content type="html"><![CDATA[<p>If you setup mail server with ADSL connection, i mean, dynamtic IP addresses, you will get many rejections. Most ISPs don&#039;t accept emails sent from dynamtic IP addresses.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-20T14:28:47Z</updated>
			<id>http://www.iredmail.org/forum/post18735.html#p18735</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[General email server question - failover to second ip]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18712.html#p18712" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Linux/BSD distribution name and version: <br />- Related log if you&#039;re reporting an issue: <br />==== <br />The question is not directly related to iredmail but I think that this forum is the best place to post it if I am searching for a reliable answer.<br />The configuration is as follow <br />1 iredmail server<br />2  adsl connections each with a public ip address. Adsl-1 with ip x.x.x.x and Adsl-2 with ip y.y.y.y.<br />A port forward rule to allow incoming smtp traffic - from publi ip x.x.x.x to the private ip of iredmail and a rule to allow outgoing  smtp traffic from iredmail to the Internet configured to use only public ip x.x.x.x.<br />An mx record pointing to public ip x.x.x.x.<br />Now in order to have some kind of failover in case Adsl-1 (x.x.x.x) goes down I thought of doing the following:<br />-- Add a second mx record with a lower priority pointing to Adsl-2(y.y.y.y).<br />-- Add a rule to allow incoming smtp traffic from public ip y.y.y.y to the private ip of iredmail.<br />-- In case Adsl-1 goes down manually change the outgoing smtp rule to use the second public ip (y.y.y.y).<br />I guess that with the above scenario I will be able to receive emails when Adsl-1 fails (normally the sending smtp server will use the second mx y.y.y.y when the first is not responding) but I have doubts about the outgoing smtp traffic - will the receiving smtp server accept my emails coming from ip y.y.y.y?<br />Has anyone tried a similar configuration ?<br />Thank you</p>]]></content>
			<author>
				<name><![CDATA[link7722]]></name>
				<uri>http://www.iredmail.org/forum/user9992.html</uri>
			</author>
			<updated>2012-10-20T09:45:46Z</updated>
			<id>http://www.iredmail.org/forum/post18712.html#p18712</id>
		</entry>
</feed>
