summaryrefslogtreecommitdiff
path: root/scripts/mailcmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In order to make the list alias -> script mapping more consistent,bwarsaw2001-11-301-64/+0
| | | | | | | | | | | | | | | | | | | 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!
* Code cleaningbwarsaw2001-11-201-1/+3
|
* Since these scripts are always run from the wrapper, they don't need abwarsaw2001-09-071-1/+1
| | | | #! line.
* main(): Be sure to set the _plaintext message metadata key to informbwarsaw2001-06-271-1/+2
| | | | | the Switchboard that it should save the message as plain text and not as a pickle.
* coding stylebwarsaw2001-05-111-2/+1
|
* Update copyright yearsbwarsaw2001-02-281-1/+1
|
* Next round of big i18n patches.bwarsaw2001-02-281-22/+15
| | | | | | | 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.
* main(): Explicitly queue the message to INQUEUE_DIR (see changesbwarsaw2000-12-201-1/+1
| | | | described in qrunner for details).
* Modifications to use extended print syntax.bwarsaw2000-12-071-3/+3
|
* All three scripts have now been changed to always quickly queue theirbwarsaw2000-06-141-18/+13
| | | | | | | | | | | | 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.
* main(): Takes no arguments.bwarsaw2000-05-221-1/+1
|
* Robustification of handling mail commands. If any of the followingbwarsaw2000-05-091-4/+22
| | | | | | | fails -- the list name is missing or bogus, or the list lock cannot be acquired within the LIST_LOCK_TIMEOUT time frame -- the message is enqueued for qrunner to try again later. Previously, the message was simply lost!
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-211-1/+1
|
* main(): set the `torequest' attribute to 1 on the message object.bwarsaw2000-02-261-0/+1
|
* Port to the new way of handling messages. Also we don't send emailbwarsaw1999-12-161-18/+18
| | | | | when the alias is misconfigured. This will just naturally happen in the error logs.
* Post last-minute bug - unexercised 'import mm_cfg' finally wasklm1998-11-071-1/+1
| | | | exercised - doesn't work. 'from Mailman import mm_cfg'.
* Removed obsolete import of StampedLogger.klm1998-08-031-1/+0
|
* Use simplified LogStdErr() call to enable error logging from thisklm1998-07-231-6/+2
| | | | module all the time.
* StampedLogger now comes out of the Mailman.Logging.StampedLoggerbwarsaw1998-07-061-2/+3
| | | | | module (we should really create a mail driver similar to the CGI driver).
* Packagizedbwarsaw1998-06-191-14/+16
|
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-6/+3
| | | | | | | | | | | from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too). 3. Remove RCS crud
* Fixed a typo in the zipcode.viega1998-05-261-2/+2
|
* Added copyright notices to all source files where I am legally entitled to ↵viega1998-05-251-1/+16
| | | | | | | do so. Added a copy of the GNU GPL. Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
* Preparing to package a distribution - add a module docstring andmailman1998-04-091-0/+3
| | | | __version__ info.
* Using StampedLogger (to logs/error) for stderr, for debugging.klm1998-03-301-6/+8
| | | | Refined module doc string a bit.
* Substitute logging (via mm_utils.StampedLogger()) instead ofmailman1998-03-271-8/+24
| | | | | | | | | | substituting a file (which, if it's unwritable, crashes mailman) for stderr. Send a notice to mailman owner when a list has an email alias, but does not exist - i.e. email makes it to the wrapper script, etc. Turn the comment at the top to a module docstring.
* Initial revisionmailman1998-02-261-0/+24