4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop + LDAP : Wro...
FromSent OnAttachments
Watchara KangkunSep 4, 2008 1:09 am 
Sam VarshavchikSep 4, 2008 4:03 am 
Watchara KangkunSep 4, 2008 7:56 pm 
Watchara KangkunSep 4, 2008 8:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Maildrop + LDAP : Wrong home directory and mailboxActions...
From:Watchara Kangkun (watc@gmail.com)
Date:Sep 4, 2008 7:56:24 pm
List:net.sourceforge.lists.courier-maildrop

Hi Daniel,

i check with postmap it OK

i think it is problem about vmail account, vmail always use vmail's home directory

Thank You Wachara Kangkun

2008/9/4 <dlud@alphyra.de>

Hi,

how did You setup virtual_mailbox_base and especially virtual_mailbox_maps in Postfix' main.cf ?

Here's an example: ... virtual_mailbox_base = /home/vmail

virtual_mailbox_maps = ldap:ldapvirtual_mailboxes ldapvirtual_mailboxes_server_host = 127.0.0.1 ldapvirtual_mailboxes_protocol_version = 3 ldapvirtual_mailboxes_bind_dn = uid=postfix,ou=xyz,dc=abc,dc=com ldapvirtual_mailboxes_bind_pw = ************ ldapvirtual_mailboxes_search_base = ou=userdb,dc=xyz,dc=com ldapvirtual_mailboxes_scope = one ldapvirtual_mailboxes_query_filter = (&(mail=%s)(accountStatus=active)) ldapvirtual_mailboxes_result_attribute = uid ldapvirtual_mailboxes_result_filter = %s/Maildir/

Try to check with postmap: # postmap -q "us@domain.com" ldap:ldapvirtual_mailboxes user/Maildir/

This command should return "homedirectory/Maildir/", which resides in the virtual_mailbox_base (/home/vmail).

I hope that helps !

Bye Daniel

------------------------------------------------------------------------ alphyra GmbH Antoniusstr. 2, D-54290 Trier Tel.: +49 651 9662 0 Fax.: +49 651 9662 199

http://www.alphyra.de

Eingetragen beim Amtsgericht Wittlich 14 HRB 4459 Geschäftsführer: Matthias Schneider, John Nagle, John Williamson