LukeSmithxyz / mutt-wizard

A system for automatically configuring mutt and isync with a simple interface and safe passwords
GNU General Public License v3.0
2.39k stars 382 forks source link

Problems setting up "email.gwdg.de" - no kerberos credentials #988

Open cgahr opened 4 months ago

cgahr commented 4 months ago

I'm trying to setup my email. I run the following command:

mw -a user@email -i email.gwdg.de -I 993 -s email.gwdg.de -S 587 -x "$(pass user@email)"

The output is as follows:

gpg: WARNING: server 'gpg-agent' is older than us (2.2.27 < 2.4.0)
gpg: problem with fast path key listing: IPC parameter error - ignored
File '/home/user/.password-store/user@email.gpg' exists. Overwrite? (y/N) y
gpg: WARNING: server 'gpg-agent' is older than us (2.2.27 < 2.4.0)
gpg: problem with fast path key listing: IPC parameter error - ignored
Log-on not successful

The IMAP ports are correct: https://docs.gwdg.de/doku.php?id=de:services:email_collaboration:email_service:pop3_und_imap

If I run

curl -v --location-trusted -s -m 5 --user "user@email:$(pass user@email)" --url "imaps://email.gwdg.de:993" -f

I get

gpg: WARNING: server 'gpg-agent' is older than us (2.2.27 < 2.4.0)
gpg: problem with fast path key listing: IPC parameter error - ignored
*   Trying 134.76.15.146:993...
* Connected to email.gwdg.de (134.76.15.146) port 993 (#0)
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
*  subject: C=DE; ST=Niedersachsen; O=Gesell. f�r wissenschaftliche Datenverarbeitung mbH, G�ttingen; CN=email.gwdg.de
*  start date: Jan 22 00:00:00 2024 GMT
*  expire date: Jan 21 23:59:59 2025 GMT
*  subjectAltName: host "email.gwdg.de" matched cert's "email.gwdg.de"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Organization Validation Secure Server CA
*  SSL certificate verify ok.
< * OK The Microsoft Exchange IMAP4 service is ready.
> A001 CAPABILITY
< * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=NTLM AUTH=GSSAPI SASL-IR UIDPLUS UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
< A001 OK CAPABILITY completed.
* gss_init_sec_context() failed: No credentials were supplied, or the credentials were unavailable or inaccessible. No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000). 
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, close notify (256):

This might be related to #768 , they got the same Kerberos error. The some configuration works with thunderbird!

Do you have any idea? Thanks a lot already!