Currently listhandler attempts to find a drupal user by "Name", and when that fails, it creates a new user with the name and email address in the email. As a result, when the name in the email doesnt exactly match the name provided in drupal, a new user is created with the same email address; this then prevents the real user account from being updated with an error message "The e-mail address xxxx is already taken."

Steps to reproduce:
1. create a drupal account using "First M Surname"
2. subscribe to an email list as "First Middle Surname"
3. post to the email list.

Expected results:
message associated with drupal user due to identical email address

Actual results
additional user created with same email address, preventing real account from being updated.

Comments

mathieu’s picture

This is probably because you don't have the right "From header" set up in mailhandler mailbox configuration. Even though it says something about using "Sender" with listservs, I have to use "From" to get it to work with messages coming from my mailman list.

philipnet’s picture

Title: user lookup on name only » Look sender up on e-mail address rather than name
Version: 4.6.x-1.x-dev » master
Assigned: zeroj » philipnet
Priority: Critical » Normal
chrissearle’s picture

shark’s picture

Status: Active » Closed (duplicate)

Closing; duplicate of #277848. I will update that issue to include the nice description of the issue provided here.