At first I thought the author was dictated by the To: email address of the retrieved message, but after some testing it also seemed if the From: address matched an account on the server then that account might be the author. In short it seems to be tuff to predict (, or at least I don't have clear understanding of it).

Is there a "Default Command" (or some other method) that can be used to force what drupal user will be the author of nodes created?

Using Drupal 5.12 and Mailhandler 5.x-1.4

Thanks
Mike

Comments

cor3huis’s picture

Status: Active » Postponed (maintainer needs more info)

Did you manage to get it working?

ilo’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

"To:" is used by the MTA to make the email arrive to the receiver: the destination address, also, the mailbox address.. the receiver is not intented to be the author, but the submitter, in this case the 'From:' header-.

If you want the posts to be created using the 'To:' header, then probably you should find a way to make the emails arrive to the mailbox from the same account, so the address appears also in the 'From:'.