Bug 508752 - Creating a mailbox fails
Summary: Creating a mailbox fails
Status: RESOLVED DUPLICATE of bug 505656
Alias: None
Product: kontact
Classification: Applications
Component: mail (other bugs)
Version First Reported In: 6.5.0
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-26 08:20 UTC by bluelupo
Modified: 2025-08-27 10:52 UTC (History)
1 user (show)

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


Attachments
Step1 (64.77 KB, image/png)
2025-08-26 08:20 UTC, bluelupo
Details
Step2 (72.24 KB, image/png)
2025-08-26 08:21 UTC, bluelupo
Details
Step3 (125.31 KB, image/png)
2025-08-26 08:21 UTC, bluelupo
Details
Step4 (37.88 KB, image/png)
2025-08-26 08:22 UTC, bluelupo
Details
Step5 (50.22 KB, image/png)
2025-08-26 08:22 UTC, bluelupo
Details
Step6 (28.91 KB, image/png)
2025-08-26 08:22 UTC, bluelupo
Details

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