<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — running 2 instances of IRM as internal & external mail server]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic301.xml" />
	<updated>2009-10-07T08:11:01Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic301-running-2-instances-of-irm-as-internal-external-mail-server.html</id>
		<entry>
			<title type="html"><![CDATA[Re: running 2 instances of IRM as internal & external mail server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1380.html#p1380" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>You can try this method:</p><p>- Mark new external server as BACKUP MX in your DNS.<br />- Mark new internal server as PRIMARY MX in your DNS.<br />- [OPTIONAL BUT RECOMMEND] Sync mail accounts which stored in LDAP/MySQL between BACKUP MX &amp; PRIMARY MX, so that BACKUP MX won&#039;t receive spam mails which sent to non-exist users.</p><p>BACKUP MX server will push all mails to PRIMARY MX when it&#039;s online.</p><p>Warning: It seems not all mail servers will contact BACKUP MX to send mails - although most of all will do it.</p></blockquote></div><p>thanks for the suggestion; I was also looking at some postfix guides for primary/backup MX.<br />The problem in my case is that internet connection to the internal server is very poor; if I set it as primary MX, the incoming mails (and spams) will cause bottleneck for the whole internal network.</p><p>Is it possible to fetch all mails from the external server using a single account?</p><p>thanks,<br />Tony</p>]]></content>
			<author>
				<name><![CDATA[tony2]]></name>
				<uri>http://www.iredmail.org/forum/user310.html</uri>
			</author>
			<updated>2009-10-07T08:11:01Z</updated>
			<id>http://www.iredmail.org/forum/post1380.html#p1380</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: running 2 instances of IRM as internal & external mail server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1378.html#p1378" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>And, would you mind share us you iRedMail story in our <a href="http://www.iredmail.org/forum/forum3-success-stories.html">Success Stories</a> forum?</p></blockquote></div><p>done. I also plan to write a short doc describing steps I did to get IRM working with external LDAP (gosa in my case).</p>]]></content>
			<author>
				<name><![CDATA[tony2]]></name>
				<uri>http://www.iredmail.org/forum/user310.html</uri>
			</author>
			<updated>2009-10-07T07:58:50Z</updated>
			<id>http://www.iredmail.org/forum/post1378.html#p1378</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: running 2 instances of IRM as internal & external mail server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1375.html#p1375" />
			<content type="html"><![CDATA[<p>And, would you mind share us you iRedMail story in our <a href="http://www.iredmail.org/forum/forum3-success-stories.html">Success Stories</a> forum?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-10-06T22:52:52Z</updated>
			<id>http://www.iredmail.org/forum/post1375.html#p1375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: running 2 instances of IRM as internal & external mail server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1374.html#p1374" />
			<content type="html"><![CDATA[<p>You can try this method:</p><p>- Mark new external server as BACKUP MX in your DNS.<br />- Mark new internal server as PRIMARY MX in your DNS.<br />- [OPTIONAL BUT RECOMMEND] Sync mail accounts which stored in LDAP/MySQL between BACKUP MX &amp; PRIMARY MX, so that BACKUP MX won&#039;t receive spam mails which sent to non-exist users.</p><p>BACKUP MX server will push all mails to PRIMARY MX when it&#039;s online.</p><p>Warning: It seems not all mail servers will contact BACKUP MX to send mails - although most of all will do it.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-10-06T21:36:36Z</updated>
			<id>http://www.iredmail.org/forum/post1374.html#p1374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[running 2 instances of IRM as internal & external mail server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1373.html#p1373" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I have installed IRM (with an external LDAP server running GOsa, 1 domain only, let&#039;s call it example.com) and all works together very nicely. Now I am trying to do this: install 2 instances of IRM (referring to the same ldap server) as follows:</p><p>- one is external, has good connection to Internet and is always online. This servers as the primary MX for domain example.com</p><p>- one is placed inside the internal network, has slow connection to Internet and is switched on/off on a daily basis. This serves as the internal mail server.</p><p>- each user has email address in form abc@example.com</p><p>- mails from Internet sent to @example.com are accepted and stored on the external server</p><p>- when the internal mail server is on, it keeps pulling mails from the external server, so that mails sent to @example.com are delivered to the internal mail server.</p><p>Can someone please suggest&nbsp; (very roughly) how to achieve the above? </p><p>I think one possible method is to use fetchmail or getmail to fetch mails let&#039;s say each 10min from the external server. But I could not figure out how to fetch all new mails for all users via a single account.</p><p>thanks,<br />Tony</p>]]></content>
			<author>
				<name><![CDATA[tony2]]></name>
				<uri>http://www.iredmail.org/forum/user310.html</uri>
			</author>
			<updated>2009-10-06T20:53:39Z</updated>
			<id>http://www.iredmail.org/forum/post1373.html#p1373</id>
		</entry>
</feed>
