Bug 323189 - kmail with UseNepomuk=true in kpimcompletionorder doesn't sanitise addresses
Summary: kmail with UseNepomuk=true in kpimcompletionorder doesn't sanitise addresses
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: contact completion (show other bugs)
Version: 4.12
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-08-05 10:31 UTC by Paul Sobey
Modified: 2018-09-26 04:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Sobey 2013-08-05 10:31:28 UTC
On the advice of a recent bug (https://bugs.kde.org/show_bug.cgi?id=259949#c154), I added the UseNepomuk=true stanza to my kpimcompletionorder config file.

While this works like a charm for bringing up addresses, I think kmail or nepomuk needs to do extra work to sanitise addresses with commas in.

Reproducible: Always

Steps to Reproduce:
1. Add UseNepomuk=true to ~/.kde4/share/config/kpimcompletionorder 
2. Restart kmail
3. Search for a name, nepomuk presents list of addresses, select one with a comma in the displayname
4. Send email, watch mail server reject it because the comma isn't quoted
Actual Results:  
After selecting from 'Contacts Found in Your Data', kmail inserts:

Surname, Firstname <firstname.surname@company.com>

When pressing send, the mail relay rejects:

2013-08-05 11:29:01 unqualified recipient rejected: <Surname> H=client.company.com (client.localnet) [10.0.0.1]


Expected Results:  
Kmail should wrap quotes around the description part of the address, and only present the <email@address> part to the mail relay.
Comment 1 Paul Sobey 2014-01-17 11:25:51 UTC
Hi there, this bug is still present in kmail2 v. 4.12.0. Is it possible to address it? I note that the UseNepomuk=true line has disappeared from my kpimcompletionorder, but I still get address suggestions, implying this is now default behaviour, but strings aren't properly wrapped in quotes still.
Comment 2 Martin Steigerwald 2015-09-10 10:45:06 UTC
Hello Paul, thank you for your report and sorry for the long delay in answering. It is about a version of KMail that is using KMail and is unmaintained. Can you still reproduce this issue with at least Baloo search based KDEPIM 4.14 and latest Akonadi 1.13 or even Akonadi search based (renamed Baloo) KDEPIM/Akonadi 15.08 if you can get it already? Note that there is no Nepomuk anymore in this, so the nepomuk related option will likely have no effect anymore. Thank you and greetings from KDE Randa Meetings, Martin
Comment 3 Andrew Crouthamel 2018-09-26 04:10:01 UTC
Hi there, this bug has been identified to be related to nepomuk, the semantic searching system in prior versions of KDE. Please note that nepomuk has been replaced by Baloo. I'm going to close this bug due to the use of the new Baloo system. Please do file a new bug for frameworks-baloo if you happen to continue having issues with search.