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 8:01:36 pm
List:net.sourceforge.lists.courier-maildrop

Hi Sam,

I have only one version of maildrop it is 2.0.4

i think it is vmail account problem, when i use vmail account use maildrop , it always use vmail account home directory. i don't know why, But when i use root account use maildrop, it change home directory to homeDirectory (LDAP user home directory) and default to user/Maildir

Can you help me? please.

2008/9/4 Sam Varshavchik <mrs@courier-mta.com>

Watchara Kangkun writes:

HI,

I use Postfix + Courier-Maildrop + OpenLDAP + Ubuntu 8.04 Server I use "The Book of POSTFIX" guide me . on Chapter 19 "A Company mail server"

I don't know how to correct home directory from LDAP when i use root account for maildrop mailer@Postfix:~$ sudo maildrop -V 9 -d <URL:mailto:watc@npt.com> watc@npt.com maildrop: authlib: groupid=1001 maildrop: authlib: userid=1001 maildrop: authlib: logname=<URL:mailto:watc@npt.com>watc@npt.com, home=/home/vmail/<URL:http://npt.com/>npt.com/, mail=watchara/Maildir maildrop: Changing to /home/vmail/<URL:http://npt.com/>npt.com/ TEST From Root Message start at 0 bytes, envelope sender=<URL:mailto:watc@npt.com> watc@npt.com maildrop: Attempting .mailfilter maildrop: Delivery complete. mailer@Postfix:~$

But when i use vmail account to use maildrop, it wrong home directory it not use home directory from LDAP but it use home directory of vmail account mailer@Postfix:~$ sudo su - vmail vmail@Postfix:~$ maildrop -V 9 -d <URL:mailto:watc@npt.com> watc@npt.com maildrop: authlib: groupid=1001 maildrop: authlib: userid=1001 maildrop: authlib: logname=<URL:mailto:watc@npt.com>watc@npt.com, home=/home/vmail/<URL:http://npt.com/>npt.com/, mail=watchara/Maildir maildrop: Changing to /home/vmail TEST Message start at 0 bytes, envelope sender=vmail maildrop: Attempting .mailfilter maildrop: Delivery complete. vmail@Postfix:~$

see in "maildrop: Changing to /home/vmail" is wrong home directory How to fixed this problem ?

Check your path. You probably have two versions of maildrop installed in your path.