Hi,
thanks to Thomas and David for their comments -- even though I haven't replied 
to them yet, they won't be forgotten.

I needed a quick hack for the time being, so as of v0.3.91-17-g78a1c20, Trojita 
uses a very simple heuristic:

1) If any e-mail address you've configured as an identity is among the 
recipients/addressees, it wins. These addresses are compared in the order of 
appearence in the identities dialog.

2) If 1) didn't match, the same thing is repeated with domains. Subdomains are 
not supported.

3) Failing to pick anything, the default identity (i.e. the first one) wins.

Let's hope this is good enough for now. Patches implementing something better 
are welcome.

(If you want to try these and are on 
RHEL/SL/CentOS/Debian/Fedora/openSUSE/Ubuntu, the OBS [1] will have the 
trojita-nightly package ready in a few minutes. If you're on Gentoo, use 
mail-client/trojita-9999 as usual.)

Cheers,
Jan

[1] 
http://software.opensuse.org/download.html?project=home:jkt-gentoo:trojita&package=trojita-nightly

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to