summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Donn Cave's patch #602087 to honor configure's --srcdir switch.bwarsaw2002-12-121-4/+4
|
* run_main(): When running the cgi, redirect stdout to a cStringIO, andbwarsaw2002-10-011-0/+7
| | | | | | | only if the cgi script runs to completion successfully do we write the entire output to the real stdout (connected to the web server). This way, if any exception occurs during the rendering of the page (e.g. in "print doc.Format()") we won't mess up the diagnostics page.
* OWNER_PIPELINE: Moved to Defaults.py.inbwarsaw2002-08-091-8/+1
|
* main(): Add the `toowner' key to the message metadata so the Replybotbwarsaw2002-05-221-1/+2
| | | | handler will autorespond to -owner emails. Closes SF bug #558909.
* Update copyright years.bwarsaw2002-03-165-5/+5
|
* A new confirm script for the -confirm address.bwarsaw2002-03-142-1/+63
|
* install: subscribe and unsubscribe are now aliases for join and leave.bwarsaw2002-02-231-0/+5
|
* Bump the copyright years.bwarsaw2002-02-141-1/+1
|
* Copy the bounces script to the admin script. This is for backwardsbwarsaw2002-02-141-0/+1
| | | | compatibility.
* run_main(): Because the site-packages path hacking no longer happensbwarsaw2002-02-121-6/+2
| | | | | | | | in Defaults.py, we need to arrange for this script to import paths.py to pick up the correct site-packages prefixed sys.path. Because we do this, we can delete the sys.path.insert() call, which was redundant.
* run_main(): A simplification -- I want to try to not pre-loadbwarsaw2001-12-311-10/+0
| | | | | | | | | Mailman/pythonlib/cgi.py because I'd like for Mailman to start using the default Python module now that we require at least Python 2.0 (or should that be Python 2.1?). I'm sure any disparity between the cgi.py modules will show up in beta testing. But if it looks okay, I'll remove our copy of cgi.py.
* In order to make the list alias -> script mapping more consistent,bwarsaw2001-11-304-254/+1
| | | | | | | | | | | | | | | | | | | we've renamed mailcmd to request and mailowner to owner (through some SF-assisted CVS repo magic). We've also moved scripts/auto to contrib/auto since it's an obsolete way of doing the auto-aliasing in Postfix. We need to update mail-wrapper.c for the new list of acceptable script names. Note that there are still two abberations: - messages posted to just `listname' go to the post script - messages posted to listname-admin go to the bounces script The latter, listname-admin may eventually go away. Note that this requires you to regenerate your aliases!
* Because the CommandRunner no longer processes -owner messages, we needbwarsaw2001-11-202-34/+40
| | | | | | | | | to do a little more work here. Specifically, we need to add an explicit pipeline to the message's metadata, then we can send the message through the normal incoming queue (i.e. we override the incoming queue's default pipeline). We also set the envsender attribute to point to the -bounces address for the list so we can handle any bounces to the list's owners.
* Code cleaningbwarsaw2001-11-202-2/+6
|
* The script that listens on the -bounces address for a list.bwarsaw2001-11-201-0/+61
|
* SCRIPTS: add the bounces script.bwarsaw2001-11-201-1/+1
|
* Since these scripts are always run from the wrapper, they don't need abwarsaw2001-09-078-8/+8
| | | | #! line.
* Get rid of answer_majordomo_mail. It's seriously broken in MM2.1, andbwarsaw2001-08-042-42/+1
| | | | of limited value, IMO. Haven't we already taken over the world? :)
* main(): Be sure to set the _plaintext message metadata key to informbwarsaw2001-06-278-9/+16
| | | | | the Switchboard that it should save the message as plain text and not as a pickle.
* run_main(): Don't stick Mailman.i18n._ in the builtins.bwarsaw2001-06-271-11/+2
|
* main(): Don't set the `received_time' metadata here; it's set in thebwarsaw2001-05-141-3/+1
| | | | queue runner.
* Add the join and leave scripts.bwarsaw2001-05-111-2/+4
|
* coding stylebwarsaw2001-05-112-4/+2
|
* intermediatebwarsaw2001-05-111-0/+61
|
* intermediatebwarsaw2001-05-111-0/+61
|
* main(): Set the message metadata `received_time' to the current time.bwarsaw2001-05-012-2/+10
| | | | | Note that ToArchive.py will set this if it isn't present in the metadata already, however that might incur hold and other delays.
* Lots of updates to the New Order.bwarsaw2001-03-012-64/+42
| | | | | | | | | main(): Convert to the new Switchboard mechanisms. This means we neither need to instantiate the mailing list, nor create a Message object from stdin. A side effect of this change is that we can't efficiently determine whether this message was destined for the -owner or -admin address (since this script bogusly handles both). We defer this decision to the CommandRunner.
* Update copyright yearsbwarsaw2001-02-282-2/+2
|
* Next round of big i18n patches.bwarsaw2001-02-282-44/+30
| | | | | | | main(): Change the error messages; removed old cruft (we never need to create the MailList object, we just need a valid listname -- we also don't ever need to create a Message object, stdin is fine); change the enqueuing code to use the new Switchboard mechanism.
* import Mailman.i18n._bwarsaw2001-02-161-0/+1
|
* Convert to using the new switchboard interface.bwarsaw2001-02-152-49/+18
|
* main(): Explicitly queue the message to INQUEUE_DIR (see changesbwarsaw2000-12-205-7/+7
| | | | described in qrunner for details).
* main(): Some fixes to handle situations such as sending directly tobwarsaw2000-12-201-8/+27
| | | | | | the non-extension address, and for handling listnames with dashes in them. Also, do better matching of incoming message's target domain with the list's domain.
* Add `auto' script.bwarsaw2000-12-081-1/+1
|
* intermediatebwarsaw2000-12-081-1/+4
|
* Script which can be used to make Postfix automatically recognize newbwarsaw2000-12-081-0/+92
| | | | mailing lists.
* run_main(): Gross and temporary hack to put `_' in the builtins. It'sbwarsaw2000-12-071-0/+9
| | | | | too magical so eventually explicit imports will be added to the appropriate modules.
* Modifications to use extended print syntax.bwarsaw2000-12-072-6/+6
|
* Turn STEALTH_MODE back on for the 2.1 development cycle.bwarsaw2000-12-071-17/+17
| | | | Modifications to use extended print syntax.
* In preparation for 2.0 final, turn on STEALTH_MODEbwarsaw2000-09-291-1/+1
|
* run_main(): Moved the initialization of logger local to None outsidebwarsaw2000-09-271-4/+4
| | | | | the try block. Should have no practical effect, but makes debugging easier.
* get_message(): The filter programs now live in VAR_PREFIX/filters.bwarsaw2000-09-221-1/+1
| | | | Closes David Champion's patch #101331.
* main(): Add the `tolist' flag to the message data, so we can trackbwarsaw2000-09-081-1/+1
| | | | | messages posted to the list (as opposed to message sent to the -admin, -owner, -request addresses, or internally generated).
* print_traceback(), top-level: Remove the Cache-control: and Expires:bwarsaw2000-07-221-4/+0
| | | | | headers. These caused problems with the back button and didn't really solve an existing problem.
* main(): If the message came from the -owner address, set the toownerbwarsaw2000-07-222-6/+22
| | | | | | flag. If it came from the -admin address, set toadmin. The test is against the To: field and checks for string equality with mlist.GetOwnerEmail().
* print_traceback(), top-level: Include HTTP headers "Cache-control:bwarsaw2000-07-201-0/+4
| | | | no-cache" and "Expires: 0" to inhibit caching.
* Add Emacs helper at top of file.bwarsaw2000-07-191-0/+1
|
* All three scripts have now been changed to always quickly queue theirbwarsaw2000-06-145-127/+75
| | | | | | | | | | | | messages to the qfiles directory. This once and for all avoids the possibility that we hit the MTA's command time limit. The mailing list objects are never locked so we can't time out there. They don't need to be locked for message queuing. The penalty is that we do more disk i/o for every message destined to the list, the list-owner or list-request, and messages are not delivered immediately. Both are probably worthy tradeoffs for absolutely guaranteeing that messages never get lost.
* Added a variable STEALTH_MODE which can be set to true to inhibitbwarsaw2000-06-051-38/+49
| | | | | traceback, system, and environment information to the web pages. The information is always still printed to the log files.
* main(): No need to explicitly enqueue the message, sincebwarsaw2000-05-221-5/+2
| | | | | DeliverToList() will now do this automatically if any pipeline module fails.