Disconnected: Inactivity (no auth attempts in 180 secs)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Disconnected: Inactivity (no auth attempts in 180 secs)

Alexandre

Hi,

 

I hope you guys can understand me since english is not my nativelanguage.

 

I am trying setup dovecot for imap and pop3 on FreeBSD 10.3 and is notworking on IMAPS or POP3S, currently My setup is:

OS = FreeBSD 10.3 ( I did not get enough time for update to 11)

Postfix = 3.2.3

Dovecot = 2.2.33.2 (d6601f4ec)

OpenSSL =1.0.1s-freebsd

SSL Certificate = Let's Encrypt

 

 

I can send and receive mails using:

IMAP 143 with TLS

SMTP 587 with TLS

 
Usually on Linux distros works pretty easy, when I don't forgetsomething this should be working on first try, but, after spend 2 weeks workingon it after arrive from job without found any solution, I am trying the luckasking for help from your guys expert on dovecot.
The hangup occours inside of my LAN using Outlook 2016, and Outside also trying access on 4G from my Android smartphone.

 

My goal is enable also POP3s and IMAPs using TLS.

 

This is my data:

 

Dovecot –n:

 

 

#2.2.33.2 (d6601f4ec): /usr/local/etc/dovecot/dovecot.conf

# Pigeonhole version 0.4.21 (92477967)

# OS: FreeBSD 10.3-RELEASE-p22 amd64 zfs

auth_debug = yes

auth_debug_passwords = yes

auth_mechanisms = plain login

auth_verbose = yes

auth_verbose_passwords = yes

hostname = mail.mydomain.com

imap_client_workarounds = delay-newmail tb-extra-mailbox-septb-lsub-flags

lda_mailbox_autocreate = yes

lda_mailbox_autosubscribe = yes

lda_original_recipient_header = X-Original-To

mail_attachment_fs = sis-queue posix

mail_attachment_hash = %{sha512}

mail_debug = yes

mail_location = maildir:/usr/local/vmail/%d/%n:LAYOUT=fs

mail_plugins = quota acl

mail_privileged_group = vmail

mailbox_list_index = yes

managesieve_notify_capability = mailto

managesieve_sieve_capability = fileinto reject envelopeencoded-character vacation subaddress comparator-i;ascii-numeric relationalregex imap4flags copy include variables body enotify environment mailbox dateindex ihave duplicate mime foreverypart extracttext

mbox_write_locks = fcntl

namespace inbox {

  inbox = yes

  location =

  mailbox Archives {

    auto = subscribe

    special_use = \Archive

  }

  mailbox Drafts {

    auto = subscribe

    special_use = \Drafts

  }

  mailbox Junk {

    auto = subscribe

    special_use = \Junk

  }

  mailbox Sent {

    auto = subscribe

    special_use = \Sent

  }

  mailbox "SentMessages" {

    auto = subscribe

    special_use = \Sent

  }

  mailbox Trash {

    auto = subscribe

    special_use = \Trash

  }

  mailbox virtual/All {

    auto = subscribe

    comment = All my messages

    special_use = \All

  }

  mailbox virtual/Flagged {

    auto = subscribe

    comment = All my flaggedmessages

    special_use = \Flagged

  }

  prefix =

}

passdb {

  args =/usr/local/etc/dovecot/dovecot-sql.conf.ext

  driver = sql

}

plugin {

  acl = vfile

  quota = maildir:User quota

  quota_max_mail_size = 100M

  quota_rule = *:storage=1G

  quota_rule2 =Archive:storage=+1G

  quota_rule3 =Trash:storage=+100M

  quota_warning = storage=80%%quota-warning 80 %u

  sieve =/usr/local/vmail/%d/%n/.dovecot.sieve

  sieve_before =/usr/local/vmail/sieve/before.d/

  sieve_dir = /usr/local/vmail/%d/%n

  sieve_global_dir =/usr/local/vmail/sieve/%d

  sieve_global_path =/usr/local/vmail/sieve/%d/default.sieve

}

pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

postmaster_address = [hidden email]

protocols = imap pop3 lmtp sieve

