<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Domain alias with some users migrated to iRedMail]]></title>
		<link>https://forum.iredmail.org/topic1064-domain-alias-with-some-users-migrated-to-iredmail.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic1064.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Domain alias with some users migrated to iRedMail.]]></description>
		<lastBuildDate>Wed, 14 Jul 2010 23:31:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4632.html#p4632</link>
			<description><![CDATA[<div class="quotebox"><cite>cerics wrote:</cite><blockquote><p>I will have a look at your solution although as my old mail server is not based on LDAP AFAIK,</p></blockquote></div><p>Of course you can use mysql lookup instead. This is just a sample.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 14 Jul 2010 23:31:12 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4632.html#p4632</guid>
		</item>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4631.html#p4631</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>How about this:</p><p>...</p><p>P.S. To be clear, purchasing iRedAdmin-Pro doesn&#039;t means purchasing support for iRedMail.<br />I try my best to response as quick as possible, but i&#039;m not living in this forum, so, please forgive me, and please be gentle.</p></blockquote></div><p>Many many thanks for your reply.<br />I will have a look at your solution although as my old mail server is not based on LDAP AFAIK, i&#039;m not sure if i can use your solution as is but it certainly gave me a a good guidance on where to start.</p><p>And I am sorry for the urgent nature of entries that has been made in previous posts - i did not mean to cause any offence and certainly did not expect you to be looking at the forum 24x7 so for that i apologise. I have certainly had great quick responses from yourself from my previous questions on this forum.</p><p>many thanks again</p>]]></description>
			<author><![CDATA[null@example.com (cerics)]]></author>
			<pubDate>Wed, 14 Jul 2010 20:55:23 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4631.html#p4631</guid>
		</item>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4623.html#p4623</link>
			<description><![CDATA[<p>How about this:</p><p>* Host mydomain on old server<br />* Host mydomain and mydomain2 on iRedMail, mydomain2 is an alias domain of mydomain.<br />* Add necessary accounts on iRedMail server, e.g. myuser.<br />* Add one more lookup file in /etc/postfix/main.cf on iRedMail, query users which stored in old server. e.g.<br /></p><div class="codebox"><pre><code>virtual_mailbox_maps =
    proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf,
    proxy:ldap:/etc/postfix/virtual_mailbox_on_old_server.cf    # &lt;-- add this line.</code></pre></div><p>* Configure /etc/postfix/virtual_mailbox_on_old_server.cf, it should be like /etc/postfix/ldap_virtual_mailbox_maps.cf, for example:<br /></p><div class="codebox"><pre><code>server_host     = x.x.x.x         # This is IP address of your old server.
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = cn=vmail,dc=iredmail,dc=org      # &lt;-- Use bind dn on your old server
bind_pw         = RvIwFtOOLbnwOcvmuT5TtY3nVQw7Uy
search_base     = o=domains,dc=iredmail,dc=org
scope           = sub
query_filter    = (&amp;(objectClass=mailUser)(|(mail=%s)(&amp;(enabledService=shadowaddress)(shadowAddress=%s)))(accountStatus=active)(enabledService=mail)(enabledService=deliver))
result_attribute= mailMessageStore
debuglevel      = 0</code></pre></div><p>Of course you may want to modify more settings in this file.</p><p>* Use &#039;postmap&#039; to test it. for example:<br /></p><div class="codebox"><pre><code># postmap -q &#039;user@domain.ltd&#039; ldap:/etc/postfix/virtual_mailbox_on_old_server.cf</code></pre></div><p>Here, &#039;user@domain.ltd&#039; is one of mail accounts on your old server.</p><p>That&#039;s all.</p><p>P.S. To be clear, purchasing iRedAdmin-Pro doesn&#039;t means purchasing support for iRedMail.<br />I try my best to response as quick as possible, but i&#039;m not living in this forum, so, please forgive me, and please be gentle.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 13 Jul 2010 16:23:29 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4623.html#p4623</guid>
		</item>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4622.html#p4622</link>
			<description><![CDATA[<p>Hello? Is any of the DEVs around? Is posting to this forum best way to get support as &#039;paid&#039; customer?</p>]]></description>
			<author><![CDATA[null@example.com (cerics)]]></author>
			<pubDate>Tue, 13 Jul 2010 15:06:12 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4622.html#p4622</guid>
		</item>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4619.html#p4619</link>
			<description><![CDATA[<p>Would the following achieve what i want to do?</p><p><a href="http://www.iredmail.org/forum/topic334-faq-how-to-relay-your-mails-perdomain-or-peruser-ldap-solution.html">http://www.iredmail.org/forum/topic334- … ution.html</a></p>]]></description>
			<author><![CDATA[null@example.com (cerics)]]></author>
			<pubDate>Mon, 12 Jul 2010 15:14:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4619.html#p4619</guid>
		</item>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4618.html#p4618</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Why not host only mydomain2 on iRedMail?</p></blockquote></div><p>Hi - thanks for getting back to me</p><p>i did think about that but was not sure if iRedMail allowed you to use both the hosted user name AND shadowAddress to login/fetch mails. i need to have the old domain because eventually its going to be migrated over to new mail server.</p><p>So can iRedMail do this?</p><p>* Just host mydomain2.com on iRedMail and create shadowAddress myuser@mydomain.com (i.e. reverse of what i have set up)<br />* Then migrate myuser@mydomain.com user to new iRedMail server<br />* When myuser@mydomain.com on the NEW iRedMail server logs in and sends email to anotheruser@mydomain.com, would iRedMail work out that to send it to the old mail server and not sending it internally (i suspect not because the hosted domain will be mydomain2.com on iRedMail?)<br />* And the myuser on the new iRedMail can still use the old myuser@mydomain.com to login and fetch mail from iRedMail ? i.e. use the shadowAddress</p><p>Do you follow what i&#039;m trying to do?</p>]]></description>
			<author><![CDATA[null@example.com (cerics)]]></author>
			<pubDate>Mon, 12 Jul 2010 14:35:30 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4618.html#p4618</guid>
		</item>
		<item>
			<title><![CDATA[Re: Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4617.html#p4617</link>
			<description><![CDATA[<p>Why not host only mydomain2 on iRedMail?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 12 Jul 2010 14:10:38 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4617.html#p4617</guid>
		</item>
		<item>
			<title><![CDATA[Domain alias with some users migrated to iRedMail]]></title>
			<link>https://forum.iredmail.org/post4616.html#p4616</link>
			<description><![CDATA[<p>Hello</p><p>I have domain alias + shadowAddress setup on iRedMail so together with mails going to old mail server and being forwarded to the iRedMail to be delivered to the new mail server.</p><p>i.e.</p><p>* old mail server - domain mail.mydomain.com with user myuser@mydomain.com -&gt; this user has alias setup to send any mails to myuser@mydomain2.com</p><p>* new mail server (iRedMail) - domain mail.mydomain.com with user myuser@mydomain.com and shadowAddress of myuser@mydomain2.com</p><p>MX record for mydomain still pointing to old server<br />MX record for mydomain2 pointing to iRedMail server</p><p>What i have noticed is when myuser sends email out to any other user to the mydomain.com on iRedMail, they get &#039;no virtual mailbox&#039; error since i assume it knows because iRedMail has the mydomain.com domain, it is not consulting the mx record but sending it internally. (correct me if i am wrong)</p><p>But what i would like to do is iRedMail to still send mails to mydomain.com to the old mailserver while i migrate the mail box/MX record etc</p><p>can this be done?</p><p>thanks in advance</p>]]></description>
			<author><![CDATA[null@example.com (cerics)]]></author>
			<pubDate>Mon, 12 Jul 2010 13:59:44 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4616.html#p4616</guid>
		</item>
	</channel>
</rss>
