OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix virtual users in ldap, no advantage?

From: Magnus Bäck (magnusdsek.lth.se)
Date: Wed Mar 01 2006 - 00:36:41 CST


On Wednesday, March 01, 2006 at 07:19 CET,
     Beast <beastldap.or.id> wrote:

> Implementing postfix virtual users using ldap --IMO-- has no
> advantage, because some settings should be keept in postfix config
> file (virtual_mailbox_base), while others can be put on ldap
> (virtual_mailbox_maps), but still not in "standard" form (relative
> path and "/" suffix for maildir).
>
> While for some other IMAP/POP3 needs a absolute path of
> "homeDirectory", this will make duplicate attributes in ldap
> and moving user home directory is not as easy as just replacing
> value in homeDirectory attribute.
>
> To be honest, this is not a big issue for me, because I only maintain
> small list of users (<50), but I wonder how others whose maintains
> thousands of users solve this problem?

The result of a virtual_mailbox_maps lookup can be an absolute path
(just set virtual_mailbox_base to "/"), and you can use result_filter to
add the final slash to the lookup result if you want maildir delivery.

--
Magnus Bäck
magnusdsek.lth.se