-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 20 Sep 2015, lists at lazygranch.com wrote:
> No problem sending email, but I can't receive email. Diagnostics
follow:
this is a pretty unspecific information. At which stage the message is
stuck and not delivered to Dovecot? Which MTA do you use and how is it
configurated? Or are the messages delivered to Dovecot and are spooled
into the mail storage?
> a login user at domain.com password
> a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
CONTEXT=SEARCH LIST-STATUS BINARY MOVE SPECIAL-USE] Logged in
> b select inbox
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
permitted.
> * 9 EXISTS
> * 1 RECENT
> * OK [UNSEEN 9] First unseen.
> * OK [UIDVALIDITY 1439944213] UIDs valid
> * OK [UIDNEXT 10] Predicted next UID
> * OK [HIGHESTMODSEQ 2] Highest
> b OK [READ-WRITE] Select completed (0.017 secs).
> c list "" *
> * LIST (\HasNoChildren \Trash) "." Trash
> * LIST (\HasNoChildren) "." Queue
> * LIST (\HasNoChildren \Sent) "." Sent
> * LIST (\HasNoChildren \Drafts) "." Drafts
> * LIST (\HasNoChildren) "." INBOX
> c OK List completed (0.001 secs).
> d lsub "" *
> * LSUB (\Trash) "." Trash
> * LSUB () "." Queue
> * LSUB (\Sent) "." Sent
> * LSUB (\Drafts) "." Drafts
> d OK Lsub completed (0.003 secs).
> e logout
> * BYE Logging out
> e OK Logout completed.
So you can login into Dovecot and query status information, your client
did not tried to fetch any message.
> closed
> ---------------------------------------
> from dovecot.log
> Sep 19 23:35:13 imap-login: Debug: SSL: where=0x10, ret=1: before/accept
initialization [xxx.xxx.xxx.xxx]
> Sep 19 23:35:13 imap-login: Debug: SSL: where=0x2001, ret=1: before/accept
initialization [xxx.xxx.xxx.xxx]
> Sep 19 23:35:13 imap-login: Debug: SSL: where=0x2002, ret=-1: SSLv2/v3 read
client hello A [xxx.xxx.xxx.xxx]
> Sep 19 23:35:13 auth: Debug: Loading modules from directory:
/usr/local/lib/dovecot/auth
> Sep 19 23:35:13 auth: Debug: Read auth token secret from
/var/run/dovecot/auth-token-secret.dat
> Sep 19 23:35:13 auth: Debug: passwd-file /usr/local/etc/dovecot/users: Read
2 users in 0 secs
> Sep 19 23:35:13 auth: Debug: auth client connected (pid=1698)
> Sep 19 23:38:13 imap-login: Info: Disconnected: Inactivity (no auth
attempts in 180 secs): user=<>, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx,
TLS handshaking, session=<MghMJCIgiACsOCYK>
> --------------------------------
The client connected to Dovecot, but did not sent any authentification
information.
> # dovecot -n
> # 2.2.18: /usr/local/etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.8 (0c4ae064f307+)
> # OS: FreeBSD 10.1-RELEASE-p19 amd64
> auth_debug = yes
> auth_debug_passwords = yes
> auth_verbose = yes
> log_path = /var/log/dovecot.log
> mail_debug = yes
> mail_gid = 1003
> mail_home = /var/mail/vhosts/%d/%n
> mail_location = maildir:~
> mail_privileged_group = vpostfix
> mail_uid = 1003
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date index ihave duplicate
> namespace inbox {
> inbox = yes
> location > mailbox Drafts {
> special_use = \Drafts
> }
> mailbox Junk {
> special_use = \Junk
> }
> mailbox Sent {
> special_use = \Sent
> }
> mailbox "Sent Messages" {
> special_use = \Sent
> }
> mailbox Trash {
> special_use = \Trash
> }
> prefix > }
> passdb {
> args = scheme=CRYPT username_format=%u /usr/local/etc/dovecot/users
> driver = passwd-file
> }
> service auth {
> unix_listener /var/spool/postfix/private/auth {
> group = postfix
> mode = 0666
> user = postfix
> }
> unix_listener auth-userdb {
> group = postfix
> mode = 0600
> user = postfix
> }
> }
> ssl_cert = </usr/local/etc/ipsec.d/certs/domain.com.crt
> ssl_key = </usr/local/etc/ipsec.d/private/domain.com.key
> userdb {
> args = username_format=%u /usr/local/etc/dovecot/users
> driver = passwd-file
> }
> verbose_ssl = yes
> #
> --------------------------
> # dovecot --version
> 2.2.18?
> ?
>
>
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBVgD3X3z1H7kL/d9rAQKnTQgAh5hfO/5N8nFHWcFl8TjYLcOdEA3rBHRH
e3thIrGzLM3pWyPTPPQ9mMAZZbDP2ZuZuYxiwIb09gtCS387GXFWCYYa4uMfuQdP
whNBl0+zRDIFrWl9Rh5SYAfeDrr2xmBQuAtn1Wsdp5xiYFL0cZYsb7vkNzildvJT
/aND0FXWev8UDlm4vcPVTa2yS4y4ZVxi2veYiwyemRsoMxKtIX6TzNWIK8UjvMMr
cyc2D3VGEAc/90OSIuMlCBToMUZvk0S5XJJl9tDtEKNnAmejkvqHlWETNkgxXDjd
wMHjv0nUJqrGFO8+NuYPhrLOpzqKOxl5+hYXyyfcw0VFkqHBbmku8g==8rp/
-----END PGP SIGNATURE-----