Bug 467270 - SMTP login not recognizing 334\r\n (example: GMX)
Summary: SMTP login not recognizing 334\r\n (example: GMX)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: trojita
Classification: Applications
Component: SMTP (other bugs)
Version First Reported In: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-13 10:40 UTC by Marcus Fey
Modified: 2024-09-23 18:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.