quota_full_tempfail = yes

service auth-worker {

  user = vmail

}

service auth {

  unix_listener/var/spool/postfix/private/auth {

    group = postfix

    mode = 0660

    user = postfix

  }

  unix_listener auth-userdb {

    group = vmail

    mode = 0600

    user = vmail

  }

}

service dict {

  unix_listener dict {

    mode = 0600

    user = vmail

  }

}

service imap-login {

  inet_listener imap {

    port = 143

  }

  inet_listener imaps {

    port = 993

    ssl = yes

  }

  process_min_avail = 2

}

service lmtp {

  unix_listener/var/spool/postfix/private/dovecot-lmtp {

    group = postfix

    mode = 0600

    user = postfix

  }

}

service managesieve-login {

  inet_listener sieve {

    port = 4190

  }

  process_min_avail = 0

  service_count = 1

  vsz_limit = 64 M

}

service pop3-login {

  inet_listener pop3 {

    port = 110

  }

  inet_listener pop3s {

    port = 995

    ssl = yes

  }

}

service quota-warning {

  executable = script/usr/local/bin/quota-warning.sh

  unix_listener quota-warning {

    user = vmail

  }

  user = dovecot

}

ssl = required

ssl_ca = </etc/ssl/cert.pem

ssl_cert = </usr/local/etc/dovecot/private/mail.mydomain.com.crt

ssl_cipher_list =ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA

ssl_dh_parameters_length = 4096

ssl_key =  # hidden, use -P toshow it

ssl_options = no_compression

ssl_parameters_regenerate = 6 hours

ssl_prefer_server_ciphers = yes

ssl_protocols = TLSv1.2

userdb {

  driver = prefetch

}

verbose_ssl = yes

protocollda {

  mail_plugins = quota acl sieve

  postmaster_address = root

}

protocol lmtp {

  deliver_log_format = msgid=%m:%s

  mail_plugins = quota acl sieve

  postmaster_address =[hidden email]

}

protocol sieve {

 managesieve_implementation_string = Dovecot Pigeonhole

  managesieve_max_compile_errors =5

  managesieve_max_line_length =65536

}

protocolpop3 {

  mail_plugins = quota

}

protocolimap {

  mail_plugins = quota acl imap_quota imap_acl

}

 

 

 

 

Dovecot-sql

 

 

driver = mysql

connect = host=127.0.0.1 dbname=mailserver user=mail password=*****

default_pass_scheme = SHA512-CRYPT

user_query = \

            SELECT \

                        email asuser, \

                        maildir ashome, \

                        uid, \

                        gid, \

                        CONCAT('*:storage=',quota, 'B') AS quota_rule, \

                        CONCAT(maildir,'./sieve')as sieve \

            FROM \

                        virtual_users\

            WHERE \

                        email ='%u' \

                        AND \

                                    active= '1'

password_query = \

            SELECT \

                        email asuser, \

                        password, \

                        maildir asuserdb_home, \

                        uid asuserdb_uid, \

                        gid asuserdb_gid, \

                        CONCAT('*:storage=',quota, 'B') AS userdb_quota_rule, \

                        CONCAT(maildir,'./sieve')as userdb_sieve \

            FROM \

                        virtual_users\

            WHERE \

                        email ='%u' \

                        AND \

                                    active= '1'

iterate_query = \

            SELECT \

                        email ASuser \

            FROM \

                        virtual_users\

            WHERE \

                        active ='1'

 

 

 

maillog with Disconnected: Inactivity (no auth attempts in 180 secs)

 

 

Oct 25 06:46:38 mail dovecot: imap-login: Debug: SSL: where=0x10, ret=1:before/accept initialization [192.168.0.95]

Oct 25 06:46:38 mail dovecot: imap-login: Debug: SSL: where=0x2001,ret=1: before/accept initialization [192.168.0.95]

Oct 25 06:46:38 mail dovecot: imap-login: Debug: SSL: where=0x2002,ret=-1: SSLv2/v3 read client hello A [192.168.0.95]

Oct 25 06:46:38 mail dovecot: auth: Debug: auth client connected(pid=9371)

