diff --git a/TODO.md b/TODO.md index 6fb9cae6..a5f8d5b5 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,6 @@ # TODO -* http://www.iredmail.org/wiki/index.php?title=Addition/OpenLDAP/Catch-all +* http://doc.samplezone.ch/iredmail/ * How to install and configure SOGo groupware * How to install and configure Nginx diff --git a/howto/ldap.add.catch-all.md b/howto/ldap.add.catch-all.md new file mode 100644 index 00000000..9ac98453 --- /dev/null +++ b/howto/ldap.add.catch-all.md @@ -0,0 +1,33 @@ +# LDAP: Add per-domain catch-all account + +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. + +With OpenLDAP backend, you can add an catch-all account for mail domain +`example.com` like below: + +``` +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 +``` + +With above catch-all account, emails sent to non-existing addresses will be +forwarded to both `user_1@example.com` and `user_2@example.com`. + +__NOTE__: With iRedAdmin-Pro, you can manage catch-all account in domain +profile directly. Screenshot attached. + +![](../images/iredadmin/domain_profile_catchall.png) + +## See also + +* [Add per-domain catch-all account for MySQL/MariaDB/PostgreSQL backends](./sql.add.catch-all.html) diff --git a/howto/sql.create.domain.catchall.account.md b/howto/sql.add.catch-all.md similarity index 85% rename from howto/sql.create.domain.catchall.account.md rename to howto/sql.add.catch-all.md index 54f6ccf2..19a2cbf9 100644 --- a/howto/sql.create.domain.catchall.account.md +++ b/howto/sql.add.catch-all.md @@ -1,4 +1,4 @@ -# SQL: Add domain catch-all account +# SQL: Add per-domain catch-all account 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 @@ -22,3 +22,6 @@ profile directly. Screenshot attached. ![](../images/iredadmin/domain_profile_catchall.png) +## See also + +* [Add per-domain catch-all account for OpenLDAP backends](./ldap.add.catch-all.html) diff --git a/html/index.html b/html/index.html index 695178bd..5bb50c6e 100644 --- a/html/index.html +++ b/html/index.html @@ -67,6 +67,7 @@
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.
+With OpenLDAP backend, you can add an catch-all account for mail domain
+example.com
like below:
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
+
+
+With above catch-all account, emails sent to non-existing addresses will be
+forwarded to both user_1@example.com
and user_2@example.com
.
NOTE: With iRedAdmin-Pro, you can manage catch-all account in domain +profile directly. Screenshot attached.
+Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it. +