summaryrefslogtreecommitdiff
path: root/Mailman/Post.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert IncomingRunner to use the new chains disposition architecture. moveBarry Warsaw2008-02-021-62/+0
| | | | | | | | | | | | | | | | | | | | | | the big explanatory text at the beginning of incoming.py to a doctest called OVERVIEW.tt (which doesn't actually contain any tests yet -- it's documentation though). Added a doctest for the incoming runner, though this will be fleshed out in more detail next. Mailman.Post renamed to Mailman.inject, and simplified. We don't need its command line script behavior because that is now handled by bin/inject. Add a 'start_chain' attribute to mailing lists. This names the chain that processing of messages for that list begins with. We were inconsistent in the use of the 'no reply' address attribute. It's now always 'no_reply_address'. Update the smtplistener helper with lessons learned about how to suppress bogus asyncore error messages. Also, switch to using a maildir mailbox instead of an mbox mailbox.
* Reorganize the qrunner infrastructure. First, the package has been renamedBarry Warsaw2007-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | from Mailman.Queue to Mailman.queue (note the case change to be more PEP 8 compliant). The Switchboard and Runner classes have been moved into the package __init__.py and the previous class modules have been removed. The switchboard cache is removed; I don't think it was ultimately buying us much. Now, just import the Switchboard class and instantiate it directly. Added an IRunner interface. Renamed the ArchRunner to ArchiveRunner. bin/qrunner and bin/mailmanctl are updated accordingly. For the former, it no long accepts -r=All to run all qrunners. You can still use the short name (e.g. --runner=incoming) to run the built-in queue runners, but this design will eventually allow for plugin qrunners by allowing them to be run specifying the full package path to the class. It also now accepts a leading dot to indicate a qrunner class relative to the Mailman.queue package.
* Other than contrib files, convert all imports of mm_cfg to imports of config.Barry Warsaw2007-07-141-2/+2
| | | | | | | | | | | Ignore mailman.egg-info In bin/make_instance.py: Catch and ignore import errors when importing Mailman.i18n. Before this script has actually been run, there won't be enough infrastructure in place of the import to succeed. Include several other fixes in this file. Add install_requires to the setup script.
* Update copyright years.bwarsaw2007-01-191-5/+6
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* inject(): Extend the signature of the function so that we can pass inbwarsaw2002-01-261-4/+6
| | | | the queue directory to inject to, defaulting to qfiles/in.
* inject(): kws must contain _plaintext (== 1) so that the stringbwarsaw2001-10-281-2/+3
| | | | message is read back as a string.
* Post.py contains the virtual mailing list support (i.e. the ability tobwarsaw2001-07-191-0/+58
send a message from a list, but with an explicit list of recipients). There is both an importable API and a command line API when called as a script. TopicMgr.py contains the mixin class for initializing MailList attributes related to the topic filter feature.