Oct 25 06:49:38 mail dovecot: imap-login: Disconnected: Inactivity (noauth attempts in 180 secs): user=<>, rip=192.168.0.95, lip=10.0.0.32, TLShandshaking, session=<+XXXXXXXXXXXXXf>

Oct 25 06:49:38 mail postfix/submission/smtpd[9400]: connect fromunknown[192.168.0.95]:50860

Oct 25 06:49:38 mail postfix/submission/smtpd[9400]: Anonymous TLSconnection established from unknown[192.168.0.95]:50860: TLSv1.2 with cipherECDHE-RSA-AES256-SHA384 (256/256 bits)

Oct 25 06:49:38 mail dovecot: auth: Debug: auth client connected (pid=0)

Oct 25 06:49:38 mail dovecot: auth: Debug: client in: AUTH        1          LOGIN           service=smtp            nologin            lip=10.0.0.32  rip=192.168.0.95        secured

Oct 25 06:49:38 mail dovecot: auth: Debug: client passdb out: CONT      1          VXXXXXXXXXX6

Oct 25 06:49:38 mail dovecot: auth: Debug: client in: CONT        1            cXXXXXXXXXXXXXXXXXXXXXXXXXXt(previous base64 data may contain sensitive data)

Oct 25 06:49:38 mail dovecot: auth: Debug: client passdb out: CONT      1          UXXXXXXXXXX6

Oct 25 06:49:38 mail dovecot: auth: Debug: client in: CONT        1            dXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=(previous base64 data may contain sensitive data)

Oct 25 06:49:38 mail dovecot: auth-worker(9402): Debug: Loading modulesfrom directory: /usr/local/lib/dovecot/auth

Oct 25 06:49:38 mail dovecot: auth-worker(9402): Debug: Module loaded:/usr/local/lib/dovecot/auth/lib20_auth_var_expand_crypt.so

Oct 25 06:49:39 mail dovecot: auth-worker(9402): Debug:sql([hidden email],192.168.0.95): query: SELECT email as user, password,maildir as userdb_home, uid as userdb_uid, gid as userdb_gid,CONCAT('*:storage=', quota, 'B') AS userdb_quota_rule,CONCAT(maildir,'./sieve') as userdb_sieve FROM virtual_users WHERE email ='[hidden email]' AND active = '1'

Oct 25 06:49:39 mail dovecot: auth: Debug: client passdb out: OK           1          user=[hidden email]        

Oct 25 06:49:39 mail postfix/submission/smtpd[9400]: 3XXXXXXXXXXXt:client=unknown[192.168.0.95]:50860, sasl_method=LOGIN,sasl_username=[hidden email]

Oct 25 06:49:39 mail postfix/cleanup[9404]: 3XXXXXXXXXXXt:message-id=<[hidden email]>

Oct 25 06:49:39 mail opendkim[945]: 3XXXXXXXXXXXt: DKIM-Signature fieldadded (s=201710, d=domain.com)

Oct 25 06:49:39 mail postfix/qmgr[8504]: 3XXXXXXXXXXXt:from=<[hidden email]>, size=1446, nrcpt=1 (queue active)

Oct 25 06:49:39 mail postfix/submission/smtpd[9400]: disconnect fromunknown[192.168.0.95]:50860 ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1commands=7

Oct 25 06:49:49 mail postfix/smtpd[9408]: connect from localhost[127.0.0.1]:23696

Oct 25 06:49:49 mail opendmarc[949]: ignoring connection from localhost

Oct 25 06:49:49 mail postfix/smtpd[9408]: 3YYYYYYYYYYY1:client=localhost[127.0.0.1]:23696

Oct 25 06:49:49 mail postfix/cleanup[9404]: 3YYYYYYYYYYY1:message-id=<[hidden email]>

Oct 25 06:49:49 mail opendkim[945]: 3YYYYYYYYYYY1: DKIM-Signature fieldadded (s=201710, d=domain.com)

Oct 25 06:49:49 mail postfix/qmgr[8504]: 3YYYYYYYYYYY1:from=<[hidden email]>, size=2918, nrcpt=1 (queue active)

