I have experienced a serious problem in which a reply by me is posted on site under the wrong name. This is the sequence:

I create a new topic either by email (using a dedicated email address - not the mail comment address) or on-line.
A Notification of the new topic is sent out.
A different member comments on my topic by replying to the Notification.
His reply (comment) is posted on-line in the correct place demonstrating mail comment is doing its job.
A Notification of the new comment is sent out.
So far so good, but now the problem:
I reply by email to the comment my friend made. The comment is uploaded and put in the right place but it says it is from my friend!

Comments

Remon’s picture

Any updates on this issue?

ezra-g’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

With the latest 2.x dev of Mailhandler and 6.x-2.2 of Mailcomment I'm having a similar issue: All comments are attributed to user 1 regardless of the author.

From some debugging, I found that the MailcommentAuthenticate class isn't being used to determine the author. My expectation was that this class would be used by mailcomment instead of MailhandlerAuthenticate, but I see that mailcomment_default.module also sets MailhandlerAuthenticate as the default authentication plugin in its featureized export.

MailcommentAuthenticate doesn't appear as an option at admin/build/feeds/edit/mailhandler_comments/settings/MailhandlerParser under the "Authentication plugin" dropdown, which leads me to wonder if it's being defined incorrectly in some way.

I'd love to file a patch to correct this. It would be great to get some confirmation that this is the right line of debugging. I'm in #drupal-contribute on IRC if you'd like to chat.

danepowell’s picture

Just FYI, 6.x-1.x is no loner maintained so I can't speak to the original issue.

As to #2- I'm not sure why the MailhandlerAuthenticate plugin isn't working, it should just key off of the sender's address. At any rate, I agree that it's a bug that the default importer uses MailhandlerAuthenticate, and I think you are on the right track overall.

danepowell’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.