<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic197.xml" />
	<updated>2012-05-25T14:37:52Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic197-whats-new-in-iredmail-peruser-shadow-address-in-ldap-solution.html</id>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16075.html#p16075" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>slimwoogi wrote:</cite><blockquote><p>I can login to webmail with both address. But when I login with shadow address, I can&#039;t see global LDAP addresses.</p></blockquote></div><p>This is restricted in Roundcube global address book setting. For example, in /usr/share/apache2/roundcubemail/config/main.inc.php:<br /></p><div class="codebox"><pre><code>// Global LDAP address book.                                                       
\$rcmail_config[&#039;ldap_public&#039;][&quot;ldap_global&quot;] = array(
    ...
    // Search accounts in the same domain.
    ...
    &#039;base_dn&#039;       =&gt; &#039;domainName=%d,o=domains,dc=xxx&#039;,                

    ...</code></pre></div><p>As you can see in base_dn setting, it will search dn of your domain. If you login with shadow address, &#039;%d&#039; in base_dn setting (domainName=%d) will be replaced by the domain part of your email address, but it won&#039;t return any result because this base dn doesn&#039;t exist at all.</p><p>If you want to let users query the whole LDAP directory, try to remove &#039;domainName=%d&#039; in base_dn and restart Apache web server.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-05-25T14:37:52Z</updated>
			<id>http://www.iredmail.org/forum/post16075.html#p16075</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16071.html#p16071" />
			<content type="html"><![CDATA[<p>Hi Zhang,<br />I add new domain alias. And add new shadow address with domain alias added.</p><p>I can login to webmail with both address. But when I login with shadow address, I can&#039;t see global LDAP addresses.</p><br /><p>I&#039;m on Ubuntu 12.04 (IredMail 0.8.0 LDAP backend)</p>]]></content>
			<author>
				<name><![CDATA[slimwoogi]]></name>
				<uri>http://www.iredmail.org/forum/user28177.html</uri>
			</author>
			<updated>2012-05-25T05:13:34Z</updated>
			<id>http://www.iredmail.org/forum/post16071.html#p16071</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post4427.html#p4427" />
			<content type="html"><![CDATA[<p>Already post hotfix for 0.6.0 in forum:<br /><a href="http://www.iredmail.org/forum/topic1023-hotfix-for-060-domain-alias-and-shadow-address-dont-work-ldap.html">http://www.iredmail.org/forum/topic1023 … -ldap.html</a></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-06-25T12:14:52Z</updated>
			<id>http://www.iredmail.org/forum/post4427.html#p4427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post4425.html#p4425" />
			<content type="html"><![CDATA[<p>If you&#039;re using iRedMail-0.6.0, please modify dovecot-ldap.conf first to make Domain Alias and shadow address first:<br /></p><div class="codebox"><pre><code>user_filter     = (&amp;(objectClass=mailUser)(|(mail=%u)(&amp;(enabledService=shadowaddress)(shadowAddress=%u)))(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc))
pass_filter     = (&amp;(objectClass=mailUser)(|(mail=%u)(&amp;(enabledService=shadowaddress)(shadowAddress=%u)))(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc))</code></pre></div><p>This is my mistake in iRedMail-0.6.0. Sorry.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-06-25T12:05:04Z</updated>
			<id>http://www.iredmail.org/forum/post4425.html#p4425</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post4424.html#p4424" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Of course yes, but small modifications (/etc/postfix/ldap_virtual_mailbox_maps.cf, ldap_sender_login_maps.cf, /etc/dovecot-ldap.conf) are required.</p><p>And, you SHOULD host the domains you listed in shadowAddress.</p></blockquote></div><p>Hi Zhang,</p><p>we are currently setting up iRedmail and we need to setup domainalias + shadowAddress outside of the user&#039;s original domain<br />user1@uk.ourdomain.com needs to also receive user1@uk2.ourdomain.com and are having trouble</p><p>apart from domainalias creation &amp; shadowaddress setup is there anything else we need to enable?</p>]]></content>
			<author>
				<name><![CDATA[cerics]]></name>
				<uri>http://www.iredmail.org/forum/user4078.html</uri>
			</author>
			<updated>2010-06-25T11:23:21Z</updated>
			<id>http://www.iredmail.org/forum/post4424.html#p4424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3243.html#p3243" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>web2works wrote:</cite><blockquote><p>I&#039;m a little confused is this the same as a catch all for a domain?</p></blockquote></div><p>No.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-29T01:41:54Z</updated>
			<id>http://www.iredmail.org/forum/post3243.html#p3243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post3238.html#p3238" />
			<content type="html"><![CDATA[<p>I&#039;m a little confused is this the same as a catch all for a domain?</p>]]></content>
			<author>
				<name><![CDATA[web2works]]></name>
				<uri>http://www.iredmail.org/forum/user2175.html</uri>
			</author>
			<updated>2010-03-28T16:56:14Z</updated>
			<id>http://www.iredmail.org/forum/post3238.html#p3238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2863.html#p2863" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Caliban wrote:</cite><blockquote><p>Are there plans to include this in iRedAdmin(-Pro?)</p></blockquote></div><p>Of course yes. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />But not in next release (v1.2.0), hope we can implement it in v1.3.0 or 1.4.0.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-03-03T15:48:21Z</updated>
			<id>http://www.iredmail.org/forum/post2863.html#p2863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2862.html#p2862" />
			<content type="html"><![CDATA[<p>Are there plans to include this in iRedAdmin(-Pro?)</p><p>This would be a very useful feature...</p>]]></content>
			<author>
				<name><![CDATA[Caliban]]></name>
				<uri>http://www.iredmail.org/forum/user191.html</uri>
			</author>
			<updated>2010-03-03T15:45:08Z</updated>
			<id>http://www.iredmail.org/forum/post2862.html#p2862</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post983.html#p983" />
			<content type="html"><![CDATA[<p>Of course yes, but small modifications (/etc/postfix/ldap_virtual_mailbox_maps.cf, ldap_sender_login_maps.cf, /etc/dovecot-ldap.conf) are required.</p><p>And, you SHOULD host the domains you listed in shadowAddress.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-08-28T08:45:15Z</updated>
			<id>http://www.iredmail.org/forum/post983.html#p983</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post982.html#p982" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Could it be that if someone has multiple domains belonging to a mail account from there it can be dealt with?</p><p>For user www@example.com and his email address:</p><p>www@example.com<br />www@mail.example.com<br />www@example2.com<br />www@example3.com</p><p>Sorry for poor English.</p>]]></content>
			<author>
				<name><![CDATA[zolikusz]]></name>
				<uri>http://www.iredmail.org/forum/user224.html</uri>
			</author>
			<updated>2009-08-28T08:34:45Z</updated>
			<id>http://www.iredmail.org/forum/post982.html#p982</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[What's new in iRedMail: per-user Shadow Address in LDAP solution]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post959.html#p959" />
			<content type="html"><![CDATA[<p>Hi, all.</p><p>As you may know, we added a new feature in LDAP solution: per-user Shadow Address.</p><p>Shadow address, hmm, a little confused. In Google App, it is called Nickname.</p><p>What does it used for?</p><p>User can have as many mail addresses as he want. He can use POP3/IMAP/SMTP services with either mail address with same password, and all mails sent to these addresses will be delivered to the same mailbox.</p><p>Let me explain the LDIF structure first:</p><p>For user www@example.com:<br /></p><div class="codebox"><pre><code>dn: mail=www@example.com,ou=Users,domainName=example.com,XXX
mail: www@example.com
shadowAddress: user01@example.com
shadowAddress: user02@example.com
shadowAddress: user03@example.com
userPassword: {SSHA}xxxxxxxx
storageBaseDirectory: /var/vmail/vmail01
mailMessageStore: example.com/w/ww/www/www-2009.08.26.11.16.25/</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-08-26T03:19:27Z</updated>
			<id>http://www.iredmail.org/forum/post959.html#p959</id>
		</entry>
</feed>
