[Dovecot] Dovecot saves mails in "wrong" folder.

Khoroshyy Petro khoroshyy at gmail.com
Tue Mar 6 18:58:55 EET 2012

Hi all
I have installed dovecot 1.2.15 and try to use it together with
offlineimap and gnus.
my problem is that it saves emails into /var/mail/petro instead of ~/Maildir
This is my .dovecot.conf
default_mail_env = maildir:%h/Maildir

And this is my .offlineimaprc
accounts = Gmail
maxsyncaccounts = 1

[Account Gmail]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = IMAP
remotehost = localhost
port = 143
remoteuser = petro

[Repository Remote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = myname at gmail.com
ssl = yes
maxconnections = 1
realdelete = no
folderfilter = lambda foldername: foldername in ['INBOX']


More information about the dovecot mailing list