#3832: Cannot connect to IMAP4 mail server ----------------------------+--------------------- Reporter: mikeegg | Owner: brendan Type: defect | Status: new Priority: major | Milestone: 1.6 Component: IMAP | Version: 1.6.0 Keywords: IMAP, SSL, TLS | ----------------------------+--------------------- computer:~ someone$ mutt -v Mutt 1.6.0 (2016-04-01) Copyright (C) 1996-2016 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details.
System: Darwin 15.4.0 (x86_64) ncurses: ncurses 6.0.20150808 (compiled with 6.0) libiconv: 1.14 libidn: 1.32 (compiled with 1.32) Compiler: Apple LLVM version 7.3.0 (clang-703.0.29) Target: x86_64-apple-darwin15.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Configure options: '--prefix=/opt/local' '--disable-warnings' '-- mandir=/opt/local/share/man' '--with-docdir=/opt/local/share/doc/mutt' '--with-libiconv-prefix=/opt/local' '--with-curses=/opt/local' '--disable- silent-rules' '--with-idn=/opt/local' '--enable-pop' '--enable-imap' '--with-ssl=/opt/local' '--enable-debug' '--with-gdbm' '--without-bdb' '--without-qdbm' '--without-tokyocabinet' 'CC=/usr/bin/clang' 'CFLAGS=-pipe -Os -arch x86_64' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' 'CPPFLAGS=-I/opt/local/include' Compilation CFLAGS: -pipe -Os -arch x86_64 Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP -USE_SMTP +USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL -USE_GSS +HAVE_GETADDRINFO +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID -USE_HCACHE ISPELL="/opt/local/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/opt/local/share/mutt" SYSCONFDIR="/opt/local/etc" EXECSHELL="/bin/sh" -MIXMASTER To contact the developers, please mail to <mutt-dev@mutt.org>. To report a bug, please visit http://bugs.mutt.org/. -------------------------------------------- [2016-04-12 14:19:04] Mutt/1.6.0 (2016-04-01) debugging at level 5 [2016-04-12 14:19:04] getdnsdomainname(): local [2016-04-12 14:19:04] Reading configuration file '/opt/local/etc/Muttrc'. [2016-04-12 14:19:04] parse_attach_list: ldata = 0x1087a3a18, *ldata = 0x0 [2016-04-12 14:19:04] parse_attach_list: added */.* [9] [2016-04-12 14:19:04] parse_attach_list: ldata = 0x1087a3a20, *ldata = 0x0 [2016-04-12 14:19:04] parse_attach_list: added text/x-vcard [7] [2016-04-12 14:19:04] parse_attach_list: added application/pgp.* [2] [2016-04-12 14:19:04] parse_attach_list: ldata = 0x1087a3a20, *ldata = 0x7fa7c05034e0 [2016-04-12 14:19:04] parse_attach_list: skipping text/x-vcard [2016-04-12 14:19:04] parse_attach_list: skipping application/pgp.* [2016-04-12 14:19:04] parse_attach_list: added application/x-pkcs7-.* [2] [2016-04-12 14:19:04] parse_attach_list: ldata = 0x1087a3a28, *ldata = 0x0 [2016-04-12 14:19:04] parse_attach_list: added text/plain [7] [2016-04-12 14:19:04] parse_attach_list: ldata = 0x1087a3a20, *ldata = 0x7fa7c05034e0 [2016-04-12 14:19:04] parse_attach_list: skipping text/x-vcard [2016-04-12 14:19:04] parse_attach_list: skipping application/pgp.* [2016-04-12 14:19:04] parse_attach_list: skipping application/x-pkcs7-.* [2016-04-12 14:19:04] parse_attach_list: added message/external-body [4] [2016-04-12 14:19:04] parse_attach_list: ldata = 0x1087a3a30, *ldata = 0x0 [2016-04-12 14:19:04] parse_attach_list: added message/external-body [4] [2016-04-12 14:19:04] Reading configuration file '/Users/someone/.muttrc.mac'. [2016-04-12 14:19:04] Using default IMAP port 143 [2016-04-12 14:19:04] Using default IMAPS port 993 [2016-04-12 14:19:04] Reading configuration file '/Users/someone/.mutt/aliases'. [2016-04-12 14:19:04] Reading imaps://someplace.com/INBOX... [2016-04-12 14:19:04] Looking up someplace.com... [2016-04-12 14:19:04] Connecting to someplace.com... [2016-04-12 14:19:04] ssl_check_preauth: hostname check passed [2016-04-12 14:19:04] X509_STORE_load_locations failed [2016-04-12 14:19:04] X509_verify_cert: unable to get local issuer certificate (20) [2016-04-12 14:19:04] [/C=US/ST=someplace] [2016-04-12 14:19:04] X509_STORE_load_locations failed [2016-04-12 14:19:04] ssl_check_preauth: signer check passed [2016-04-12 14:19:04] trusted: /C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4 [2016-04-12 14:19:04] ssl_check_preauth: hostname check passed [2016-04-12 14:19:04] X509_STORE_load_locations failed [2016-04-12 14:19:04] ssl_check_preauth: signer check passed [2016-04-12 14:19:04] TLSv1.2 connection using TLSv1/SSLv3 (ECDHE-RSA- AES128-GCM-SHA256) [2016-04-12 14:19:05] Connected to someplace.com:993 on fd=6 [2016-04-12 14:19:05] imap_cmd_step: grew buffer to 512 bytes [2016-04-12 14:19:05] 6< * OK [CAPABILITY mr11p00im-iscream005 15E205 XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] iSCREAM ready to rumble (15E205-0982aaf890fd:4599) mr11p00im-iscream005 [03:38:19:19:04:80] [2016-04-12 14:19:05] Handling CAPABILITY [2016-04-12 14:19:05] IMAP queue drained [2016-04-12 14:19:05] imap_authenticate: Using any available method. [2016-04-12 14:19:10] Logging in... [2016-04-12 14:19:10] 6> a0000 LOGIN "someone@ someplace.com" "password" [2016-04-12 14:19:11] 6< a0000 OK [CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL RIGHTS=tekx QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE QRESYNC CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES METADATA ID XSENDER X -SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP XUM1 IDLE] User someone logged in [2016-04-12 14:19:11] Handling CAPABILITY [2016-04-12 14:19:11] IMAP queue drained [2016-04-12 14:19:11] Communication encrypted at 128 bits [2016-04-12 14:19:11] 6> a0001 CAPABILITY a0002 ENABLE UTF8=ACCEPT a0003 LIST "" "" [2016-04-12 14:19:11] 6< * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL RIGHTS=tekx QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE QRESYNC CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES METADATA ID XSENDER X-SUN-SORT ANNOTATE- EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP XUM1 IDLE [2016-04-12 14:19:11] Handling CAPABILITY [2016-04-12 14:19:11] 6< a0001 OK Completed [2016-04-12 14:42:46] SSL error: I/O error [2016-04-12 14:42:46] Connection to imap.mail.me.com closed [2016-04-12 14:42:48] imap_cmd_step: Error reading server response. [2016-04-12 14:42:48] mutt_socket_close: Attempt to close closed connection. [2016-04-12 14:42:48] Looking up imap.mail.me.com... [2016-04-12 14:42:49] Connecting to imap.mail.me.com... [2016-04-12 14:42:49] ssl_check_preauth: hostname check passed [2016-04-12 14:42:49] X509_STORE_load_locations failed [2016-04-12 14:42:49] ssl_check_preauth: signer check passed [2016-04-12 14:42:49] TLSv1.2 connection using TLSv1/SSLv3 (ECDHE-RSA- AES128-GCM-SHA256) [2016-04-12 14:42:50] Connected to imap.mail.me.com:993 on fd=6 [2016-04-12 14:42:50] 6< * OK [CAPABILITY st11p00mm-iscream028 15E205 XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] iSCREAM ready to rumble (15E205-0982aaf890fd:22469) st11p00mm-iscream028 [38:1044:19:42:49:93] [2016-04-12 14:42:50] Handling CAPABILITY [2016-04-12 14:42:50] IMAP queue drained [2016-04-12 14:42:50] imap_authenticate: Using any available method. [2016-04-12 14:42:50] Logging in... [2016-04-12 14:42:50] 6> a0000 LOGIN "some...@someplace.com" "password" [2016-04-12 14:42:50] 6< a0000 OK [CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL RIGHTS=tekx QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE QRESYNC CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES METADATA ID XSENDER X -SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP XUM1 IDLE] User someone logged in [2016-04-12 14:42:50] Handling CAPABILITY [2016-04-12 14:42:50] IMAP queue drained [2016-04-12 14:42:50] Communication encrypted at 128 bits [2016-04-12 14:42:50] 6> a0001 CAPABILITY a0002 ENABLE UTF8=ACCEPT a0003 LIST "" "" [2016-04-12 14:42:50] 6< * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL RIGHTS=tekx QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE QRESYNC CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES METADATA ID XSENDER X-SUN-SORT ANNOTATE- EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP XUM1 IDLE [2016-04-12 14:42:50] Handling CAPABILITY [2016-04-12 14:42:50] 6< a0001 OK Completed [2016-04-12 14:46:58] SSL error: I/O error [2016-04-12 14:46:58] Connection to someplace.com closed [2016-04-12 14:47:00] imap_cmd_step: Error reading server response. [2016-04-12 14:47:00] mutt_socket_close: Attempt to close closed connection. [2016-04-12 14:47:00] mutt_num_postponed: using old IMAP postponed count. [2016-04-12 14:48:00] mutt_index_menu[682]: Got op -1 [2016-04-12 14:49:00] mutt_index_menu[682]: Got op -1 [2016-04-12 14:50:00] mutt_index_menu[682]: Got op -1 [2016-04-12 14:51:00] mutt_index_menu[682]: Got op -1 [2016-04-12 14:52:00] mutt_index_menu[682]: Got op -1 [2016-04-12 14:53:01] mutt_index_menu[682]: Got op -1 [2016-04-12 14:54:01] mutt_index_menu[682]: Got op -1 [2016-04-12 14:55:01] mutt_index_menu[682]: Got op -1 [2016-04-12 14:56:01] mutt_index_menu[682]: Got op -1 [2016-04-12 14:57:01] mutt_index_menu[682]: Got op -1 [2016-04-12 14:58:01] mutt_index_menu[682]: Got op -1 [2016-04-12 14:59:01] mutt_index_menu[682]: Got op -1 [2016-04-12 15:00:01] mutt_index_menu[682]: Got op -1 [2016-04-12 15:01:01] mutt_index_menu[682]: Got op -1 [2016-04-12 15:02:01] mutt_index_menu[682]: Got op -1 [2016-04-12 15:03:01] mutt_index_menu[682]: Got op -1 [2016-04-12 15:04:01] mutt_index_menu[682]: Got op -1 -------------------------------------------- This worked in the previous version (1.5.24?). -- Ticket URL: <https://dev.mutt.org/trac/ticket/3832> Mutt <http://www.mutt.org/> The Mutt mail user agent