Bug 98518

Summary: Associate identity to send from with particular address
Product: [Applications] kmail Reporter: David Corbin <kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Corbin 2005-02-03 19:27:27 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
OS:                Linux

I would like to be able to configure KMail, so that all mail being sent to address 'foo', comes from identity 'bar'. The use of mailing list folders and configuring them with a default identity comes close, but doesn't go the whole distance.  Sometimes I'll send an email when I'm not in the mailing list folder, I forget to set the identity, and then the mail gets rejected.
Comment 1 Nick Matteo 2005-04-12 23:53:06 UTC
I was about to complain about this myself, but I just discovered:

When in the compose window, there is a checkbox next to the identity selection saying "Sticky."  If you select that, all mail to that address in the future will come from the identity you select!

That should deal with your problem, right?
Comment 2 Nick Matteo 2005-04-12 23:55:06 UTC
Never mind, sticky makes that identity apply to all new mails, regardless of address.

Okay:  Please add an ability to automatically select identity based on the address you're replying to.  I'm very frustrated with my mail to listservs always being rejected.
Comment 3 Andras Georgy Bekes 2006-06-07 12:22:39 UTC
Automatically selecting identity based on the recipients' addresses should work for not only concrete recipient addresses, but rather for address rules. What I mean... mails to any address of a company should be sent from a specific identity. The user should be able to specify that "foo" identity should be used for all recipients *company1.com and "bar" for all recipients *company2.com and so on.

Before sending a mail, KMail should also complain (and request confirmation) if the identity is incompatible with one of the recipients.
Comment 4 Michael Zimmermann 2006-08-30 12:05:09 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Bram Schoenmakers 2007-03-09 18:53:51 UTC

*** This bug has been marked as a duplicate of 52426 ***