-   Linux - Software (
-   -   Mail delivered to /home/user/Maildir instead of /var/mail/vdomain/vuser/Maildir (

snowweb 08-11-2012 08:31 AM

Mail delivered to /home/user/Maildir instead of /var/mail/vdomain/vuser/Maildir
I've instructed Postfix to use dovecot transport with the following line in /etc/postfix/

virtual_transport = dovecot
but it is still delivered to /home/user/Maildir.

Can someone tell me what I'm doing wrong please?

Here is my dovecot -n

# OS: Linux 2.6.32-279.2.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) ext4
auth_mechanisms = cram-md5
disable_plaintext_auth = no
last_valid_gid = 1000
mail_gid = 502
mail_location = maildir:/var/mail/%d/%n/Maildir
mail_uid = 501
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/users
  driver = passwd-file
ssl = no
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
verbose_proctitle = yes

Here is the contents of /etc/dovecot/users

Many thanks,


dkm999 08-16-2012 10:59 PM

You don't need to use virtual_transport to specify the interface with Dovecot. By default, dovecot will look for mail in /home/{user}/Maildir. If you want to specify that Postfix should deliver mail to some other folder, you can use Postfix's virtual_mailbox facilities(see this page). Then you will also need to tell Dovecot to look for mail in some place other than the default location; for that configuration, see this page

All times are GMT -5. The time now is 07:17 AM.