Listhandler

killes@www.drop.org - September 28, 2003 - 16:44

Listhandler is a module that aims at inserting mailing list discussions in Drupal forum and vice versa.

It works together with the mailhandler module. Mailhandler monitors a POP3 or IMAP folder or an mbox file and listhandler puts the incoming messages into the preconfigured forum and sends web responses back to a preconfigured mail address. It works with any list processor.

Time scales

  • Drupal 5 - Please use the 5.x-1.0-dev tarball for the moment.
    There will be a beta2 release on 31st of May.
    And a 5.x-1.0 (stable) release on 28th of June.
  • Drupal 6 - Work has started, but HEAD is not yet Drupal 6 compatible.

Releases

Official releasesDateSizeLinksStatus
5.x-1.0-beta12008-Feb-0319.64 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-May-0820.02 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

4.7 release?

gennaro - May 18, 2006 - 22:00

Any idea when this is avail for 4.7? Thanks!

http://humandesignonline.com

No, but it should not be too

killes@www.drop.org - May 18, 2006 - 23:03

No, but it should not be too hard to port.
--
Drupal services
My Drupal services

Use the CVS release

Benjamin Melançon - July 15, 2006 - 19:53

Follow the link to other releases below the 4.6 release, and at the bottom download the CVS version. It will work with 4.7 (mostly so far anyway) but you do have to install your own database, from the listhandler.mysql file. Be sure to add any prefix you may be using (both to the listhandler database and the ALTER TABLE mailhandler command).

~ben melançon

web worker, PowerToExchange
http://PowerToExchange.com - "Of, By, and For Entrepreneurs"

member, Agaric Design Collective
http://AgaricDesign.com - "Open Source Web Development"

person, People Who Give a Damn
http://pwgd.org - "infrastructure for a network of everyone"

I'd love to see a fully

noborders - September 26, 2006 - 20:47

I'd love to see a fully working 4.7 compatible version as well.

email_list_mailman

BayouBill - September 10, 2006 - 15:22

What is the point of the email_list_mailman module? Its Readme says "In order to setup a new list, you must do the usual mailhandler/listhandler stuff and also create a new list in Mailman using its web UI..." So if I manually set up a Mailman list and use that lists's post address as the corresponding mailhandler's email addresses and set up a listhandler entry for that mailhander, what's left to do that email_list_mailman will do for me? I don't get it.

The email_list_mailman

killes@www.drop.org - September 19, 2006 - 23:06

The email_list_mailman module is another module. I don't use it and never have, so I don't know exactly what it is good for. I think it uses some mailman extension that allows the module to keep the list subscribers and the Drupal site in sync.
--
Drupal services
My Drupal services

Modules required for ListHandler

IntnsRed - November 20, 2006 - 18:11

You mention that you didn't use the email_list_mailman module, but I'm confused about the mailhandler module. Is the mailhandler module actually required? I don't want to run a mailing list, but just to subscribe to an existing list as a regular user, and then import the list into drupal.

TIA.

--
A GNU/Linux newbie since 1992!

Yes, MH is required, LH is

killes@www.drop.org - November 22, 2006 - 17:53

Yes, MH is required, LH is th right tool for that particular job.
--
Drupal services
My Drupal services

5.0 release?

qube - January 26, 2007 - 10:25

Hi, good work. Will this module be updated to Drupal 5.0? I would greatly appreciate that :-)

I currently don't use

killes@www.drop.org - January 26, 2007 - 12:55

I currently don't use listhandler myself, so it is pretty much at the bottom of the to-do list. I'd however review patches.
--
Drupal services
My Drupal services

thanks and can I port it myself?

qube - January 30, 2007 - 10:18

Thank you, I'm looking for functionality of listhandler + mailhandler.

If I would be willing to adapt this module to 5.0 what docs should I read to properly do needed changes?

Yes!! 5.x version needed here too

colorado - February 1, 2007 - 23:48

Yes!! 5.x version needed here to work with mailhandler too...

Thanks so much!!!

---
"Please drupal responsibly: give as much help as you get."

Aye

jriddiough - March 22, 2007 - 10:36

It would be great to see a 5.x version of this - I've posted over in the paid drupal services just to see what rates this would go at. Is anyone having any luck on a 5.x update, anything I could do to help out if so?

http://drupal.org/node/130047 <- paid services posting

longing for a 5.1 version

gurukripa - March 26, 2007 - 05:25

i hope this comes into 5.1 soon :)

b.t.w there's a new UIE forums..anyone tried it out..want to know if its good for 5.1 and whether its better than forums

Waiting for 5.1

darxtar - June 13, 2007 - 03:14

Hope the 5.1 version available soon too.. :)

After 5.1 version

philipnet - June 22, 2007 - 22:25

Hi,

I too would love to see a 5.1 version.

Same here. Hopefully a 5.x

diodata - September 11, 2007 - 14:50

Same here. Hopefully a 5.x version will be out soon???? Many people really enjoy the convenience of Google groups and similar technologies.

please port this to 5

gurukripa - June 18, 2007 - 16:24

i really hope this comes into 5.x
its much needed..
is there any progress on this?

5.1 version :)

gurukripa - August 20, 2007 - 14:41

when r u going to do this big thing of making this ready for 5.1
thanks

what do u use in place of listhandler

gurukripa - August 28, 2007 - 15:13

u mentioned that u dont use listhandler...is there some other way u ensure that posting happens from list mails into ur forums...pls share

thanks

My internet voluntary services include

