Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-11-2012, 07:31 AM   #1
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Rep: Reputation: 0
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,

Old 08-16-2012, 09:59 PM   #2
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
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


dovecot, mail, postfix, transport

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't get Postfix mail boxes from /var/mail to ~/Maildir phillinux Linux - Server 7 08-23-2015 08:41 AM
Changing /var/spool/mail/$USER to ~/Maildir Aardvark Linux - Server 2 06-30-2009 10:32 AM
Error Retrieving Mail from Linux Mail Server: Unable to Scan $HOME/Maildir tmghendi General 0 06-15-2009 07:35 AM
.procmailrc MAILDIR=$HOME/Maildir not working? paulclark Linux - Newbie 4 01-28-2009 07:56 AM
Import Mail from /var/spool/mail (sendmail) to a MailDir Format in Postfix shawnbishop Linux - Software 0 04-06-2006 10:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration