OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Local recipient table in LDAP problem

From: Aleksandar Vukovic (vualekscg.ac.yu)
Date: Fri Jan 25 2008 - 06:47:54 CST


----- Original Message -----
From: "Reinaldo Carvalho" <reinaldocgmail.com>
To: "Aleksandar Vukovic" <vualekscg.ac.yu>; "Postfix users"
<postfix-userspostfix.org>
Sent: Friday, January 25, 2008 1:27 PM
Subject: Re: Local recipient table in LDAP problem

> >
>> So what do you suggest me to do? I tried with result_attribute = uid
>> earlier and it gave same results (unknown user). I am confused by thing
>> that postmap -q usermydomain.com ldap:/etc/postfix/ldap.cf returns
>> correct data (either only username or full email address depending how
>> i set result_attribute). Does mailbox command (deliver) get mailbox
>> location from postfix when delivering mail or it looks for it on its own
>> (because it's dovecot and it looks into ldap)?
>>
>> Thanks for your help Victor and Reinaldo.
>>
>> Aleksandar
>>
>
> User should exist in the system (shadow/pam-ldap) to use the "local"
> to deliver the mail.
>
> - You can use virtual to use all mailbox with especifc owner (change
> alias_maps to virtual_alias_maps and (e.g.) virtual_uid_maps =
> static:200)
>
> - Other solution is pam - ldap integration.
>
> --
> Reinaldo Carvalho

Yes, I see thing more clearly now :)
Found some howto for this kind of setup so I'll look into it. Its here for
others
http://gentoo-wiki.com/HOWTO_Postfix-LDAP_virtual_users_with_qmail_schema