On Fri, Jun 12, Kevin J. McCarthy wrote:

> Would you mind applying this patch and running mutt with -d 5
> to get debugging output, just so I have a clearer picture where
> imap_open_connection is bailing.  I have added a NONULL around the
> capstr, so hopefully it won't segfault.

Thanks for the patch. Below is the output, slightly tweaked.
If the password is correct in the first attempt it goes straight to
=INBOX. If first attempt is wrong but second is correct no mailbox is
active. But its possible to go manually to =INBOX.

Olaf

[2015-06-17 21:02:25] Mutt/1.5.23 (2015-06-07) debugging at level 9
[2015-06-17 21:02:25] Reading configuration file '/etc/Muttrc'.
[2015-06-17 21:02:25] parse_attach_list: ldata = 0x6e3528, *ldata = (nil)
[2015-06-17 21:02:25] parse_attach_list: added */.* [9]
[2015-06-17 21:02:25] parse_attach_list: ldata = 0x6e3520, *ldata = (nil)
[2015-06-17 21:02:25] parse_attach_list: added text/x-vcard [7]
[2015-06-17 21:02:25] parse_attach_list: added application/pgp.* [2]
[2015-06-17 21:02:25] parse_attach_list: ldata = 0x6e3520, *ldata = 0xa04af0
[2015-06-17 21:02:25] parse_attach_list: skipping text/x-vcard
[2015-06-17 21:02:25] parse_attach_list: skipping application/pgp.*
[2015-06-17 21:02:25] parse_attach_list: added application/x-pkcs7-.* [2]
[2015-06-17 21:02:25] parse_attach_list: ldata = 0x6e3518, *ldata = (nil)
[2015-06-17 21:02:25] parse_attach_list: added text/plain [7]
[2015-06-17 21:02:25] parse_attach_list: ldata = 0x6e3520, *ldata = 0xa04af0
[2015-06-17 21:02:25] parse_attach_list: skipping text/x-vcard
[2015-06-17 21:02:25] parse_attach_list: skipping application/pgp.*
[2015-06-17 21:02:25] parse_attach_list: skipping application/x-pkcs7-.*
[2015-06-17 21:02:25] parse_attach_list: added message/external-body [4]
[2015-06-17 21:02:25] parse_attach_list: ldata = 0x6e3510, *ldata = (nil)
[2015-06-17 21:02:25] parse_attach_list: added message/external-body [4]
[2015-06-17 21:02:25] Reading configuration file 
'/home/olaf/.mutt/personal-novell-ohering'.
[2015-06-17 21:02:25] Reading configuration file 
'/home/olaf/.mutt/muttrc.common'.
[2015-06-17 21:02:25] Reading configuration file '/home/olaf/.mutt/aliases'.
[2015-06-17 21:02:25] parse_alias: Second token is 'Olaf Hering 
<[email protected]>'.
[2015-06-17 21:02:25] parse_alias:   [email protected]
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 1
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 2
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 3
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 4
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 5
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 6
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 7
[2015-06-17 21:02:25] mutt_alloc_color(): Color pairs used so far: 8
[2015-06-17 21:02:25] Using default IMAP port 143
[2015-06-17 21:02:25] Using default IMAPS port 993
[2015-06-17 21:02:25] Reading imaps://<host>/INBOX...
[2015-06-17 21:02:25] Looking up <host>...
[2015-06-17 21:02:25] Connecting to <host>...
[2015-06-17 21:02:26] ssl_check_preauth: hostname check passed
[2015-06-17 21:02:26] X509_verify_cert: unable to get local issuer certificate 
(20)
[2015-06-17 21:02:26]  [/C=US/ST=Utah/L=Provo/O=Novell, 
Inc./CN=*.emea.novell.com]
[2015-06-17 21:02:26] ssl_check_preauth: signer check passed
[2015-06-17 21:02:26] trusted: /C=US/O=DigiCert 
Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
[2015-06-17 21:02:26] ssl_check_preauth: hostname check passed
[2015-06-17 21:02:26] ssl_check_preauth: signer check passed
[2015-06-17 21:02:26] TLSv1 connection using TLSv1/SSLv3 (AES256-SHA)
[2015-06-17 21:02:27] Connected to <host>:993 on fd=4
[2015-06-17 21:02:27] imap_cmd_step: grew buffer to 512 bytes
[2015-06-17 21:02:27] 4< * OK [CAPABILITY IMAP4rev1 AUTH=PLAIN 
AUTH=XGWTRUSTEDAPP UNSELECT XGWEXTENSIONS] Server Ready
[2015-06-17 21:02:27] Handling CAPABILITY
[2015-06-17 21:02:27] IMAP queue drained
[2015-06-17 21:02:27] imap_open_connection: buf is * OK [CAPABILITY IMAP4rev1 
AUTH=PLAIN AUTH=XGWTRUSTEDAPP UNSELECT XGWEXTENSIONS
[2015-06-17 21:02:27] imap_authenticate: Trying method login
[2015-06-17 21:02:27] SASL local ip: 10.161.8.52;34243, remote ip:1.2.3.4;993
[2015-06-17 21:02:27] External SSF: 256
[2015-06-17 21:02:29] Logging in...
[2015-06-17 21:02:29] 4> a0000 LOGIN "username" "wrong"

[2015-06-17 21:02:32] 4< a0000 NO LOGIN GroupWise login failed
[2015-06-17 21:02:32] IMAP queue drained
[2015-06-17 21:02:32] Login failed.
[2015-06-17 21:02:34] imap_authenticate: Trying method login
[2015-06-17 21:02:34] SASL local ip: 10.161.8.52;34243, remote ip:1.2.3.4;993
[2015-06-17 21:02:34] External SSF: 256
[2015-06-17 21:02:34] External authentication name: username

Reply via email to