2016-05-19 06:51:20 -05:00
<!DOCTYPE html>
2014-09-30 10:13:21 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
2015-08-13 19:51:29 -05:00
< title > LDAP: User mail forwarding< / title >
2015-07-31 23:14:52 -05:00
< link rel = "stylesheet" type = "text/css" href = "./css/markdown.css" / >
2014-09-30 10:13:21 -05:00
< / head >
< body >
< div id = "navigation" >
2016-04-19 12:48:51 -05:00
< a href = "/index.html" target = "_blank" >
< img alt = "iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>
< span > iRedMail< / span >
< / a >
2016-02-29 02:15:19 -06:00
// < a href = "./index.html" > Document Index< / a > < / div > < h1 id = "ldap-user-mail-forwarding" > LDAP: User mail forwarding< / h1 >
2015-08-13 19:51:29 -05:00
< div class = "toc" >
< ul >
< li > < a href = "#ldap-user-mail-forwarding" > LDAP: User mail forwarding< / a > < ul >
< li > < a href = "#set-mail-forwarding-with-iredadmin-pro" > Set mail forwarding with iRedAdmin-Pro< / a > < / li >
< li > < a href = "#set-mail-forwarding-with-phpldapadmin" > Set mail forwarding with phpLDAPadmin< / a > < / li >
2015-12-14 23:03:51 -06:00
< li > < a href = "#related-tutorial" > Related tutorial< / a > < / li >
2015-08-13 19:51:29 -05:00
< / ul >
< / li >
< / ul >
< / div >
2014-09-30 10:13:21 -05:00
< 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 >
2016-07-07 19:46:58 -05:00
< p > < img alt = "" src = "../images/iredadmin/user_profile_mail_forwarding.png" width = "1000px" / > < / p >
2014-09-30 10:13:21 -05:00
< 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 >
2015-01-31 04:20:42 -06:00
< p > If you want to save a copy of forwarded email, please add < code > user@domain.ltd< / code > as
2015-12-14 23:03:51 -06:00
additional value of LDAP attribute < code > mailForwardingAddress< / code > .< / p >
< h2 id = "related-tutorial" > Related tutorial< / h2 >
< ul >
< li > < a href = "./sql.user.mail.forwarding.html" > SQL: user mail forwarding< / a > < / li >
2016-05-19 06:51:20 -05:00
< / ul > < div class = "footer" >
< p style = "text-align: center; color: grey;" > All documents are available in < a href = "https://bitbucket.org/zhb/iredmail-docs/src" > BitBucket repository< / a > , and published under < a href = "http://creativecommons.org/licenses/by-nd/3.0/us/" target = "_blank" > Creative Commons< / a > license. You can < a href = "https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2" > download the latest version< / a > for offline reading. If you found something wrong, please do < a href = "http://www.iredmail.org/contact.html" > contact us< / a > to fix it.< / p >
< / div >
< script type = "text/javascript" >
2015-02-05 07:02:53 -06:00
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3293801-21', 'auto');
ga('send', 'pageview');
2014-10-13 19:28:43 -05:00
< / script >
< / body > < / html >