From iRedMail
Revision as of 08:50, 22 October 2013 by ZhangHuangbin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Log into your phpLDAPadmin. The default URL is httpS://
  • Expand LDAP tree in left panel, find ou=Groups under your domain dn.
  • Click ou=Groups in left panel, then click Create a child entry in right panel. Screenshot
  • Choose mailList in ObjectClasses list, then click Proceed.
  • Select mail as RDN, fill necessary values of attributes:
accountStatus: active
cn: demolist
enabledService: mail
enabledService: deliver
enabledService: displayedInGlobalAddressBook
objectClass: mailList

Now switch to ou=Users under you domain LDAP dn in left panel.

  • Expand ou=Users in left panel.
  • Find user account which you want to assign to new mail list we created above.
  • Click user account in left panel.
  • If attribute memberOfGroup exists in right panel:
    • click Add value under it and fill mail address of our new mail list. For example:
    • Click Update Object to save settings.
  • If attribute memberOfGroup' doesn't exist in right panel:
    • Click Add new attribute in right panel
    • Choose memberOfGroup in drop-down list.
    • Fill mail address of our new mail list.
    • Click Update Object to save settings.

You can add as many memberOfGroup=xxx as you want, which means this user is assigned to many mail lists.

Here's sample to add external users as mail list members:

accountstatus: active
enabledservice: mail
enabledservice: deliver
objectclass: mailExternalUser

IMPORTANT NOTE: If you don't have any mail list member, Postfix will report error like below:

Aug  1 15:45:42 mail postfix/smtpd[6024]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1
<>: Recipient address rejected: User unknown in virtual mailbox table; from=<>
 to=<> proto=ESMTP helo=<[]>

Note: You can restrict who can send email to this mailing list by adding LDAP attribute "accessPolicy". For example:

accesspolicy: domain

Available access policies are listed here (public, domain, subdomain, membersOnly, moderatorsOnly, memebersAndModeratorsOnly):

Personal tools