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
2013-Nov-22 14:36 UTC
[Dovecot] postfix and dovecot - no emails in new folder
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 21 Nov 2013, Don Hill wrote:> 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)$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-----