summaryrefslogtreecommitdiff
path: root/Mailman/MTA/Utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-87/+0
|
* Tweak copyright years.Barry Warsaw2008-02-071-1/+1
|
* Update copyright years.bwarsaw2007-01-191-1/+1
|
* Fix some buglets with virtual domain support and repair unit tests broken bybwarsaw2006-07-081-5/+10
| | | | | | | | | | | | | | | | | | | | | | | this change. More unit tests should be added. misc/sitelist.cfg is removed -- this is an ex-site list. MailList.GetNoReplyEmail() -> MailList.no_reply_address (property) UserNotification._enqueue(), OwnerNotification._enqueue(): when queing the message to the virgin queue, be sure to use the fully qualified (i.e. posting) address for the list. In the MTA modules, be sure to set up the target of the mail commands as the fqdn listname because otherwise we can't find the correct list. This needs some tweaking/testing for Postfix's virtual domain support. MailList.Load() has to grow an optional argument specifying the fqdn listname. The problem is that in some situations, we can't calculate that because we don't know _internal_name, so it has to be passed in. This is mostly the case in the MailList ctor where a Load hasn't happened yet. For backward compatibility though, if it's not passed in, just use mlist.fqdn_listname.
* Massive conversion process so that Mailman can be run from a user specifiedbwarsaw2006-07-081-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration file. While the full conversion is not yet complete, everything that seems to be required to run mailmanctl, qrunner, rmlist, and newlist have been updated. Basically, modules should no longer import mm_cfg, but instead they should import Mailman.configuration.config. The latter is an object that's guaranteed to exist, but not guaranteed to be initialized until some top-level script calls config.load(). The latter should be called with the argument to -C/--config which is a new convention the above scripts have been given. In most cases, where mm_cfg.<variable> is used config.<variable> can be used, but the exceptions are where the default value must be available before config.load() is called. Sometimes you can import Mailman.Default and get the variable from there, but other times the code has to be changed to work around this limitation. Take each on a case-by-case basis. Note that the various directories calculated from VAR_PREFIX, EXEC_PREFIX, and PREFIX are now calculated in config.py, not in Defaults.py. This way a configuration file can override the base directories and everything should work correctly. Other changes here include: - mailmanctl, qrunner, and update are switched to optparse and $-strings, and changed to the mmshell architecture - An etc directory has been added to /usr/local/mailman and a mailman.cfg.sample file is installed there. Sites should now edit an etc/mailman.cfg file to do their configurations, although the mm_cfg file is still honored. The formats of the two files are identical. - list_lists is given the -C/--config option - Some coding style fixes in bin/update, but not extensive - Get rid of nested scope hacks in qrunner.py - A start on getting EmailBase tests working (specifically test_message), although not yet complete.
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* makealiases(): Renamed _makealiases_mailprog() for classic mailbwarsaw2002-08-091-1/+25
| | | | | | | | | | program based delivery _makealiases_maildir(): New function for returning the aliases used for the experimental maildir based delivery. makealias: Choose between the above two based on the value of USE_MAILDIR.
* makealiases(): Add the -confirm address for VERP-ish confirmations.bwarsaw2002-03-141-2/+2
|
* makealiases(): Add -subscribe and -unsubscribe as aliases for -joinbwarsaw2002-02-231-1/+2
| | | | and -leave respectively.
* makealiases(): Remove the special case for the `admin' script; it'sbwarsaw2002-02-141-2/+1
| | | | treated like all the other scripts now.
* makealiases(): Apply patch by Jason Mastaler to fix SF bug #502419.bwarsaw2002-01-121-2/+2
| | | | There was a missing quote in the aliases string.
* makealiases(): To avoid name clashes with other MLM's, rename thebwarsaw2001-12-241-1/+1
| | | | wrapper program to `mailman'.
* makealiases(): Generate the new set of alias to script mappings.bwarsaw2001-11-301-10/+17
|
* makealiases(): The list of aliases now includes -bounces which goes tobwarsaw2001-11-201-4/+6
| | | | | | | | the new bounces script. -admin no longer delivers to the mailowner script since the mailowner script no longer does bounce processing. For backwards compatibility -admin goes to the bounces script now (should it?). Also, -owner is no longer an alias for -admin but pipes to the mailowner script directly.
* intermediatebwarsaw2001-05-101-0/+46