Dear all,

I recently created an account on onionmail and I have problems login in.

My android k9-mail programme can connect, retrieve and send messages
but I need mutt to work with this one.

This is the server information, as provided by the web page:

IMAP/SMTP server: mail.onionmail.org
Port IMAP: 993  SMTP: 587
Security IMAP: TLS/SSL SMTP: STARTTLS
Username: xxx (without @onionmail.org)

This is my muttrc configuration file for IMAP and SMTP:

------------
set from="xxx <x...@onionmail.org>"
set use_from=yes
set copy=yes


set ssl_starttls = yes
set ssl_force_tls = yes
set imap_user=xxx
set imap_pass=yyy
set folder=imaps://mail.onionmail.org:993/
set spoolfile=+inbox

et smtp_pass = ${imap_pass}
set smtp_url=smtp://mail.onionmail.org:587/
------------

mutt fails and the message is "login failed"

I recompiled mutt with debugging enabled (Mutt 1.14.7 (2020-08-29) )

./configure  --prefix=/tmp --enable-imap --enable-smtp --enable-debug --with-ssl

When running mutt -d 2 I get this:

--------------------------------
[2020-09-13 00:11:45] Reading imaps://mail.onionmail.org:993/inbox...
[2020-09-13 00:11:45] Looking up mail.onionmail.org...
[2020-09-13 00:11:45] Connecting to mail.onionmail.org...
[2020-09-13 00:11:45] ssl_load_certificates: loading trusted certificates
[2020-09-13 00:11:45] ssl_socket_open: Error loading trusted certificates
[2020-09-13 00:11:45] ssl_verify_callback: checking cert chain entry
/O=Digital Signature Trust Co./CN=DST Root CA X3 (preverify: 1
skipmode: 0)
[2020-09-13 00:11:45] ssl_verify_callback: checking cert chain entry
/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3 (preverify: 1
skipmode: 0)
[2020-09-13 00:11:45] ssl_verify_callback: checking cert chain entry
/CN=mail.onionmail.org (preverify: 1 skipmode: 0)
[2020-09-13 00:11:45] ssl_verify_callback: hostname check passed
[2020-09-13 00:11:45] TLSv1.3 connection using TLSv1/SSLv3
(AEAD-AES256-GCM-SHA384)
[2020-09-13 00:11:46] Connected to mail.onionmail.org:993 on fd=4
[2020-09-13 00:11:46] 4< * OK WildDuck IMAP Server ready for requests
from 178.5.237.59 7624hqzshtrevtdbpq5
[2020-09-13 00:11:46] 4> a0000 CAPABILITY
[2020-09-13 00:11:46] 4< * CAPABILITY IMAP4rev1 AUTH=PLAIN
AUTH=PLAIN-CLIENTTOKEN CHILDREN ENABLE ID IDLE NAMESPACE QUOTA SASL-IR
UNSELECT XLIST
[2020-09-13 00:11:46] 4< a0000 OK CAPABILITY completed
[2020-09-13 00:11:46] imap_authenticate: Using any available method.
[2020-09-13 00:11:46] Logging in...
[2020-09-13 00:11:46] Sending LOGIN command for xxx...
[2020-09-13 00:11:46] 4< a0001 NO [AUTHENTICATIONFAILED] Invalid credentials
[2020-09-13 00:11:46] Login failed.
--------------------------------

---> [AUTHENTICATIONFAILED] Invalid credentials

Any idea of what is going on?

thanks

Reply via email to