Oct 25 06:49:49 mail postfix/smtpd[9408]: disconnect fromlocalhost[127.0.0.1]:23696 ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5

Oct 25 06:49:49 mail amavis[913]: (00913-03) Passed CLEAN {RelayedInternal},MYNETS LOCAL [192.168.0.95]:50860 <[hidden email]> -><[hidden email]>, Queue-ID: 3XXXXXXXXXXXt, Message-ID:<[hidden email]>, mail_id: SuyWDTSHlDWx, Hits: -1.099,size: 2315, queued_as: 3YYYYYYYYYYY1, dkim_sd=201710:domain.com, 9815 ms

Oct 25 06:49:49 mail postfix/lmtp[9405]: 3XXXXXXXXXXXt:to=<[hidden email]>, relay=127.0.0.1[127.0.0.1]:10024, delay=10,delays=0.3/0.03/0.01/9.8, dsn=2.0.0, status=sent (250 2.0.0 fromMTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3YYYYYYYYYYY1)

Oct 25 06:49:49 mail postfix/lmtp[9409]: warning: smtp_connect_local:opportunistic TLS encryption is not appropriate for unix-domain destinations.

Oct 25 06:49:49 mail postfix/qmgr[8504]: 3XXXXXXXXXXXt: removed

Oct 25 06:49:49 mail dovecot: lmtp(9410): Debug: none: root=, index=,indexpvt=, control=, inbox=, alt=

Oct 25 06:49:49 mail dovecot: lmtp(9410): Connect from local

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Loadingmodules from directory: /usr/local/lib/dovecot

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Moduleloaded: /usr/local/lib/dovecot/lib01_acl_plugin.so

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Moduleloaded: /usr/local/lib/dovecot/lib10_quota_plugin.so

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Moduleloaded: /usr/local/lib/dovecot/lib90_sieve_plugin.so

Oct 25 06:49:49 mail dovecot: auth: Debug: master in: USER       1          [hidden email]      service=lmtp

Oct 25 06:49:49 mail dovecot: auth: Debug: prefetch([hidden email]): passdbdidn't return userdb entries, trying the next userdb

Oct 25 06:49:49 mail dovecot: auth-worker(9402): Debug:sql([hidden email]): SELECT email as user, maildir as home, uid, gid,CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir,'./sieve') assieve FROM virtual_users WHERE email = '[hidden email]' AND active = '1'

Oct 25 06:49:49 mail dovecot: auth: Debug: userdb out: USER     1          [hidden email]            home=/usr/local/vmail/domain.com/security             uid=5000        gid=5000            quota_rule=*:storage=100000000B  sieve=/usr/local/vmail/domain.com/security./sieve

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: auth USERinput: [hidden email] home=/usr/local/vmail/domain.com/security uid=5000gid=5000 quota_rule=*:storage=100000000B sieve=/usr/local/vmail/domain.com/security./sieve

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Added userdbsetting: plugin/quota_rule=*:storage=100000000B

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Added userdbsetting: plugin/sieve=/usr/local/vmail/domain.com/security./sieve

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug:Effective uid=5000, gid=5000, home=/usr/local/vmail/domain.com/security

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: acl:No acl_shared_dict setting - shared mailbox listing is disabled

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: Quotaroot: name=User quota backend=maildir args=

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: Quotarule: root=User quota mailbox=* bytes=100000000 messages=0

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: Quotarule: root=User quota mailbox=Archive bytes=+1073741824 messages=0

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: Quotarule: root=User quota mailbox=Trash bytes=+104857600 messages=0

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: Quotawarning: bytes=80000000 (80%) messages=0 reverse=no command=quota-warning [hidden email]

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: Quotagrace: root=User quota bytes=10000000 (10%)

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug:Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,subscriptions=yeslocation=maildir:/usr/local/vmail/domain.com/security:LAYOUT=fs

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: fs:root=/usr/local/vmail/domain.com/security, index=, indexpvt=, control=,inbox=/usr/local/vmail/domain.com/security, alt=

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: acl:initializing backend with data: vfile

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: acl:acl username = [hidden email]

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: acl:owner = 1

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: aclvfile: Global ACLs disabled

