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: Beast (beastldap.or.id)
Date: Wed Mar 01 2006 - 03:15:52 CST


Beast wrote:
> Magnus Bäck wrote:
>
>>
>> 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
>
>
> virtual_mailbox_base = /
>
> vmailbox:
> userexample.com /home/vmail/user
>
>
> Isn't that "/" + "/home/vmail/user" = "//home/vmail/user", ist that ok
> with postfix?

I guess its ok.

>
>> add the final slash to the lookup result if you want maildir delivery.
>>
>
> Unlike sql, ldap query wouldn't allow us to add that trailing slash, cmiiw.
>

I can use:
query_filter = (mail=%s)
result_attribute = homeDirectory
result_format = %s/

Many thanks!

--

--beast
sum.ldap.or.id/blog