2014-09-22 21:47:49 -05:00
|
|
|
# LDAP: Add a mail alias account
|
|
|
|
|
2015-08-13 19:51:29 -05:00
|
|
|
[TOC]
|
|
|
|
|
2014-10-13 05:03:19 -05:00
|
|
|
## Add mail alias with iRedAdmin-Pro
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2014-10-13 05:03:19 -05:00
|
|
|
With iRedAdmin-Pro, please click menu in main navigation bar: `Add -> Mail Alias'.
|
|
|
|
Screenshot:
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2017-10-28 00:38:13 -05:00
|
|
|
![](./images/iredadmin/alias_create.png)
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2014-10-13 05:03:19 -05:00
|
|
|
## Add mail alias with phpLDAPadmin
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2014-10-13 05:03:19 -05:00
|
|
|
* Log into phpLDAPadmin as LDAP root dn `cn=Manager` or `cn=vmailadmin`.
|
|
|
|
* Expand LDAP tree in left panel, click `Create new entry here` under
|
|
|
|
`ou=Aliases` of your domain, and select `Default` in right panel.
|
|
|
|
* Select object class `mailAlias` in right panel.
|
|
|
|
* Input required fields of mail alias account.
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2014-10-13 05:03:19 -05:00
|
|
|
__WARNING__: Attribute `enabledService` requires two values: `mail`, `deliver`.
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2014-10-13 05:03:19 -05:00
|
|
|
* Confirm to create.
|
|
|
|
* Add missing value for attribute `enabledService`: `mail`, `deliver`.
|
2014-11-29 00:12:36 -06:00
|
|
|
* Add new attribute `accountStatus` with value `active`. This is required.
|
2014-10-13 05:03:19 -05:00
|
|
|
* Add alias members (full email address) in attribute `mailForwardingAddress`.
|
|
|
|
You can add as many members as you want.
|
2016-08-03 23:31:48 -05:00
|
|
|
|
|
|
|
Full LDIF data of a sample mail alias account:
|
|
|
|
|
|
|
|
```
|
|
|
|
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
|
|
|
|
```
|