Oct 25 06:49:49 mail dovecot: lmtp(9410, [hidden email]): Debug: quota:quota_over_flag check: quota_over_script unset - skipping

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Mailbox<lmtp DATA>: Opened mail UID=1 because: header X-Original-To (Cache fileis unusable)

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: sieve:Pigeonhole version 0.4.21 (92477967) initializing

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: 4ZZZZZZZZZZZZZZZZZZZZQ:sieve: file storage: Failed to normalize active script directory(path=/usr/local/vmail/domain.com/security.): Part of the path does not exist(yet)

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Using active Sieve script path:/usr/local/vmail/domain.com/security./sieve

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Using script storage path:/usr/local/vmail/domain.com/security

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Relative path to sieve storage inactive link: /usr/local/vmail/domain.com/security/

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: 4ZZZZZZZZZZZZZZZZZZZZQ:sieve: file storage: Failed to normalize active script directory(path=/usr/local/vmail/domain.com/security.): Part of the path does not exist(yet)

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Using Sieve script path:/usr/local/vmail/domain.com/security./sieve

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Storage path`/usr/local/vmail/domain.com/security./sieve' not found

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Storage path`/usr/local/vmail/sieve/domain.com/default.sieve' not found

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: User has no active script in storage`/usr/local/vmail/domain.com/security'

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: User has no personal script

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: file storage: Storage path`/usr/local/vmail/sieve/before.d/' not found

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: Location for sieve_before not found: /usr/local/vmail/sieve/before.d/

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug:4ZZZZZZZZZZZZZZZZZZZZQ: sieve: No scripts to execute: reverting to defaultdelivery.

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: INBOX:Mailbox opened because: lib-lda delivery

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: Mailbox<lmtp DATA>: Opened mail UID=1 because: copying

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]): Debug: acl vfile:file /usr/local/vmail/domain.com/security/dovecot-acl not found

Oct 25 06:49:49 mail dovecot: lmtp([hidden email]):msgid=<[hidden email]>: Microsoft Outlook Test Message

Oct 25 06:49:49 mail postfix/lmtp[9409]: 3YYYYYYYYYYY1:to=<[hidden email]>, relay=mail.domain.com[private/dovecot-lmtp],delay=0.48, delays=0.26/0.03/0.13/0.06, dsn=2.0.0, status=sent (250 2.0.0<[hidden email]> 4ZZZZZZZZZZZZZZZZZZZZQ Saved)

Oct 25 06:49:49 mail dovecot: lmtp(9410): Disconnect from local:Successful quit

Oct 25 06:49:49 mail postfix/qmgr[8504]: 3YYYYYYYYYYY1: removed

 

 

Testing from another computer with

 

openssl s_client -host 10.0.0.32 -port 993 -verify –debug

 

verify depth is 0

CONNECTED(00000003)

depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3

verify return:1

depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3

verify return:1

depth=0 CN = domain.com

verify return:1

---

Certificate chain

 0 s:/CN=domain.com

   i:/C=US/O=Let'sEncrypt/CN=Let's Encrypt Authority X3

 1 s:/C=US/O=Let's Encrypt/CN=Let'sEncrypt Authority X3

   i:/O=Digital Signature TrustCo./CN=DST Root CA X3

---

Server certificate

-----BEGIN CERTIFICATE-----

MIIGDjCCBPagAwIBAgISA71fShBIzBs0jj8E7L/XmHyjMA0GCSqGSIb3DQEBCwUA

BzzGusiZmPR/KpKnHmRXThgo

-----END CERTIFICATE-----

subject=/CN=domain.com

issuer=/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3

---

No client certificate CA names sent

Peer signing digest: SHA512

Server Temp Key: ECDH, P-256, 256 bits

---

SSL handshake has read 3702 bytes and written 457 bytes

---

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA384

Server public key is 4096 bit

Secure Renegotiation IS supported

Compression: NONE

Expansion: NONE

No ALPN negotiated

