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


--
Hervé Hénoch
Responsable informatique
Institut Sainte Catherine
1750, chemin du Lavarin, 84000 Avignon
Téléphone : 04.90.27.57.44
Messagerie : h.hen...@isc84.org


Reply via email to