LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-11-2012, 08:31 AM   #1
snowweb
Member
 
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/main.cf
Code:
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
Code:
# 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
Code:
peter:{SHA512}AUodPFNKd7SO++EIZlGDv2vItu5c6vGHfnFpJAVcTTP/E2J79YU2xOmXMgMaXmA5DdPApnImoVX1f2oip+lpJQ==
Many thanks,

Peter
 
Old 08-16-2012, 10:59 PM   #2
dkm999
Member
 
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
 
  


Reply

Tags
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 6 06-01-2010 10:48 AM
Changing /var/spool/mail/$USER to ~/Maildir Aardvark Linux - Server 2 06-30-2009 11:32 AM
Error Retrieving Mail from Linux Mail Server: Unable to Scan $HOME/Maildir tmghendi General 0 06-15-2009 08:35 AM
.procmailrc MAILDIR=$HOME/Maildir not working? paulclark Linux - Newbie 4 01-28-2009 08:56 AM
Import Mail from /var/spool/mail (sendmail) to a MailDir Format in Postfix shawnbishop Linux - Software 0 04-06-2006 11:44 AM


All times are GMT -5. The time now is 08:14 PM.

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