Am 14.10.2013 11:03, schrieb A.L.E.C:
On 10/14/2013 10:47 AM, Michael Heydekamp wrote:
Thanks. But are you sure about "From"? During my tests I didn't manage to select the identity in the From: header at all. The default identity had been selected instead (unless From: and Return-path: were identical).
Well, From header check matches full mailbox spec., e.g. "Roundcube Users dev@lists.roundcube.net".
This is because we want to handle correctly situation when user has many identities with same address but different name.
Aha...! Is this also the logic how an "own message" is being detected?
I wasn't aware that it's possible at all to have more than one identity with the same address. Not the worst idea, I could indeed want to make use of it.
It's not perfect and I'm not saying we don't need an improvement here.
Right, although I don't have a better logic at hand right now.
As I'm thinking of it...: What happens if I have two identities with the same address, both match the address in the To: header (but none of them matches the full mailbox spec, if that should be checked at all as a last resort)? Which identity is selected then?
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany