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

shlomif at iglu.org.il shlomif at iglu.org.il
Tue Apr 28 10:09:35 BST 2009


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





--- Comment #11 from  <shlomif iglu org il>  2009-04-28 11:09:29 ---
(In reply to comment #10)
> > 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!).
> 

Yes, but a localhost SMTP server that KMail sends email to, and it manipulates
it and sends it to the server you want is indistinguishable from KMail. You
just send it to the server using SMTP to localhost (or /usr/sbin/sendmail,
etc.), it manipulates the message, and sends it on its way to the server that
is required (be it the company's SMTP server, your hosting's SMTP server, a
server in a different country, etc.).

So this server acts as an intermediate, transforming, proxy to the message
you've sent.

> 
> 
> > 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. 

But there can be multiple To: addresses.

> That is a bad 'solution', and the only way around it that I
> have found is to send individual messages to each receiver. 

But how will they know that the messages had other recipients? If you specify a
"To:" or "CC:" it will get sent to them.

> 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.

OK.

> 
> 
> 
> 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.
> 

It wouldn't be ideal because Yosi won't know that the mail was sent to Gilad,
and vice versa.

> 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
> From address. The user could then accept or decline the sending of the email,
> if he declines he can then manually construct a second (or third...) email
> message for each recipient.
> 

OK.

> Thanks Shlomi, have a happy Independence Day!

Thanks, have one too.

Regards,

-- Shlomi Fish

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list