[neomutt-users] Can't get IMAP running exchange 2016

Lars Quentin lars.quentin at stud.uni-goettingen.de
Sat Sep 21 22:31:07 CEST 2019


Good evening,

I sadly can't get imap running, even after hours of googling and reading.

I just get a "Login failed"

My IMAP-config:

set imap_user = "lars.quentin at stud.uni-goettingen.de"
# set imap_user = "my-domain\\lars.quentin"
set imap_pass = "xxx"
set folder = 
"imaps://$imap_user:$imap_pass@email.stud.uni-goettingen.de:993"
# set folder = "imaps://email.stud.uni-goettingen.de:993"
set spoolfile = +INBOX

set ssl_use_sslv3 = yes
set imap_check_subscribed = yes
set imap_keepalive = 300
set imap_passive = no

Maybe relevant SMTP settings:
set ssl_force_tls = yes
set ssl_starttls = yes

I tried to fix IMAP first, SMTP is not running but I guess as soon as 
IMAP works I'll figure out the rest.

When connecting manually via

openssl s_client -crlf -connect email.stud.uni-goettingen.de:993

I get the
---
* OK The Microsoft Exchange IMAP4 service is ready.

The capability is
. capability
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN SASL-IR UIDPLUS UNSELECT 
CHILDREN IDLE NAMESPACE LITERAL+
. OK CAPABILITY completed.

And I can login manually and recieve messages.

A login ug-student\lars.quentin my_pass
A OK LOGIN completed.
A status INBOX (messages)
* STATUS INBOX (messages 4548)
A OK STATUS completed.

I put my debug file (logging level 5, censored just the plain) in the 
attachments, I am happy for any help!

Cheers
Lars Quentin
(Sadly written with thunderbird)
-------------- next part --------------
[2019-09-21 22:13:43] start_debug() NeoMutt/20171215 debugging at level 5
[2019-09-21 22:13:43] mutt_reflow_windows() entering
[2019-09-21 22:13:43] mutt_reflow_windows() entering
[2019-09-21 22:13:43] mutt_reflow_windows() entering
[2019-09-21 22:13:43] mutt_reflow_windows() entering
[2019-09-21 22:13:43] mutt_reflow_windows() entering
[2019-09-21 22:13:43] source_rc() Reading configuration file '/etc/neomuttrc'.
[2019-09-21 22:13:43] parse_attach_list() added */.* [9]
[2019-09-21 22:13:43] parse_attach_list() added text/x-vcard [7]
[2019-09-21 22:13:43] parse_attach_list() added application/pgp.* [2]
[2019-09-21 22:13:43] parse_attach_list() added application/x-pkcs7-.* [2]
[2019-09-21 22:13:43] parse_attach_list() added text/plain [7]
[2019-09-21 22:13:43] parse_attach_list() added message/external-body [4]
[2019-09-21 22:13:43] parse_attach_list() added message/external-body [4]
[2019-09-21 22:13:43] source_rc() Reading configuration file '/usr/lib/neomutt/source-neomuttrc.d|'.
[2019-09-21 22:13:43] source_rc() Reading configuration file '/etc/neomuttrc.d/charset.rc'.
[2019-09-21 22:13:43] source_rc() Reading configuration file '/etc/neomuttrc.d/colors.rc'.
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 1
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 2
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 3
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 4
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 5
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 6
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 7
[2019-09-21 22:13:43] mutt_alloc_color() Color pairs used so far: 8
[2019-09-21 22:13:43] source_rc() Reading configuration file '/etc/neomuttrc.d/compressed-folders.rc'.
[2019-09-21 22:13:43] source_rc() Reading configuration file '/etc/neomuttrc.d/gpg.rc'.
[2019-09-21 22:13:43] source_rc() Reading configuration file '/etc/neomuttrc.d/smime.rc'.
[2019-09-21 22:13:43] source_rc() Reading configuration file '/home/lquenti/.neomuttrc'.
[2019-09-21 22:13:43] imap_parse_path() Using default IMAP port 143
[2019-09-21 22:13:43] imap_parse_path() Using default IMAPS port 993
[2019-09-21 22:13:43] curses_message() Reading imaps://ug-student\\lars.quentin:MY_RIGHT_PASSWORD@email.stud.uni-goettingen.de:993/INBOX...
[2019-09-21 22:13:43] curses_message() Looking up email.stud.uni-goettingen.de...
[2019-09-21 22:13:43] curses_message() Connecting to email.stud.uni-goettingen.de...
[2019-09-21 22:13:43] curses_message() SSL/TLS connection using TLS1.2 (ECDHE-RSA/AES-256-CBC/SHA1)
[2019-09-21 22:13:44] mutt_socket_open() Connected to email.stud.uni-goettingen.de:993 on fd=4
[2019-09-21 22:13:44] imap_cmd_step() grew buffer to 512 bytes
[2019-09-21 22:13:44] mutt_socket_readln_d() 4< * OK The Microsoft Exchange IMAP4 service is ready.
[2019-09-21 22:13:44] imap_cmd_step() IMAP queue drained
[2019-09-21 22:13:44] mutt_socket_write_d() 4> a0000 CAPABILITY
[2019-09-21 22:13:44] mutt_socket_readln_d() 4< * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN SASL-IR UIDPLUS UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
[2019-09-21 22:13:44] cmd_parse_capability() Handling CAPABILITY
[2019-09-21 22:13:44] cmd_parse_capability()  Found capability "IMAP4": 0
[2019-09-21 22:13:44] cmd_parse_capability()  Found capability "IMAP4rev1": 1
[2019-09-21 22:13:44] cmd_parse_capability()  Found capability "SASL-IR": 11
[2019-09-21 22:13:44] cmd_parse_capability()  Found capability "IDLE": 10
[2019-09-21 22:13:44] cmd_parse_capability()  Found capability "NAMESPACE": 4
[2019-09-21 22:13:44] mutt_socket_readln_d() 4< a0000 OK CAPABILITY completed.
[2019-09-21 22:13:44] imap_cmd_step() IMAP queue drained
[2019-09-21 22:13:44] imap_authenticate() Using any available method.
[2019-09-21 22:13:44] curses_message() Logging in...
[2019-09-21 22:13:44] mutt_socket_write_d() 4> a0001 AUTHENTICATE PLAIN LOOKS_LIKE_A_PASSWORD_HASH
[2019-09-21 22:13:45] mutt_socket_readln_d() 4< a0001 NO AUTHENTICATE failed.
[2019-09-21 22:13:45] imap_cmd_step() IMAP queue drained
[2019-09-21 22:13:45] curses_message() Login failed.
[2019-09-21 22:13:47] mutt_index_menu() [1119]: Got op 168
[2019-09-21 22:13:47] curses_message() Closing connection to email.stud.uni-goettingen.de...
[2019-09-21 22:13:47] mutt_socket_write_d() 4> a0002 LOGOUT
[2019-09-21 22:13:47] mutt_socket_readln_d() 4< * BYE Microsoft Exchange Server 2016 IMAP4 server signing off.
[2019-09-21 22:13:47] cmd_handle_untagged() Handling BYE
[2019-09-21 22:13:47] mutt_socket_readln_d() 4< a0002 OK LOGOUT completed.
[2019-09-21 22:13:47] imap_cmd_step() IMAP queue drained


More information about the neomutt-users mailing list