Skip to content

Vote tabulation - UID/email detection doesn't work when sent from external email with strict DKIM settings #870

@alitheg

Description

@alitheg

If a user emails the mailing list to vote but does so from an external domain with a strict DKIM setting (p=reject), the email ATR sees is "dev@.apache.org" (example). This is due to the rewrite by the ASF mail server, and means the release manager doesn't know whose vote it is (and whether it's binding or not)

If we want to show the actual person, we'd need to do one or more of a few things:

  • Detect the mailing list name itself as the FROM field
  • If that's the case, check reply-to (which will include the original user if there wasn't already a reply-to set)
  • If that still the mailing list, get the email from the CC field (it's either the first or last, to be investigated)
  • If we get a mail, use that as the email
  • If not, we could use the user's name from the From field ("Alastair McFarlane via dev@...")

Once we have a mail, we could also potentially look it up in the mail field in LDAP to see if we have a UID for them or not.

The goal is that we give the release manager all of the information that is available, but it is up to the release manager to check that information and to make the final determination.

We can decide how far we want to go to provide "all the info that is available" but I'd say we should at least pull the person's name if the email comes up as "dev@"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingvoteVote phase issue

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions