iredmail-doc/html/ldap.user.mail.forwarding.html

58 lines
2.9 KiB
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>LDAP: User mail forwarding.</title>
<link href="./css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<div id="navigation">
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
// <a href="./index.html">Document Index</a>
</div><h1 id="ldap-user-mail-forwarding">LDAP: User mail forwarding.</h1>
<h2 id="set-mail-forwarding-with-iredadmin-pro">Set mail forwarding with iRedAdmin-Pro</h2>
<p>With iRedAdmin-Pro, you can simply add mail forwarding addresses in user
profile page, under tab <code>Forwarding</code>.</p>
<p>Screenshot:</p>
2014-10-13 05:03:19 -05:00
<p><img alt="" src="../images/iredadmin/user_profile_mail_forwarding.png" /></p>
<h2 id="set-mail-forwarding-with-phpldapadmin">Set mail forwarding with phpLDAPadmin</h2>
<p>To forward emails to other email addresses, you can add value in LDAP attribute
<code>mailForwardingAddress</code> of user object.</p>
<p>For example, if you want to forward all emails sent to <code>user@domain.ltd</code> to
two addresses: <code>forward@domain.ltd</code>, <code>user@gmail.com</code>. Steps:</p>
<ol>
<li>
<p>Login to phpLDAPadmin (https://[your_server]/phpldapadmin ) as LDAP root dn
<code>cn=Manager,dc=xx,dc=xx</code> or 'cn=vmailadmin,dc=xx,dc=xx'.</p>
</li>
<li>
<p>Find the LDAP object of email account which you want to forward emails in
left panel of phpLDAPadmin, click the ldap object, phpLDAPadmin will show you
detailed LDAP attributes/values in right panel.</p>
</li>
<li>
<p>Add a new LDAP attribute <code>mailForwardingAddress</code> to this mail account, set
value to first forwarding address <code>forward@domain.ltd</code>.</p>
</li>
<li>
<p>Repeat step #3, add another email address: <code>user@gmail.com</code>.</p>
</li>
<li>
<p>Save your changes.</p>
</li>
</ol>
<p>Now all emails sent to <code>user@domain.ltd</code> will be forwarded to both
<code>forward@domain.ltd</code> and <code>user@gmail.com</code>.</p>
2014-12-04 07:30:08 -06:00
<p>If you want to save a copy of forwarded email, please add 'user@domain.ltd' as addition value of LDAP attribute 'mailForwardingAddress'.</p><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<!-- Google Analytics -->
2014-10-13 19:28:43 -05:00
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-3293801-14");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body></html>