September 2017 Archives

Fri Sep 15 12:26:12 ICT 2017

Simple static mailing lists with Postfix and LDAP

In CSIM, Posyfix uses LDAP to resolve email aliases. It can also resolve static mailing lists.

Mailing list

A mailing list is an entry in ou=Alias,ou=csim,dc=cs,dc=ait,dc=ac,dc=th. To create a new mailing list you must:

  1. Create a new entry in ou=Alias,ou=csim,dc=cs,dc=ait,dc=ac,dc=th;
  2. Choose the default template and the objectClass groupOfNames;
  3. The RDN must be cn, the cn is the name of the mailing list and one member must be added in the form of uid=username,ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th.

Extrenal members

Because the mailing list is a group of member in LDAP, external email addresses (not @cs.ait.ac.th) must exist and be added in LDAP. Such external email addresses are listed in ou=External,ou=Alias,ou=csim,dc=cs,dc=ait,dc=ac,dc=th. To create a new external email address, you must:

  1. Create a new entry in ou=External,ou=Alias,ou=csim,dc=cs,dc=ait,dc=ac,dc=th;
  2. Choose the default template and the objectClass inetOrgPerson;
  3. The RDN must be cn, the cn and the Email is the external email address and the sn must anything but not be empty (I use the word user);
  4. The external address can then become member of a a mailing list.

Posted by Olivier | Permanent link | File under: administration, ldap, mail