Bug 467270

Summary: SMTP login not recognizing 334\r\n (example: GMX)
Product: [Applications] trojita Reporter: Marcus Fey <mfey>
Component: SMTPAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: espen
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marcus Fey 2023-03-13 10:40:31 UTC
SUMMARY
Login to GMX SMTP does not work, Trojita does not recognize the 334 message after its AUTH PLAIN

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Add GMX as SMTP configuration (mail.gmx.net, STARTTLS or TLS)
2. Activate "Authentication" and add pretty much any email and password, hit "Save"
3. Compose a new email
4. Hit "Send"

OBSERVED RESULT
The progress bar stops at 50% for some time. The app waits for quite some time and finally declares a timeout.

Except from console log:
---
SMTP >>> "EHLO localhost\r\n"
SMTP <<< 220 gmx.net (mrgmx104) Nemesis ESMTP Service ready

SMTP <<< 250-gmx.net Hello localhost [84.xxx.xxx.xxx]

SMTP <<< 250-8BITMIME

SMTP <<< 250-AUTH LOGIN PLAIN

SMTP <<< 250 SIZE 69920427

SMTP >>> AUTH PLAIN
SMTP <<< 334

None of two regular expressions matched the input "334\r\n"
SMTP <<< 421 gmx.net Service closing transmission channel - command timeout
---

EXPECTED RESULT
Login is successful

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Lubuntu 22.04.2
(available in About System)
KDE Plasma Version: 5.24.7-0ubuntu0.1 / 5.92.0-0ubuntu1 (?)
KDE Frameworks Version:  5.24.7-0ubuntu0.1 / 5.92.0-0ubuntu1 (?)
Qt Version: ?

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2024-09-23 18:51:02 UTC
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/

Sorry for the inconveniences.