[Dovecot] Mail being delivered but MUA showing empty inbox
Stan Hoeppner
stan at hardwarefreak.com
Fri Aug 2 11:21:42 EEST 2013
On 8/2/2013 3:07 AM, Nigel Smith wrote:
> Dovecot : 2.0.19 (see config at http://pastebin.com/raw.php?i=KMaQ9Ccc)
> Postfix : 2.9.6 (see config at http://pastebin.com/raw.php?i=EEeevHfk)
>
> I'm trying to get Dovecot and Postfix working on Ubuntu 12.04LTS but am not having much luck.
>
> The problem is that although mail gets delivered to the correct place, however pointing a MUA of any description at Dovecot just yields a purportedly empty inbox !
Probably a namespace issue. The imap daemon is telling you there's not
new mail. So wherever it's looking it sees no mail. So either it's
looking in the wrong place, and the configuration isn't correct. Error
logs will inform you about the latter, 'dovecot -n' about the former.
Show dovecot client connection and error logging, and dovecot -n.
--
Stan
> I will first demonstrate correct delivery of mail, then I will show MUA - domain names changed to protect the innocent !
>
> (1) Mail Delivery
>
> Aug 2 08:57:17 ukc-vm02-mx01 postfix/smtpd[2640]: connect from unknown[192.168.199.198]
> Aug 2 08:57:39 ukc-vm02-mx01 postfix/smtpd[2640]: 76AB04470E: client=unknown[192.168.199.198]
> Aug 2 08:57:47 ukc-vm02-mx01 postfix/cleanup[2644]: 76AB04470E: message-id=<>
> Aug 2 08:57:47 ukc-vm02-mx01 postfix/qmgr[2093]: 76AB04470E: from=<an at example.com>, size=208, nrcpt=1 (queue active)
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192): Debug: none: root=, index=, control=, inbox=, alt=
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192): Connect from local
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192): Debug: auth input: test at ops.example.com uid=1001 gid=1001 home=/srv/mail/ops.example.com/test/./
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192, test at ops.example.com): Debug: Effective uid=1001, gid=1001, home=/srv/mail/ops.example.com/test
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192, test at ops.example.com): Debug: maildir++: root=/srv/mail/ops.example.com/test, index=, control=, inbox=/srv/mail/ops.example.com/test, alt=
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192, test at ops.example.com): ZH9VM3tm+1GQCAAAwf4bjw: msgid=unspecified: saved mail to INBOX
> Aug 2 08:57:47 ukc-vm02-mx01 postfix/lmtp[2645]: 76AB04470E: to=<test at ops.example.com>, relay=ukc-vm02-mx01.ops.example.com[private/dovecot-lmtp], delay=24, delays=24/0.01/0/0.09, dsn=2.0.0, status=sent (250 2.0.0 <test at ops.example.com> ZH9VM3tm+1GQCAAAwf4bjw Saved)
> Aug 2 08:57:47 ukc-vm02-mx01 dovecot: lmtp(2192): Disconnect from local: Client quit (in reset)
> Aug 2 08:57:47 ukc-vm02-mx01 postfix/qmgr[2093]: 76AB04470E: removed
> Aug 2 08:57:48 ukc-vm02-mx01 postfix/smtpd[2640]: disconnect from unknown[192.168.199.198]
>
> The mail is correctly saved in the right place…..
>
> # cat /srv/mail/ops.ops.example.com/test/new/1375430267.M868397P2192.ukc-vm02-mx01\,S\=477\,W\=486
> Return-Path: <an at example.com>
> Delivered-To: <test at ops.ops.example.com>
> Received: from ukc-vm02-mx01.ops.ops.example.com
> by ukc-vm02-mx01.ops.ops.example.com (Dovecot) with LMTP id ZH9VM3tm+1GQCAAAwf4bjw
> for <test at ops.ops.example.com>; Fri, 02 Aug 2013 08:57:47 +0100
> Received: from x (unknown [192.168.199.198])
> by ukc-vm02-mx01.ops.ops.example.com (Postfix) with ESMTP id 76AB04470E
> for <test at ops.ops.example.com>; Fri, 2 Aug 2013 08:57:24 +0100 (BST)
> Subject: test
>
>
> (2) MUA
>
>
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.
> a1 LOGIN test at ops.example.com test
> a1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
> a2 EXAMINE INBOX
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
> * OK [PERMANENTFLAGS ()] Read-only mailbox.
> * 0 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1375424854] UIDs valid
> * OK [UIDNEXT 1] Predicted next UID
> * OK [HIGHESTMODSEQ 1] Highest
> a2 OK [READ-ONLY] Select completed.
> a3 LOGOUT
> * BYE Logging out
> a3 OK Logout completed.
> closed
>
More information about the dovecot
mailing list