[Bug 159251] Store per-contact From address in addressbook and use it in composer

Dotan Cohen kde-3 at dotancohen.com
Tue Apr 28 09:55:06 BST 2009


https://bugs.kde.org/show_bug.cgi?id=159251





--- Comment #10 from Dotan Cohen <kde-3 dotancohen com>  2009-04-28 10:55:04 ---
> 1. {SMTP Server Filter} - wouldn't it be easier to implement this as an SMTP
> server (Postfix, etc.) filter, and then configure kmail to send it via the
> local SMTP server, which will do the hard work in respect to this bug for
> KMail? Such filters can be written in Perl/Python/Ruby/etc. which will make the
> job even easier.

While that would likely be easier to implement, many organizations require the
mail to be sent from their own servers. For instance, SPF authentication can
only be done for mail sent through a specific server.

Additionally, some receiving mail servers block certain IP ranges (countries
more or less) from sending them mail, a common work around is to send mail from
an SMTO server in another country (Actually, Shlomi, there have been
discussions on Linux-IL that our nation is one of those blocked!).



> 2. {Conflict} - what happens if you send an email to more than one mailing
> list, where you have a different address used for each? How will the conflict
> be resolved?

Currently the Virtual Identities extension uses the From address for the To
address listed. That is a bad 'solution', and the only way around it that I
have found is to send individual messages to each receiver. If Kmail could do
this transparently (I will make an example below) it would be great, but if not
then a warning that some receivers will get the wrong From address would
suffice.



The multi-recipient example: Assume the user has the address yosi at myDomain.com
configured for sending mail to yosi at technion.ac.il and has the address
gilad at myDomain.com for sending mail to gilad at walla.co.il. Now he addresses a
single letter to "yosi at technion.ac.il, gilad at walla.co.il".

The ideal solution would have Kmail send two mails: one to each recipient, each
with a different From address.

However, a decent workaround would be to have Kmail send a single mail, with
the From address "yosi at myDomain.com" to both recipients, and pop up a warning
to the user that "gilad at walla.co.il" will be getting an email with the wrong


More information about the Kdepim-bugs mailing list