1

Topic: Howto create aliases for forwarding to external users (LDAP backend)

How I can create alias for forwarding messages to one or several users, including external emails?
I've seen a post for creating groups:
http://www.iredmail.org/forum/topic285- … iases.html
That woks, but by using that I can only add users within the domain, not external users.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Howto create aliases for forwarding to external users (LDAP backend)

You need to use objectClass mailAlias and mailForwardingAddress attribute :

dn: mail=list@example.com,ou=Aliases,domainName=example.com,o=hosting,dc=example,dc=com
objectClass: mailAlias
objectClass: top
mail: list@example.com
mailForwardingAddress: user1@free.fr
mailForwardingAddress: user2@gmail.com
mailForwardingAddress: user3@yahoo.fr
accountStatus: active
cn: list
enabledService: deliver
enabledService: displayedInGlobalAddressBook
enabledService: mail