Forgot to CC
-------- Original Message --------
Subject: Re: Mailbox path not used
Date: Wed, 18 Jan 2012 13:40:03 +0200
From: Tolga <to...@ozses.net>
To: Hervé Hénoch <h.hen...@isc84.org>
On 01/18/2012 01:30 PM, Hervé Hénoch wrote:
Thanks for response but I want to keep virtual_mailbox_base =
/mnt/vmail but for one user I want /opt/test
Please do not top post and reply to the list.
Le 18/01/2012 11:27, Tolga a écrit :
On 01/18/2012 11:59 AM, Hervé Hénoch wrote:
Hello
I've a postfix server with LDAP
In main.cf :
home_mailbox = Maildir/
virtual_mailbox_base = /mnt/vmail
virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf
virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf
In ldap-accounts.cf :
query_filter =
(&(objectClass=IscMailAccount)(mail=%s)(mailAccountActive=TRUE))
result_attribute = mailbox
So the drop directory for a user is the attribute mailbox prepended
with "/mnt/vmail". I have putted for a user :
mailbox = /opt/test
But the mails always drop in /mnt/vmail/<domain>/<user without
domain> and not in /opt/test.
I've tried to put opt/test, thinking that all mails will drop in
/mnt/vmail/opt/test for this user : false same thing as preceding.
How can I change a user mail drop directory ?
Regards
virtual_mailbox_base = /opt/test should do it.
Regards,
You may need to alter that user's record in the database table.
Tolga