1.
Потрібно створити перенапралення пошти у IredMail для OpenLdap.
For OpenLDAP backend, you can add attribute "mailForwardingAddress" in user object. For example:
dn: mail=user@your_domain.com,ou=Users,domainName=your_domain.com,o=domains,dc=xxx,dc=xxx
mail: user@your_domain.com
mailForwardingAddress: user@external.com
mailForwardingAddress: another@external.com
enabledService: forward
Поради знайшов у
https://gist.github.com/RELATO/0a8f8873063926b69833
https://www.solutioning.eu/2011/06/12/email-forwarding-with-iredmail-and-phpldapadmin-how-to/
2.
For OpenLDAP backend, you can add attribute "mailForwardingAddress" in user object. For example:
dn: mail=user@your_domain.com,ou=Users,domainName=your_domain.com,o=domains,dc=xxx,dc=xxx
mail: user@your_domain.com
mailForwardingAddress: user@external.com
mailForwardingAddress: another@external.com
enabledService: forward
Поради знайшов у
https://gist.github.com/RELATO/0a8f8873063926b69833
https://www.solutioning.eu/2011/06/12/email-forwarding-with-iredmail-and-phpldapadmin-how-to/
2.
Потрібно створити аліас, щоб пошта надіслана на фіктивну адресу приходила на одну чи декілька реальних адрес у IredMail для OpenLdap.
Add mail alias with phpLDAPadminLog 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.
WARNING: Attribute enabledService requires two values: mail, deliver.Confirm to create.
Add missing value for attribute enabledService: mail, deliver.
Add new attribute accountStatus with value active. This is required.
Add alias members (full email address) in attribute mailForwardingAddress. You can add as many members as you want.
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
Пораду знайшов тут
https://docs.iredmail.org/ldap.add.mail.alias.html
Add mail alias with phpLDAPadminLog 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.
WARNING: Attribute enabledService requires two values: mail, deliver.Confirm to create.
Add missing value for attribute enabledService: mail, deliver.
Add new attribute accountStatus with value active. This is required.
Add alias members (full email address) in attribute mailForwardingAddress. You can add as many members as you want.
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
Пораду знайшов тут
https://docs.iredmail.org/ldap.add.mail.alias.html
Коментарі
Дописати коментар