Last time I wrote about users’ authentication in LDAP directory to allow them receiving and sending e-mails. Now is time to configure Postfix for mail delivery to appropriate mailboxes.
If you compile Postfix themselves, you need to remember to add support for LDAP. My description is based on Ubuntu, so I only need to install postfix-ldap package:
$ sudo -i # apt-get install postfix-ldap
This will add support for ldap: maps in Postfix.
Now we go to Postfix configuration:
# cd /etc/postfix # vi main.cf