[Dovecot] postfix and dovecot - no emails in new folder

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Nov 25 09:49:27 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 22 Nov 2013, Don Hill wrote:

> Yes. I am logged in as root and performing a ls -la /var/vmail/domain I see 
> the following
>
> folder - user - This file actually contains the emails sent to the account
>
> folder - user at domain.tld - and in the Maildir folder I see the following
>  cd into user at domain.tld/Maildir
>  ls
>  cur
>  dovecot-uidlist
>  dovecot-uidvalidity
>  dovecot-uidvalidity.528f6c45
>  dovecot.index.log
>  new
>  tmp

So postfix and Dovecot disagree about the mail storage of the accounts, 
either:

1) reconfigure postfix to deliver message to Maildir in
/var/vmail/domain/user at domain.tld, or

2) reconfigure postfix to use Dovecot LDA or LMTP, or

3) reconfigure Dovecot to use mbox:/var/vmail/domain/user as INBOX, but 
/var/vmail/domain/user at domain.tld/Maildir for mail home.

>
>> Steffen Kaiser <mailto:skdovecot at smail.inf.fh-brs.de>
>> November 22, 2013 8:36 AM
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> On Thu, 21 Nov 2013, Don Hill wrote:
>> 
>> 
>> Are you sure, postfix delivers to the maildir of Dovecot? I would 
>> reconfigure Postfix to use Dovecot LDA or LMTP.
>> 
>> - -- Steffen Kaiser
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> 
>> iQEVAwUBUo9r2V3r2wJMiz2NAQIouggAxi89bQaDsGiLOfT/DwDWEwpM6M7LjwPS
>> koNcmgn1DAsm3OGhwn57dvrA3uvs7ot8gt25iwca/kf4XKHzKdWWnbWq3LO0oME+
>> EWREF6NJOs5OUXhd26sUpw09QxCITP2gg1hl34j0MwTRMdJyycl5BAg3jrK1A9Ji
>> 5U0MhMXaKd+7P6BBbe47+PnQR4Rfy+fLdjKy1E0wSnP/xsrx/tK0FeSF9Ewf0FMJ
>> FuFj8M5HQiixNrfjUATBnoVtvdWkjtI2ttU427Mm0ESHHkzPTdz3GlX/FWT7DZhH
>> SsILyGgTXojcGXXP5vMluqxQmjscfMoBGrcuXpP7QlK8zNwgYZZMxA==
>> =Dxa6
>> -----END PGP SIGNATURE-----
>> Don Hill <mailto:dhill.novell at gmail.com>
>> November 21, 2013 8:59 PM
>> Hi.
>> 
>> I am working on setting up  Dovecot v2.0.9 and postfix  2.6.6 on centos 
>> 6.4. I have postfix configured with dovecot using virtual users. Everything 
>> seems to be working with the exception of no emails being delivered to the 
>> Maildir/new folder. If I touch a file into that folder then the file gets 
>> delivered to the email client using imap.
>> 
>> I can also send email from the client with no problems. In fact if I look 
>> at the logs postfix says the email was delivered to the mailbox.
>>
>>  postfix/virtual[27270]: 8652F35C38A8: to=<user at domain.tld>, relay=virtual, 
>> delay=0.11, delays=0.1/0.01/0/0, dsn=2.0.0, status=sent (delivered to 
>> mailbox)$
>> 
>> Here is my dovecot -n output
>> 
>> *doveconf: Warning: NOTE: You can get a new clean config file with: 
>> doveconf -n > dovecot-new.conf**
>> **doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:85: 
>> protocol { ssl_listen } has been replaced by service { inet_listener { 
>> address } }**
>> **# OS: Linux 2.6.32-042stab079.6 x86_64 CentOS release 6.4 (Final) 
>> reiserfs**
>> **auth_mechanisms = plain login**
>> **default_login_user = vmail**
>> **first_valid_gid = 5000**
>> **first_valid_uid = 5000**
>> **listen = ***
>> **mail_access_groups = vmail**
>> **mail_location = maildir:/var/vmail/%d/%u/Maildir**
>> **mbox_write_locks = fcntl**
>> **passdb {**
>> **  args = scheme=SHA1 /etc/dovecot/passwd**
>> **  driver = passwd-file**
>> **}**
>> **protocols = imap pop3**
>> **service auth {**
>> **  unix_listener auth-client {**
>> **    group = postfix**
>> **    mode = 0660**
>> **    user = postfix**
>> **  }**
>> **  user = root**
>> **}**
>> **service imap-login {**
>> **  inet_listener imaps {**
>> **    address = ***
>> **  }**
>> **  process_min_avail = 1**
>> **  user = vmail**
>> **}**
>> **service pop3-login {**
>> **  inet_listener pop3s {**
>> **    address = ***
>> **  }**
>> **}**
>> **ssl_cert = </etc/pki/dovecot/certs/dovecot.pem**
>> **ssl_key = </etc/pki/dovecot/private/dovecot.pem**
>> **userdb {**
>> **  args = uid=5000  gid=5000 home=/var/vmail/%d/%u allow_all_users=yes**
>> **  driver = static**
>> **}*
>> 
>> 
>> Any thoughts?
>

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUpMBB13r2wJMiz2NAQIaWggArtX/+f+RDztDv7u/By5JCQlpsctV83LS
EI69ZiYIFVbHlr8XH1ZDXF9ORbSmU2QJCcYGBwwrpam6X2SdiPD/NkQxwr5pFW01
6AwPRN7pHlJ0nFHwH6OwdP4BCezn3kHUSVdHBHBVMniOVBDou8QUCNrMiSYOHq5z
11AvrshM4fvzes08cuwZ2nJDPiZvf7vDpa7S1bFJR4fi02KBY8a41XwTkqOh8uDL
J7hnpdPKmskmrZdNpjL5cacVMcLUexKLiJ6+viGx+uMcA817fm1LQ7sebg0PHm9u
NHAJup15oChQvrG5qnYyH0GdW+tGXxUtOFlXApuIXtXsUh757mrvpg==
=LZKd
-----END PGP SIGNATURE-----


More information about the dovecot mailing list