aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/README.import_majordomo_into_mailman
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2013-03-23 16:39:10 -0700
committerMark Sapiro <msapiro@value.net>2013-03-23 16:39:10 -0700
commitaca447d83fe78abb65923aa87d73cd8159e7d809 (patch)
tree0eff9b821e1487be0069f47b5da0811bb512d408 /contrib/README.import_majordomo_into_mailman
parent2e1198e3bb113ca718e144c3e37a5b8d40b555da (diff)
downloadmailman2-aca447d83fe78abb65923aa87d73cd8159e7d809.tar.gz
mailman2-aca447d83fe78abb65923aa87d73cd8159e7d809.tar.xz
mailman2-aca447d83fe78abb65923aa87d73cd8159e7d809.zip
A new import_majordomo_into_mailman.pl script has been contributed by
Geoff Mayes. LP: #1129742.
Diffstat (limited to 'contrib/README.import_majordomo_into_mailman')
-rw-r--r--contrib/README.import_majordomo_into_mailman60
1 files changed, 60 insertions, 0 deletions
diff --git a/contrib/README.import_majordomo_into_mailman b/contrib/README.import_majordomo_into_mailman
new file mode 100644
index 00000000..114da92c
--- /dev/null
+++ b/contrib/README.import_majordomo_into_mailman
@@ -0,0 +1,60 @@
+Import Majordomo into Mailman
+=============================
+
+Create Mailman list(s) from Majordomo list configuration files.
+
+Features
+--------
+
+* Import a single list (--list=NAME)
+* Import all lists (--all)
+* Import subscribers (--subscribers)
+* Just generate information about all Majordomo lists (--stats)
+* Verbose logging to file
+* Control over the console log level (--log-level=[debug|info|notice|warning])
+* Only import lists that have been active within the past N days
+
+
+Requirements
+------------
+
+* Mailman is installed so that its bin/* scripts can be called.
+* Majordomo has all of its list configurations in a single, local directory.
+* Majordomo's aliases file exists locally.
+* $DOMO_INACTIVITY_LIMIT set to zero or the file path of the output of
+Majordomo's consistency_check command.
+* Run as root.
+
+
+Before running this script
+--------------------------
+
+* Change the global variables under "ENVIRONMENT-SPECIFIC VALUES" to match your
+system.
+* It is recommended to run this script with the --stats option first to get
+a sense of your data. Fields with many 'other' or 'no value' values, or
+fields that don't get imported (e.g. message_headers) that have many
+'has value' values might need to be considered more closely.
+
+
+Testing
+-------
+
+This script was tested against Majordomo 1.94.4/5 and Mailman 2.1.14-1.
+Different versions of Majordomo or Mailman may not work with this script.
+However, some legacy settings for Majordomo are handled.
+
+
+Limitations
+-----------
+
+* Archives are not currently handled.
+* A few Majordomo configuration values are ignored (documented in the comment
+above the getMailmanConfig() function) because they are either inactive,
+system/constant settings, or don't tranlsate into Mailman.
+
+
+Todo
+----
+
+* Add an --archives option to also import archives.