On 20/07/2011 09:12, Erik - versatel wrote:
I use virtual users and virtual domains
My virtual_mailbox_base = /var/mail/vhosts
My virtual_mailbox_maps = hash:/etc/postfix/vmailbox
home_mailbox = Maildir/
In etc/postfix/vmailbox
u...@example.com example.com/user
In this case my mail is not delivered - I get a message user is dir
not file
When I change this into:
In etc/postfix/vmailbox
u...@example.com example.com/user/
My mail is now delivered at /var/mail/vhosts/example.com/user
and not to /var/mail/vhosts/example.com/user/Maildir
When i want the mail delivered to
/var/mail/vhosts/example.com/user/Maildir
I have to change the file vmailbox to:
In etc/postfix/vmailbox
u...@example.com example.com/user/Maildir/
I expected that if you choose for a kind of Mailbox, this would also
be for virtual users.
I expected it to work with the first option, without the /
(u...@example.com example.com/user)
I should think this is logical.
Is this a bug ???
I want my mail delivered at /var/mail/vhosts/example.com/user/Maildir
Thanks
Erik
home_mailbox only applies with local users (ie. non virtual ones).
I think you need to specify the "Maildir/" prefix for each virtual user
you will hande:
/etc/postfix/vmailbox:
u...@example.com example.com/user/Maildir/
--
Antoine Nguyen
Modoboa developer
http://modoboa.org