1. Helping answer queries on www.krishna.com
2. Learning & Helping in the Vedic section of www.spiritualnectar.com
3. Learning & ( Helping newbies) on www.drupal.org
4. ..my own site soon :)

drupal 5 - works

xurizaemon - September 24, 2007 - 10:46

this module works (so far!) for me on D5. i used the HEAD version (from CVS) and D5 mailhandler

i will write up a post on how to make it go soon - i found that in addition to the comments here, there were a few other minor tweaks. i'll document them in a forum thread when i get a moment. (if i haven't already, ping me!)

pls share your solution for listhandler for D-5

gurukripa - September 27, 2007 - 05:32

look frd anxiously to make this work :)
thanks

My internet voluntary services include

1. Helping answer queries on www.krishna.com
2. Learning & Helping in the Vedic section of www.spiritualnectar.com
3. Learning & ( Helping newbies) on www.drupal.org
4. ..my own site soon :)

hey..pls share :) find a moment :)

gurukripa - September 30, 2007 - 19:27

Look frd to ur help soon :)

My internet voluntary services include

1. Helping answer queries on www.krishna.com
2. Learning & Helping in the Vedic section of www.spiritualnectar.com
3. Learning & ( Helping newbies) on www.drupal.org
4. ..my own site soon :)

OK, I think I've managed to

nonsitecollective - November 1, 2007 - 01:07

OK, I think I've managed to make this work. I'm a pretty new Drupal user, so take all of this with a grain of salt -- I can't really say whether this is messing up other modules on the back end, but at least in terms of making listhandler and mailhandler work together under Drupal 5, it seems to have done the trick.

1) Install the CVS HEAD version of listhandler.info, listhandler.install, and listhandler.module

2) Either manually or by a new line in the mailhandler.install file, create the following element in the mailhandler database:

prefix varchar(255) NOT NULL DEFAULT'',

3) Apply the following changes to mailhandler. (Apologies for not knowing how to create a patch). In my version, this starts at line 120, in the section commented as "Create the comment":

function mailhandler_comment_submit($node, $header, $mailbox, $origbody) {
if (!$node->subject) $node->subject = $node->title;
- if (!$node->comment) $node->comment = $node->body;
+ // We dont want the node's comment setting to be the body of the comment.
+ if (!$node->comment or preg_match('/^\d$/', $node->comment))
+ $node->comment = $node->body;

I found this somewhere in the 4.7 mailhandler branch in CVS -- wish I could remember where so I could give credit, but anyway it's not my work. Apparently it got overlooked in the transition to 5.x. Without it, comments will post and thread correctly, but the body of each comment will be the node's comment setting rather than the actual body text.

4) Apply philipnet's settings diff patch to listhandler.

5) Enable both mailhandler and listhandler.

6) Follow the instructions in the HOWTO article on configuring mailhandler and listhandler to work together. IMPORTANT: The mailbox you set up in that process (not the list address, but the mailbox) NOT be your own or the listadmin address, as it won't actually be receiving all messages. (See final step for an explanation of this).

7) NOTE: Some more recent instructions for mailhandler in Drupal 5.x will tell you to use

taxonomy: [term]

when you're setting up the default commands for mailhandler. You can do this but you still need:

tid: num

in there as well, since listhandler looks for the relevant tid when deciding whether to get in on mailhandler's action. It might be possible to modify listhandler to look for [taxonomy], but again, I'm pretty new at this so I just went with the available solution.

8) From the hosting side, configure the email box that you set up when following the HOWTO instructions so that it automatically deletes any incoming email containing the header "X-Mailer: Drupal". This will keep forum posts generated on the website and then sent to the list by listhandler from ending up in this box, which then gets "harvested" for posts to insert into the forum. Without this patch, you'll end up with duplicates of everything posted to the site. (This is why this box shouldn't be a "real" email address -- you're simply setting it up to make the listhandler/mailhandler pair function correctly).

There's a string comparison in listhandler that's supposed to do this for you (i.e., filter out anything that originated on the website), but I can't figure out how to make it work, so again I went with the quick and dirty solution.

That's it for me so far. There are some lingering formatting issues -- things posted as full HTML on the website go to the list as marked-up plaintext, etc. -- but they're comparatively minor in my mind.

Hope this helps.

will try this out

gurukripa - November 1, 2007 - 17:09

thanks for this..will try this out soon..hope in the meanwhile some others will also try this out..and help newbies like me on tips/warnings etc..

lets hope this helps make the sites more popular for busy folks who cant visit it often.

Did it work for you

xav - December 19, 2007 - 16:22

I'd like to know if someone else managed to make it work. I'd like to try it, but am a bit afraid of messing my install with a dev module.
BTW, if someone could release a proper 5.x version that would be great !

As an addendum to nonsitecollective's instructions above

philipnet - January 7, 2008 - 07:51

As an addendum to nonsitecollective's instructions above:

Step #2 no longer needs to be done. An error crept into CVS over the database schema that was the root cause of the problem.

And for Step #7, I've had to add:

status: 1
comment: 2

To the Mailhandler directives.

 

To xav:

As for running Dev modules, the 'trick' is to install Update Status module and download a new dev release when it's at least a week old ;-) . That way you can ensure that any killer bugs aren't in it as they would have already been spotted and fixed :) .

P.

6.x Release?

karianna - May 14, 2008 - 09:57

Hi all,

Our community is looking to move to a Drupal based site from Y! groups, so this sort of functionality for us is vital. Is a 6.x compatible release being worked on?

Update: Ah I see the new info on 6.x, thanks for the update!

Thanks,
Karianna

 
 

Drupal is a registered trademark of Dries Buytaert.