Bug 412702 - Akonadi IMAPs daemon incorrectly uses system wide proxy settings
Summary: Akonadi IMAPs daemon incorrectly uses system wide proxy settings
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-07 15:33 UTC by Nayco
Modified: 2019-10-09 13:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
My Kmail version does not have any imap proxy settings checkbox (269.89 KB, image/png)
2019-10-08 06:08 UTC, Nayco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nayco 2019-10-07 15:33:43 UTC
Description of problem:

The Akonadi IMAPs daemon incorrectly uses the system wide proxy settings. It used to work fine, even when using a proxy (it would ignore it).

Version-Release number of selected component (if applicable):


How reproducible:

This is my job computer, our company is behind a proxy. The IMAP server is inside the company. I tried to setup "no_proxy", change KDE/Plasma proxy setting to various values/no value at all : no change ! I cannot get my emails.

PS : I installed this computer (Mageia 7) from scratch, it is not an upgrade from Mageia 6.

I only have one Mageia 7 computer, cannot test on another one.

Steps to Reproduce:
1. Setup the system wide proxy setting in Drakconf
2. Setup Kmail IMAPs account (inside the compagny, no need for proxy)
3. Kmail won't access the IMAPs server; packet sniffing shows that the process "akonadi_imap_resource" makes CONNECT requests to our company proxy (which refuses imaps)


Temporary - but not acceptable - solution : I removed the system-wide proxy settings and configured it inside the various programs that need it. But this breaks some programs that don't have a proxy setting en rely on the system-wide setting.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Linux 5.3.2-desktop-1.mga7
KDE Plasma Version: plasma-workspace-5.15.4-1.mga7, plasma-framework-5.57.0-1.mga7
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2
akonadi-19.04.0-1.mga7
Comment 1 Nayco 2019-10-07 15:34:02 UTC
Another temporary workaround : start Akonadi from the command line.

$ unset http_proxy; akonadictl start
Comment 2 Christophe Marin 2019-10-07 16:32:28 UTC
In the imap account dialog, "Advanced" tab, there's a "connect using the system proxy settings" box. What's this checkbox state?
Comment 3 Nayco 2019-10-08 06:08:09 UTC
Created attachment 123084 [details]
My Kmail version does not have any imap proxy settings checkbox

Hi, I do not have such a checkbox; see included attachment.
Comment 4 Laurent Montel 2019-10-08 06:13:20 UTC
it was implemented after your 19.04.
So you need to update your pim version.
Comment 5 David Geiger 2019-10-09 11:38:01 UTC
I'm one of the mageia's kde maintainer.

Which packages should be updated? or which commits could fix this issue? this is on a stable release distro so it's a bit difficult to make a big update.
Comment 6 Jonathan Marten 2019-10-09 12:25:41 UTC
The affected package is KIMAP.  See bug 407685 for reviews and commits.
Maybe this bug should be marked as a duplicate of that?
Comment 7 David Geiger 2019-10-09 13:11:50 UTC
(In reply to Jonathan Marten from comment #6)
> The affected package is KIMAP.  See bug 407685 for reviews and commits.

Thank you, I'll look backporting these patches.

> Maybe this bug should be marked as a duplicate of that?

Yes it can :)