Bug 146510 - Per-identity default domain (or per-transport)
Summary: Per-identity default domain (or per-transport)
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.3
Platform: FreeBSD Ports Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 20:34 UTC by John Baldwin
Modified: 2014-03-28 09:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baldwin 2007-06-07 20:34:20 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    FreeBSD Ports

It would be nice to have the 'Default domain' setting be configurable on either a per-identity or per-transport basis.  I use the same kmail instance to connect to my home IMAP server and my work IMAP server, and I would like to have the default domain for e-mails at work (using my work identity, and a special transport) to use my work domain name, whereas for my personal IMAP server I'd rather use my domain name as the default domain name.
Comment 1 Björn Ruberg 2010-01-07 02:43:08 UTC
for me a domain is part of an url. I don't get what your "domain" is. Can you explain?
Comment 2 John Baldwin 2010-01-07 16:07:32 UTC
Sure.  In the 'sending' tab of the Accounts preferences dialog in Kmail preferences is a "Default Domain" setting.  My understanding is the default domain is the domain name appended to e-mail addresses that just have a username field (the rollover text claims this as well).  Thus, if I compose an e-mail to 'foo', it actually gets sent to 'foo@<default domain>'.  So if my default domain is set to 'example.net' then an e-mail composed to 'foo' is actually e-mailed to 'foo@example.net'.  What I would like is to have the 'default domain' be a per-identity or per-transport setting rather than a global setting.  In my case I use a single kmail instance to talk to two different IMAP servers.  One is for my personal e-mail (I will use 'example.org' for this one), and the second is for my work e-mail (I will use 'example.com' for this one).

What I would like to do at a high level, is that if I send an e-mail to 'joe', I want it to go to 'joe@example.com' if I am sending a work e-mail and to 'joe@example.org' if I am sending a personal e-mail.  Since I use separate identities and transports for work e-mail vs personal e-mail, making the 'default domain' setting tied to either one of those rather than a global setting would accomplish that.
Comment 3 Björn Ruberg 2010-01-09 00:10:28 UTC
Okay, understood.
Comment 4 Myriam Schweingruber 2012-08-18 08:35:13 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 5 Alexander Potashev 2012-08-18 09:30:15 UTC
Still not implemented in KDE SC 4.8.
Comment 6 Laurent Montel 2014-03-28 09:46:39 UTC
Git commit a7a08b3389a7983901ff48c14ff8af6a6d945afd by Montel Laurent.
Committed on 28/03/2014 at 09:46.
Pushed by mlaurent into branch 'master'.

Fix Bug 146510 - Per-identity default domain (or per-transport)

FIXED-IN: 4.14

M  +1    -1    CMakeLists.txt
M  +17   -3    kpimidentities/identity.cpp
M  +7    -0    kpimidentities/identity.h
M  +32   -10   kpimidentities/identitymanager.cpp

http://commits.kde.org/kdepimlibs/a7a08b3389a7983901ff48c14ff8af6a6d945afd
Comment 7 Laurent Montel 2014-03-28 09:47:46 UTC
Git commit 77a45ae2d231bbda4963d3cdfade05f67a1fb075 by Montel Laurent.
Committed on 28/03/2014 at 09:47.
Pushed by mlaurent into branch 'master'.

Fix Bug 146510 - Per-identity default domain (or per-transport)

FIXED-IN: 4.14

M  +1    -1    CMakeLists.txt
M  +0    -24   kmail/configuredialog/configureaccountpage.cpp
M  +0    -1    kmail/configuredialog/configureaccountpage.h
M  +6    -1    kmail/editor/kmcomposewin.cpp
M  +27   -1    kmail/identity/identitydialog.cpp
M  +1    -0    kmail/identity/identitydialog.h
M  +4    -1    messagecomposer/composer/composerviewbase.cpp
M  +0    -6    messagecomposer/settings/messagecomposer.kcfg.cmake

http://commits.kde.org/kdepim/77a45ae2d231bbda4963d3cdfade05f67a1fb075