Bug 75157

Summary: different identities for different mailing lists
Product: [Applications] kmail Reporter: Neal Becker <ndbecker2>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 1.6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Neal Becker 2004-02-13 16:11:02 UTC
Version:           1.6 (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.3.2 20031107 (Red Hat Linux 3.3.2-2)
OS:          Linux (i686) release 2.4.22-1.2149.nptl

I need to use different identities to send mail to different places.

kmail supports multiple identities, but AFAIK, it doesn't have a way to intelligently select.

I'd like to see:

1) Select based on regex of destination
2) When configuring a folder to correspond to a mailing list, I'd like to be able to set the default identity to be used.

Actually, #1 is sufficient, but #1 + #2 would be nice.
Comment 1 Ingo Klöcker 2004-02-13 18:44:41 UTC
#2 is already possible. Actually you can specify an identity for any folder (except the five system folders) and not just for mailing list folders. It will be used for replies and for new messages.

#1 would IMO be very confusing because the identity would change while you enter the destination address.

Isn't #2 sufficient?
Comment 2 Neal Becker 2004-02-13 19:49:56 UTC
On Friday 13 February 2004 12:44 pm, Ingo Kl
Comment 3 Don Sanders 2004-02-16 04:24:45 UTC
On Saturday 14 February 2004 04:49, Neal Becker wrote:
...
> If I want to send mail to almost any outside address, I want it
> from my personal address   But if I am sending to someone at my job
> from work, they get very upset if I use my personal external
> address
>
> Would be cool if I could specify mail to  * hns com would use my
> hns com identity, to solve this issue

Are you aware of the set identity filter action?

If mail I receive is sent to sanders@kde.org then I "set identity to" 
my KDE identity. If it is sent to sanders@trolltech.com then I "set 
identity to" my Trolltech identity.

I guess a *@kde.org regexp could be used instead of a complete email 
address. In case a mail is sent to both addresses it is necessary to 
order filters so that one identity takes priority.

Don.

Comment 4 Neal Becker 2004-02-17 03:18:18 UTC
On Sunday 15 February 2004 10:24 pm, Don Sanders wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=75157
>
>
>
>
> ------- Additional Comments From sanders kde org  2004-02-16 04:24 -------
> On Saturday 14 February 2004 04:49, Neal Becker wrote:
> ...
>
> > If I want to send mail to almost any outside address, I want it
> > from my personal address   But if I am sending to someone at my job
> > from work, they get very upset if I use my personal external
> > address
> >
> > Would be cool if I could specify mail to  * hns com would use my
> > hns com identity, to solve this issue
>
> Are you aware of the set identity filter action?
>

No, I wasn't aware of this.  Cool!

Comment 5 Ingo Klöcker 2004-02-17 15:39:51 UTC
Note that the set identity filter action doesn't help for newly created messages.

Filters which are applied to outgoing messages (i.e. before sending) would fix the problem.
Comment 6 Tom Albers 2004-08-12 19:33:36 UTC

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