OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Migrating from /etc/passwd to LDAP in-site

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Oct 01 2007 - 10:30:45 CDT


On Mon, Oct 01, 2007 at 04:20:50AM -0400, Maykel Moya wrote:

> I have a server with a ton of local users. Nobody has local access
> granted, just mail delivery. I'm in process of migrate them to LDAP with
> the implication of make them virtual instead of local users.
>
> Due to some constrains I should make the migration in-site. I have been
> thinking in configuring Postfix to lookup first users in LDAP, then in
> local database but it's not clear to me how to accomplish this given
> that one set of users are virtual and the other local.

Use virtual_mailbox_maps via LDAP for the virtual users. See
VIRTUAL_README.

> For local users I have now
> mailbox_command = /usr/local/bin/deliverquota -w 90 ${HOME}/Maildir
>
> The maildir directory will be available in every user's LDAP entry.

Virtual users don't have home directories, how will users access their
email?

> Is VDA the only way to go? I would like to patch the source only as a
> last resort

The VDA patch is only needed for maildir "quota" support. Postfix supports
delivery to maildir directly via virtual(8), or you can use a 3rd party
VDA such as "maildrop", via the pipe(8) delivery agent.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.