Bug 508752

Summary: Creating a mailbox fails
Product: [Applications] kontact Reporter: bluelupo <info>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: winter
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Step1
Step2
Step3
Step4
Step5
Step6

Description bluelupo 2025-08-26 08:20:28 UTC
Created attachment 184450 [details]
Step1

SUMMARY


STEPS TO REPRODUCE
1.  Go to “Settings/Configure Kmail”, then “Add Mailbox” 
2. The mailbox wizard will be launched
3. All of the following dialog boxes for creating the new mailbox have been filled out correctly.
4. After that, an error message appears.
In error in german:
Der IMAP-Server für den Zugang „SASL(-4): no mechanism available: No worthy mechs found“ hat den angegebenen Benutzernamen und das Passwort zurückgewiesen.
Möchten Sie die Anmeldung erneut versuchen oder die Einstellungen anzeigen?

 
OBSERVED RESULT
Mailbox not working and showing as offline

EXPECTED RESULT
Mailbox should function correctly

SOFTWARE/OS VERSIONS

Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Intel® HD Graphics 4000

ADDITIONAL INFORMATION
Creating a mailbox does not work with other mail providers either.
I have documented all the steps involved in setting up a mailbox with the attached screenshots (6 Screenshots).
Comment 1 bluelupo 2025-08-26 08:21:09 UTC
Created attachment 184451 [details]
Step2
Comment 2 bluelupo 2025-08-26 08:21:51 UTC
Created attachment 184452 [details]
Step3
Comment 3 bluelupo 2025-08-26 08:22:10 UTC
Created attachment 184453 [details]
Step4
Comment 4 bluelupo 2025-08-26 08:22:33 UTC
Created attachment 184454 [details]
Step5
Comment 5 bluelupo 2025-08-26 08:22:53 UTC
Created attachment 184455 [details]
Step6
Comment 6 Allen Winter 2025-08-26 20:48:00 UTC

*** This bug has been marked as a duplicate of bug 505656 ***
Comment 7 bluelupo 2025-08-27 10:52:40 UTC
The solution suggested in the bug  505656  report helped.

1. Create a new script in ~/.config/plasma-workspace/env named 'sasl_path.sh' with the following content.
  export SASL_PATH=/usr/lib/x86_64-linux-gnu/sasl2

2. Create a new symlink in /usr/lib/x86_64-linux-gnu/sasl2 since libkdexoauth2.so didn't exist:
  cd /usr/lib/x86_64-linux-gnu/sasl2
  sudo ln -s libkdexoauth2.so.3 libkdexoauth2.so

After that, it was possible to set up a mailbox again.