2016-05-19 06:51:20 -05:00
<!DOCTYPE html>
2015-06-02 23:26:31 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > LDAP: Add per-domain catch-all account< / title >
2015-07-31 23:14:52 -05:00
< link rel = "stylesheet" type = "text/css" href = "./css/markdown.css" / >
2015-06-02 23:26:31 -05:00
< / head >
< body >
2019-07-13 06:21:55 -05:00
2015-06-02 23:26:31 -05:00
< div id = "navigation" >
2017-11-16 21:48:44 -06:00
< a href = "https://www.iredmail.org" target = "_blank" >
2016-04-19 12:48:51 -05:00
< 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-per-domain-catch-all-account" > LDAP: Add per-domain catch-all account< / h1 >
2015-06-02 23:26:31 -05:00
< p > With default setting, iRedMail will reject emails sent to non-existing mail
accounts under hosted mail domains. If you want to accept these emails, you
need a per-domain catch-all account.< / p >
< p > With OpenLDAP backend, you can add an catch-all account for mail domain
< code > example.com< / code > like below:< / p >
< pre > < code > dn: mail=@example.com,ou=Users,domainName=example.com,o=domains,dc=iredmail,dc=org
accountstatus: active
cn: catch-all
mail: @example.com
mailForwardingAddress: user_1@example.com
mailForwardingAddress: user_2@example.com
objectclass: inetOrgPerson
objectclass: mailUser
sn: catch-all
uid: catch-all
< / code > < / pre >
< p > With above catch-all account, emails sent to non-existing addresses will be
forwarded to both < code > user_1@example.com< / code > and < code > user_2@example.com< / code > .< / p >
2021-02-11 08:11:38 -06:00
< p > < strong > NOTES< / strong > :< / p >
< ul >
< li > Address < code > user_1@example.com< / code > and < code > user_2@example.com< / code > must exist.< / li >
< li > With iRedAdmin-Pro, you can manage catch-all account in domain
profile directly. Screenshot attached.< / li >
< / ul >
2017-10-28 00:38:13 -05:00
< p > < img alt = "" src = "./images/iredadmin/domain_profile_catchall.png" / > < / p >
2015-06-02 23:26:31 -05:00
< h2 id = "see-also" > See also< / h2 >
< ul >
< li > < a href = "./sql.add.catch-all.html" > Add per-domain catch-all account for MySQL/MariaDB/PostgreSQL backends< / a > < / li >
2016-05-19 06:51:20 -05:00
< / ul > < div class = "footer" >
2019-12-31 00:07:48 -06:00
< p style = "text-align: center; color: grey;" > All documents are available in < a href = "https://github.com/iredmail/docs/" > GitHub 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://github.com/iredmail/docs/archive/master.zip" > download the latest version< / a > for offline reading. If you found something wrong, please do < a href = "https://www.iredmail.org/contact.html" > contact us< / a > to fix it.< / p >
2021-07-11 23:36:15 -05:00
< / div > < / body > < / html >