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" / >
< title > LDAP: Add a mail alias account< / 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-add-a-mail-alias-account" > LDAP: Add a mail alias account< / h1 >
2015-08-13 19:51:29 -05:00
< div class = "toc" >
< ul >
< li > < a href = "#ldap-add-a-mail-alias-account" > LDAP: Add a mail alias account< / a > < ul >
< li > < a href = "#add-mail-alias-with-iredadmin-pro" > Add mail alias with iRedAdmin-Pro< / a > < / li >
< li > < a href = "#add-mail-alias-with-phpldapadmin" > Add mail alias with phpLDAPadmin< / a > < / li >
< / ul >
< / li >
< / ul >
< / div >
2014-10-13 05:03:19 -05:00
< h2 id = "add-mail-alias-with-iredadmin-pro" > Add mail alias with iRedAdmin-Pro< / h2 >
< p > With iRedAdmin-Pro, please click menu in main navigation bar: `Add -> Mail Alias'.
Screenshot:< / p >
< p > < img alt = "" src = "../images/iredadmin/alias_create.png" / > < / p >
< h2 id = "add-mail-alias-with-phpldapadmin" > Add mail alias with phpLDAPadmin< / h2 >
2014-09-30 10:13:21 -05:00
< ul >
2014-10-13 05:03:19 -05:00
< li > Log into phpLDAPadmin as LDAP root dn < code > cn=Manager< / code > or < code > cn=vmailadmin< / code > .< / li >
< li > Expand LDAP tree in left panel, click < code > Create new entry here< / code > under
< code > ou=Aliases< / code > of your domain, and select < code > Default< / code > in right panel.< / li >
< li > Select object class < code > mailAlias< / code > in right panel.< / li >
< li > Input required fields of mail alias account.< / li >
2014-09-30 10:13:21 -05:00
< / ul >
< p > < strong > WARNING< / strong > : Attribute < code > enabledService< / code > requires two values: < code > mail< / code > , < code > deliver< / code > .< / p >
< ul >
2014-10-13 05:03:19 -05:00
< li > Confirm to create.< / li >
< li > Add missing value for attribute < code > enabledService< / code > : < code > mail< / code > , < code > deliver< / code > .< / li >
2014-11-29 00:12:36 -06:00
< li > Add new attribute < code > accountStatus< / code > with value < code > active< / code > . This is required.< / li >
2014-10-13 05:03:19 -05:00
< li > Add alias members (full email address) in attribute < code > mailForwardingAddress< / code > .
You can add as many members as you want.< / li >
2016-08-03 23:31:48 -05:00
< / ul >
< p > Full LDIF data of a sample mail alias account:< / p >
< pre > < code > dn: mail=myalias@mydomain.com,ou=Aliases,domainName=mydomain.com,o=domains,dc=iredmail,dc=org
objectClass: mailAlias
accountStatus: active
cn: Test Name
enabledService: mail
enabledService: deliver
mail: myalias@mydomain.com
mailForwardingAddress: user1@mydomain.com
mailForwardingAddress: someone@gmail.com
mailForwardingAddress: someone@hotmail.com
< / code > < / pre > < div class = "footer" >
2016-05-19 06:51:20 -05:00
< 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 >