worxco/drupal_mailman_import
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
There are 2 files that are part of this system. * mailman_import.py * drush_mailman.php The mailman_import.py script needs to be placed in the sites/default/files directory of your Drupal installation. The drush_mailman.php script needs to be placed in the sites/default directory of your Drupal installation. --- Implementation --- Create a Content Type that has Title and Body. I named mine listserve. You will want to update the drush_mailman.php script so that it points to the content type ( if you don't use the 'listserve' name ) that you are going to save all the mailman scripts into. setup a cron job to run an rsync command to pull the archives across. If you don't want ALL the lists, you could run this once for each list you want and just add the listname to the end (/var/lib/mailman/archives/private/<listname>/*) rsync -av --exclude=*.mbox --exclude=attachments --exclude=*.gz --exclude=*.txt --exclude=database <user>@<mailmanserver>:/var/lib/mailman/archives/private/* .
About
import mailman archives into a drupal website.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published