Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identity selection: Handling of "From:" header (and probably "To:" and "Cc:" as well) #4360

Closed
rcubetrac opened this issue Oct 14, 2013 · 3 comments

Comments

@rcubetrac
Copy link

Reported by myfreexp on 14 Oct 2013 12:53 UTC as Trac ticket #1489378

Currently, the address in the From: header will only be used as an identity if it matches exactly the full mailbox spec (name+address) of any of the identities.

This should be improved in a similar way the To: and Cc: headers are handled:

If there is just one identity which matches at least the address in the To: header, use this identity anyway (even if name+address don't match).

If there is more than one identity with a matching address, give higher priority to the identity that matches exactly name+address. If there is no such exact match, use one of the identities which matches at least the address in the From: header.

I'm just not sure which of the several identities should be selected, if there is more than one with a matching address (but with no exact match of name+address).

The same handling should apply to the To: and Cc: header (if not implemented this way already anyway).

Migrated-From: http://trac.roundcube.net/ticket/1489378

@rcubetrac
Copy link
Author

Comment by myfreexp on 14 Oct 2013 12:58 UTC

Replying to myfreexp:

If there is just one identity which matches at least the address in the To: header, use this identity anyway (even if name+address don't match).

This should read "From: header", of course.

@rcubetrac
Copy link
Author

Comment by @alecpl on 4 Nov 2013 10:20 UTC

Fixed in a8b004e.

@rcubetrac
Copy link
Author

Status changed by @alecpl on 4 Nov 2013 10:20 UTC

new => closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant