1

Topic: Need some advise on creating mailing list with LDAP

Hi All,

Need some advise on creating mailing list with LDAP. I followed the steps in http://www.iredmail.org/wiki/index.php? … pLDAPadmin to create the list as well as the user added to the group. However I try to send a test mail out from an external domain to the mail list, it is rejected with the error "554 5.7.1 <sysadmin@domain>: Recipient address rejected: Not Authorized.;"

Key LDAP details,
- Under ou=groups,
accesspolicy: open
accountstatus: active
cn: sysadmin
enabledservice: mail
enabledservice: deliver
enabledservice: displayedInGlobalAddressBook
hasmember: yes
mail: sysadmin@<domain>
objectclass: mailList
objectclass: top

- Under ou=Users
memberofgroup: sysadmin@<domain>

Thanks,
Ryan

----

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

2

Re: Need some advise on creating mailing list with LDAP

majere wrote:

it is rejected with the error "554 5.7.1 <sysadmin@domain>: Recipient address rejected: Not Authorized.;"

It's rejected by iRedAPD, a postfix policy daemon.

majere wrote:

- Under ou=groups,
accesspolicy: open

You should use accesspolicy: public instead of open.

All available access policies are listed here:
http://www.iredmail.org/wiki/index.php? … D/OpenLDAP

With iRedAdmin-Pro (Features), you can easily manage mail deliver restrictions with one click like below.
http://screenshots.iredmail.googlecode.com/hg/iredadmin/maillist_profile_general.png

3

Re: Need some advise on creating mailing list with LDAP

Hi Zhang,

Thanks for the advise. Managed to get it working. I guess, I did not read the documents in depth.

Best Regards,
Ryan

ZhangHuangbin wrote:
majere wrote:

it is rejected with the error "554 5.7.1 <sysadmin@domain>: Recipient address rejected: Not Authorized.;"

It's rejected by iRedAPD, a postfix policy daemon.

majere wrote:

- Under ou=groups,
accesspolicy: open

You should use accesspolicy: public instead of open.

All available access policies are listed here:
http://www.iredmail.org/wiki/index.php? … D/OpenLDAP

With iRedAdmin-Pro (Features), you can easily manage mail deliver restrictions with one click like below.
http://screenshots.iredmail.googlecode.com/hg/iredadmin/maillist_profile_general.png