[Dovecot] Mail being delivered but MUA showing empty inbox

Nigel Smith gb10hkzo-dovecot at yahoo.co.uk
Fri Aug 2 14:30:29 EEST 2013


Looking more promising with the chroot commented out Axel (doveconf at the bottom) ..... ;-)

# rm -rf /srv/mail/ops.example.com/test

Aug  2 12:25:50 ukc-vm02-mx01 postfix/smtpd[4480]: connect from unknown[17.16.10.43]
Aug  2 12:26:04 ukc-vm02-mx01 postfix/smtpd[4480]: 8E0454470E: client=unknown[17.16.10.43]
Aug  2 12:26:09 ukc-vm02-mx01 postfix/cleanup[4484]: 8E0454470E: message-id=<>
Aug  2 12:26:09 ukc-vm02-mx01 postfix/qmgr[2093]: 8E0454470E: from=<an at example.com>, size=210, nrcpt=1 (queue active)
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466): Debug: none: root=, index=, control=, inbox=, alt=
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466): Connect from local
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466): Debug: auth input: test at ops.example.com uid=1001 gid=1001 home=/srv/mail/ops.example.com/test/
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466, test at ops.example.com): Debug: Effective uid=1001, gid=1001, home=/srv/mail/ops.example.com/test/
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466, 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 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466, test at ops.example.com): Debug: Namespace : /srv/mail/ops.example.com/test doesn't exist yet, using default permissions
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466, test at ops.example.com): Debug: Namespace : Using permissions from /srv/mail/ops.example.com/test: mode=0700 gid=-1
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466, test at ops.example.com): wD94LVGX+1FyEQAAwf4bjw: msgid=unspecified: saved mail to INBOX
Aug  2 12:26:09 ukc-vm02-mx01 postfix/lmtp[4485]: 8E0454470E: to=<test at ops.example.com>, relay=ukc-vm02-mx01.ops.example.com[private/dovecot-lmtp], delay=12, delays=12/0.01/0/0.16, dsn=2.0.0, status=sent (250 2.0.0 <test at ops.example.com> wD94LVGX+1FyEQAAwf4bjw Saved)
Aug  2 12:26:09 ukc-vm02-mx01 dovecot: lmtp(4466): Disconnect from local: Client quit (in reset)
Aug  2 12:26:09 ukc-vm02-mx01 postfix/qmgr[2093]: 8E0454470E: removed
Aug  2 12:26:15 ukc-vm02-mx01 postfix/smtpd[4480]: disconnect from unknown[17.16.10.43]

* 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.
* 1 EXISTS
* 1 RECENT
* OK [UNSEEN 1] First unseen.
* OK [UIDVALIDITY 1375442769] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
a2 OK [READ-ONLY] Select completed.
a3 FETCH 1 BODY[]
* 1 FETCH (BODY[] {488}
Return-Path: <an at example.com>
Delivered-To: <test at ops.example.com>
Received: from ukc-vm02-mx01.ops.example.com
by ukc-vm02-mx01.ops.example.com (Dovecot) with LMTP id wD94LVGX+1FyEQAAwf4bjw
for <test at ops.example.com>; Fri, 02 Aug 2013 12:26:09 +0100
Received: from x (unknown [17.16.10.43])
by ukc-vm02-mx01.ops.example.com (Postfix) with ESMTP id 8E0454470E
for <test at ops.example.com>; Fri,  2 Aug 2013 12:25:57 +0100 (BST)
Subject: x

s
)
a3 OK Fetch completed.
a4 LOGOUT
* BYE Logging out
a4 OK Logout completed.
closed


Aug  2 12:26:34 ukc-vm02-mx01 dovecot: imap-login: Login: user=<test at ops.example.com>, method=PLAIN, rip=17.16.10.43, lip=10.17.10.71, mpid=4490, TLS
Aug  2 12:26:34 ukc-vm02-mx01 dovecot: imap(test at ops.example.com): Debug: Effective uid=1001, gid=1001, home=/srv/mail/ops.example.com/test/
Aug  2 12:26:34 ukc-vm02-mx01 dovecot: imap(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 12:27:15 ukc-vm02-mx01 dovecot: imap(test at ops.example.com): Disconnected: Logged out bytes=44/1170



# doveconf -n                                                            [20/270]
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-37-generic x86_64 Ubuntu 12.04.2 LTS ext4
mail_debug = yes
mail_location = maildir:/srv/mail/%d/%n
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeri
c relational regex imap4flags copy include variables body enotify environment mailbox date ihave
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/users
  driver = passwd-file
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap lmtp
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = its-virtmail
    user = its-virtmail
  }
}
service lmtp {
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
  user = its-virtmail
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_cipher_list = TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:!PSK:@STRENGTH
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
protocol imap {
  imap_client_workarounds = delay-newmail
  mail_max_userip_connections = 10
}
protocol pop3 {
  mail_max_userip_connections = 10
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
  deliver_log_format = msgid=%m: %$
  mail_plugins = sieve
  postmaster_address = postmaster
  quota_full_tempfail = yes
  rejection_reason = Your message to <%t> was automatically rejected:%n%r
}


More information about the dovecot mailing list