You are not logged in.

#1 2025-02-24 14:19:44

Leloup
Member
Registered: 2025-02-21
Posts: 5

[Solved] Installation of KMail with ISP's mail servers

Bonjour,
I want to try Arch Linux to see the difference with a classic Linux. I've installed it but for the moment, I'm having trouble installing notepadqq. That's not a problem, I can use nano, cat...
But I'm having trouble installing Kmail because it's associated with Kontact, wallet and akonadi... At first, it asked me for a password... but as I hadn't entered one, I didn't understand what it was asking.
I couldn't find it on the web. I looked for tutorials, but they're mostly for gmails, which isn't my case. I use my ISP's mail servers.

Do you have any idea to solve my Kmail installation issue?

Regards,
Leloup

Last edited by Leloup (2025-03-08 08:14:26)

Offline

#2 2025-02-24 16:58:27

mackin_cheese
Member
Registered: 2025-01-07
Posts: 356

Re: [Solved] Installation of KMail with ISP's mail servers

What is exactly asking for a password?

Offline

#3 2025-02-24 17:37:40

mithrial
Member
Registered: 2017-03-05
Posts: 76

Re: [Solved] Installation of KMail with ISP's mail servers

Was it maybe the kwallet keyring?

Offline

#4 2025-02-25 07:38:52

Leloup
Member
Registered: 2025-02-21
Posts: 5

Re: [Solved] Installation of KMail with ISP's mail servers

I can't remember exactly, but it was a window with a title saying something like “Enter your password”, without knowing which application was asking for it.
Since then, after several attempts, I've tried to stop Kwallet or Akonadi. I don't know.
Then I reinstalled everything
sudo pacman -S kmail akonadi kontact kwalletmanager
But the applications kept their original configuration.
And I get a message:
Unable to read password: user has denied access to KMail Arch Linux wallet

Offline

#5 2025-02-25 15:14:15

mackin_cheese
Member
Registered: 2025-01-07
Posts: 356

Re: [Solved] Installation of KMail with ISP's mail servers

Have you tried your password?

Offline

#6 2025-02-25 19:04:30

cryptearth
Member
Registered: 2024-02-03
Posts: 1,367

Re: [Solved] Installation of KMail with ISP's mail servers

have you setup password-less autologin?

Offline

#7 2025-02-26 13:50:48

Leloup
Member
Registered: 2025-02-21
Posts: 5

Re: [Solved] Installation of KMail with ISP's mail servers

I created a wallet and called it Walette.
Since the update, KWalletmanager doesn't open.
In the system configuration and in the KDE wallet, I see Walette. I've selected it by default and for local passwords.
I installed Brave and Walette now handles mailtransport, kwalletmanager, Brave and xdg-desktop-portal.
However, when I launch Kcontact or KMail, the KDE wallet service opens a small window: the akonadi_imap_ressource_3 application has requested the opening of the “kdewallet” wallet. Please enter the password for this wallet.
I'm back to square one.
I've tried leaving a blank as suggested on some sites, then the admin password but it's the same thing.
To try to solve the problem with akonadi, I proceeded as shown below:
akonadictl stop
I deleted ~/.local/share/akonadi and ~/.config/akonadi
and I've also deleted the files starting with akonadi in ~/.config
akonadictl start
But the problem remains the same.

Offline

#8 2025-02-26 13:56:19

Leloup
Member
Registered: 2025-02-21
Posts: 5

Re: [Solved] Installation of KMail with ISP's mail servers

I don't know what the password-less autologin setup is?
Is it useful to solve my problem?

Offline

#9 2025-03-08 08:06:46

Leloup
Member
Registered: 2025-02-21
Posts: 5

Re: [Solved] Installation of KMail with ISP's mail servers

My problem is solved, here's a summary.
Here's what worked for me:
1_ Cleaning wallets
Go to System configuration / Security & Privacy
Open KDE Wallet
In the bottom right-hand corner, click on the “Launch wallet manager” (kwalletmanager) button.
note your password
create a new wallet
delete wallet with unknown password
2_ Cleaning Akonadi
Delete
~/.local/share/akonadi*
and
~/.config/akonadi*
restart akonadi
A new wallet is created, note the password.
3_ KMail cleanup
Please note that all content will be deleted. Back it up if necessary.
Update packages with repository refresh:
sudo pacman -Syyu
Remove a package and its dependencies:
sudo pacman -Rs kmail
Each removal request is blocked
removing kmail breaks the “kmail” dependency required by kde-pim-meta
Then note the dependency and delete it
sudo pacman -Rs kde-pim-meta
and so on...
Then reinstall the dependencies in the reverse order of deletion.
sudo pacman -S ....
up to kmail
4_ Kmail configuration
Either via Kontact or Kmail
For configuration, the account name or identification must be consistent.
Receiving and Sending
In the case of my ISP, two encryption-port pairs are possible.

Regards,
Leloup

Offline

#10 2025-03-08 08:24:53

cryptearth
Member
Registered: 2024-02-03
Posts: 1,367

Re: [Solved] Installation of KMail with ISP's mail servers

kmail is optional so there should be nothing requiring it - hence a simple pacman -Rns kmail should work
also: pacman is a depency ssolving packagemanager - it will pull in all depdndencies on its own - no need for manual explicit installation - we're not on LinuxFromScratch

Offline

#11 2025-03-08 11:42:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,466

Re: [Solved] Installation of KMail with ISP's mail servers

kmail is optional so there should be nothing requiring it - hence a simple pacman -Rns kmail should work

Nope.

$ pactree --reverse --sync kmail
kmail
└─kde-pim-meta
  └─kde-applications-meta
$ 

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#12 2025-03-08 11:58:24

cryptearth
Member
Registered: 2024-02-03
Posts: 1,367

Re: [Solved] Installation of KMail with ISP's mail servers

well - with the various kde-* sub-groups being optional kmail is optional - it just depends on how you pull it in
I've just pulled in the base plasma group - so even the terminal Konsole which is part of both kde-applications and kde-utilties is optional - although with it (or any other terminal emulator) you end up on a desktop with terminal - pretty much how base doesn't contain any editor

Offline

Board footer

Powered by FluxBB