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

Lars Quentin lars.quentin at stud.uni-goettingen.de
Sun Sep 22 01:03:39 CEST 2019


Good evening,

I think I figured out the problem but I don't know how to fix it.

After reading the "RFC 4616.2. PLAIN SASL Mechanism", I saw that the 
plain login in neomutt is tried as

ug-student\lars.quentin\0ug-student\lars.quentin\0my_secure_password

which doesn't work when I try it myself via openssl as well.

But when I decode it as

\0ug-student\lars.quentin\0my_secure_password

as told here (https://stackoverflow.com/a/14158574), it works.

How do I properly configure it that it leaves the first parameter empty? 
Or am I missing the whole point?

Cheers
Lars

On 21.09.19 22:31, Lars Quentin wrote:
> 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)


More information about the neomutt-users mailing list