The attached patch add an extra option to listhandler settings.
The "Account map" option let you to pre-assign an existent drupal account to nodes generated by anonymous mails, thus preventing new users creation by listhandler.

Comments

samuelet’s picture

Title: Assign existent account as anonymous mail author » Assign an existent account as content author of anonymous mails
cor3huis’s picture

Version: 5.x-1.x-dev » 6.x-1.0

THANKS, for the patch. Although the patch is against v5.x-1.x-dev the issue is now set to version 6.x-1.x since this feature could prove very useful for listhandler.

samuelet’s picture

StatusFileSize
new5.24 KB

Well, i'm glad to see that after many time there is at least one user interested in this feature, so i'm attach the 6.x version (built against the "2011-Feb-02" listhandler dev version).

cor3huis’s picture

@samuelet, THX really appreciated. As you can see also by current work e.g. from ilo on mailhandler and listhander trying to get the modules to a high level ;P BTW so many changes patch and changes with my Drupal so it will be a while before I can test the patch myself.

denisgre’s picture

Hello Samulet,

This is also a very valuable feature for us since we don't want to manage all those blocked accounts. Also, I'm concerned if a new user comes in via the mailing list that we will have a conflict when they eventually do sign-up.

My question for you is how to apply this patch? This is not clearly documented inline code and I don't have a lot of experience with this.

Thanks for any help you can provide and I hope that we'll see this in the D7 release.

samuelet’s picture

The quick way under linux is to download the patch in your listhandler, test it with:
patch -p0 --dry-run < mypatch.patch

and if no errors are diplayed, apply it with:
patch -p0 < mypatch.patch

If there are errors (patch was built against an old module release), you need to manual fix them, for example adding lines with sign +and deleting lines with -.

This is a general guide about patch on drupal:
http://drupal.org/node/620014

denisgre’s picture

Thanks Samuelet, I ended up doing it the hard way but that is great for next time.

Denis.