March 2009

Some suggested default setup for new Mailman list

All default setup for new Mailman list are located in /usr/lib/mailman/Mailman/Defaults.py, BUT please NEVER touch it and override by using /etc/mailman/mm_cfg.py. Here are some suggested setup for internal usage, just copy and append at the end of /etc/mailman/mm_cfg.py: DEFAULT_ARCHIVE_PRIVATE = 1 DEFAULT_GENERIC_NONMEMBER_ACTION = 3 DEFAULT_LIST_ADVERTISED = No DEFAULT_MAX_MESSAGE_SIZE = 0 DEFAULT_MSG_FOOTER = "" DEFAULT_MSG_HEADER = "" DEFAULT_REQUIRE_EXPLICIT_DESTINATION = No DEFAULT_SUBJECT_PREFIX = ""

IT-School HTML mail + mailman

As IT-School will send out email as encoded HTML, I need to remove the footer message (text/plain) from mailman, in order to keep overall message as HTML only (text/html). Non-digest options / Digest options -> Footer added to mail sent to regular list members -> (remove all footer message) UPDATE (20090306): After more indeed study of this problem I get this page (http://wiki.list.org/pages/viewpage.action?pageId=4030707):
4.39. HELP! Mailman is munging HTML & MIME-formatted messages before they are sent out? (problems with Mailman 2.1.x footers) ...

Mail sync hack for IT-School intranet mail with normal mail server

IT-School (http://myit-school.net/) is a school management system in Hong Kong, which target for intranet mail, calender, account management, and so on. BTW, for the old version (around 2004) of IT-School, its mail system is split into 3 parts:
  • Intranet mail: Mail from and to account will fetch from MySQL DB directly, mail will NEVER deliver though normal email server router BUT save into MySQL DB as HTML format DIRECTLY. Support individual user and group of users.
  • Outgoing internet mail: Mail will send though sendmail.