You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Importing mailman archives into Drupal

 

My client wanted to be able to search their list manager archives (uses mailman) with Solr. We already had a pretty major investment in Drupal with about 80K PDF files. In the past, each of the different databases were managed by seperate dtSearch indexes. With the new, Drupal system, we are now able to consolidate everything into one master index. With the special ‘faceting’ that is provided within Solr/Drupal, it becomes very easy to drill from the general request down to the specifics.

 

Well, this article is going to get a bit specific on the why and how of the integration we did between mailman data and Drupal.

 

Mailman keeps its archives in a directory structure that provides a single file <listname>.mbox and a directory <listname>. I selected the directory as my driver for getting all the files across. After I got everything written, some more research indicated that I might have been better to use the <listname>.mbox file, as this is ‘authoritative’ for each list that mailman handles. But, I have working code now, so I will live with this decision for the time being.

 

The general process is as follows:

A) One Time Procedures

1) create a directory under sites/default/files. I called mine mailman. This is where all the list subdirectories will live.

2) create a Content Type in Drupal using just Title and Body.

3) install my Python script in the directory from step A.1 above.

4) Make sure that a current release of drush is installed

5) install my drush script in the sites/default directory

B) Repeat procedures

1) rsync all of your lists that you want from the mailman server to the A.1 directory

2) run the Python script. This will create a list of all the eligible archive files, and then call the drush script once for each file found.

 

The code can be found at http://github.com/worxco/drupal_mailman_import


 
The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

 

Drupal is the nice method and

Drupal is the nice method and it has made all the things easy.We can easily use the methods of Drupal and can do link-building.Thanks a lot  for sharing it here.

college furniture

Drupal is the good technique

Drupal is the good technique and it has made all the issues easy. Paint Sprayer

Well, importing mailman

Well, importing mailman archives always sounded a bit too confusing for me as it involved a series of steps where most of the time it would end up in chaos. Anyway, I am glad that you have come up with a brilliant how to guide regarding it. As far as I can learn, Maliman basically stores all its archives in the directory and since there are two procedures involved, I think it is only wise to create an additional directory.I am also looking for a enterprise cloud hosting service, which one will be good to go with?

It's sort of odd to be

It's sort of odd to be pointing out issues in a module I just released, but I'm afraid I need to make my argument FOR my approach before I start getting security issues filed against me. I feel VBO was unfairly picked out in this regard as well, as views provides a perfectly good solution for access control to a view. The point is, drupal 7 has already embraced this logic in many places, and we get a LOT more development power out of it.650-367 braindumps 156-215.71 exam 350-029 braindumps HP0-S30 exam 642-617 exam 70-663 braindumps 640-553 braindumps 70-515 braindumps

I think you guys have been

I think you guys have been doing great so far and your inclination to stick with Drupal is one of the chief reasons why Worxco is preferred by many of us. Until I have come to Worxco, I had a different viewpoint regarding Drupal but you guys came up with the Contextual administration which made Drupal much more practical and efficient for both newbies and veterans. Many clients are already benefitting from the fulfillment services and contextual administration as well. ged practice test ged math practice test

re:

I really appreciate the work and effort done here but at the same time I also know that every one has its own way of taking things, some will like it or some don't but you got to give credit to the person who atleast give us something to talk about.... thanks! skin lightening lotion, skin lightening cream

my favorite

this is my most awaited feature in drupal, now i got it.. thanks and enjoy funny jokes, funny quotes

jenny The divorce attorney

Nice

This appears to be very straight-foward.  I love your way of explaining the mailman transfer.  Thanks for the tutorial and coding on how to do it.

rotator cuff pain relief

Terrific work! This is the

Terrific work! This is the kind of info that are meant to be shared across the net. Shame on the  for now not positioning this publish upper! Come on over and discuss with my website . Thank you =) http://maigrir-des-cuisses.net

I'd like to know how you did

I'd like to know how you did the Mailman to the forum. I just yesterday took a look at the mailing list capabilities I have with my web host because I wanted to do something that I couldn't do in Drupal. My host uses the Mailman program so I'm interested in how people have that integrated with Drupal. Having it go into the forums sounds kinda cool. I could use that for one site where the members are used to email and kind of scared of the forums. LOL

simplyforties.com