SSL-Session:

    Protocol  : TLSv1.2

    Cipher    : ECDHE-RSA-AES256-SHA384

    Session-ID:548A93EA5A644C15EBA4B8335274B3091D33DD8C1741292BA4C0650E7171EF9F

    Session-ID-ctx:

    Master-Key:3DA8713979CA918E62C6E2DDB24F25050545390A031AAEEF82208300911D13C1B850FD78771F2046CAF0484F64A9C7A2

    Key-Arg   : None

    PSK identity: None

    PSK identity hint: None

    SRP username: None

    TLS session ticket lifetimehint: 300 (seconds)

    TLS session ticket:

    0000 - 63 99 b8 dc b6 5a ca49-4c 35 62 47 95 a6 59 7e  c....Z.IL5bG..Y~

    0010 - 2b 6e 64 a6 bf 06 fd a1-85 e5 6d f8 79 4b 762c   +nd.......m.yKv,

    0020 - 26 12 c9 8d cd da da 6c-5e 1e 4e 6963 30 b7 90   &......l^.Nic0..

    0030 - 45 ce 70 b5 14 01 ba60-d9 85 df f9 a7 66 1d 58  E.p....`.....f.X

    0040 - 0d 36 f3 41 29 0b 43 f6-60 c1 0a 5e 2d db b438   .6.A).C.`..^-..8

    0050- 31 0b 8e 05 e4 5f f7 30-d6 4f 34 10 3f 4f a6 e2   1...._.0.O4.?O..

    0060 - 17 d3 36 34 14 5a 3a 91-99 25 96 4f5c 82 d8 f0   ..64.Z:..%.O\...

    0070 - ee 82 ef eb 77 ad c1 37-9a 6d 60 796f a3 1f 2e   ....w..7.m`yo...

    0080 - 0c 5a 40 bc 02 de 92 ff-cf 37 e1 df95 41 30 8c   .Z@......7...A0.

    0090 - 1d 3d e1 cd 1b 3f 78d4-86 d1 ac ad 3a 23 16 85  .=...?x.....:#..

 

    Start Time: 1508923307

    Timeout   : 300 (sec)

    Verify return code: 0 (ok)

---

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLEIDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

a login [hidden email] XXXXXXXXXXXXXXXXXXXXXXXX

a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLEIDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECTMULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUSLIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHINCONTEXT=SEARCH LIST-STATUS BINARY MOVE NOTIFY QUOTA ACL RIGHTS=texk] Logged in

a select inbox

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)

* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft$Forwarded \*)] Flags permitted.

* 9 EXISTS

* 0 RECENT

* OK [UNSEEN 6] First unseen.

* OK [UIDVALIDITY 1508179896] UIDs valid

* OK [UIDNEXT 62] Predicted next UID

a OK [READ-WRITE] Select completed (0.003 + 0.000 + 0.002 secs).

a logout

* BYE Logging out

a OK Logout completed (0.002 + 0.000 + 0.001 secs).

closed

 

 

I have removed the certificate and sensitive data.

I am out of ideas what else to config to get this working, and wannathank in advice for everyone who can try help me.

 

Regards,

 

 

PS.: I am going to work now, and as soon as possible, I can test anyadvice and report the results.

 

 

Alexandre
Reply | Threaded
Open this post in threaded view
|

Re: Disconnected: Inactivity (no auth attempts in 180 secs)

Joseph Tam-2

Alexandre <[hidden email]> wrote:

> I can send and receive mails using:
> IMAP 143 with TLS

OK, IMAP STARTTLS is working in some sense.  (Your MTA handles
SMTP, not dovecot.)

> The hangup occours inside of my LAN using Outlook 2016, and Outside
> also trying access on 4G from my Android smartphone.
>
> My goal is enable also POP3s and IMAPs using TLS.

[voluminous diagnostics]

I can't really see from what you present what the problem is.
Can you report the output of

  openssl s_client -starttls imap {imap-server}:143
  openssl s_client -starttls pop3 {imap-server}:110

(from both inside and outside), as well as any matching log entries.

Joseph Tam <[hidden email]>