summaryrefslogtreecommitdiff
path: root/scripts/mailowner (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In order to make the list alias -> script mapping more consistent,bwarsaw2001-11-301-73/+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!
* Because the CommandRunner no longer processes -owner messages, we needbwarsaw2001-11-201-17/+20
| | | | | | | | | 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.
* 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-2/+4
| | | | | the Switchboard that it should save the message as plain text and not as a pickle.
* Lots of updates to the New Order.bwarsaw2001-03-011-32/+21
| | | | | | | | | 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.
* main(): Explicitly queue the message to INQUEUE_DIR (see changesbwarsaw2000-12-201-2/+2
| | | | described in qrunner for details).
* main(): If the message came from the -owner address, set the toownerbwarsaw2000-07-221-3/+11
| | | | | | 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().
* All three scripts have now been changed to always quickly queue theirbwarsaw2000-06-141-36/+18
| | | | | | | | | | | | 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.
* Robustification of posting. If any of the following fails -- the listbwarsaw2000-05-081-10/+28
| | | | | | | | | 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! If DeliverToUser() returns a true value, then this means the message delivery was not completed, and again, the message is enqueued.
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-211-1/+1
|
* main(): Removed debugging hack (adding the MAILMAN_OWNER to the listbwarsaw2000-02-191-1/+3
| | | | | | of recipients). More importantly, flag the message as having been delivered to the -admin address by setting the `toadmin' attribute on the message. This is used by the Replybot handler.
* Port to the new bounce handling architecture.bwarsaw1999-12-091-4/+19
|
* Convert message delivery to pipeline architecture by usingbwarsaw1999-11-241-16/+20
| | | | | | | | | HandlerAPI.DeliverToUser() for fast track delivery of the welcome messages. Stick everything in a main(). Simplify error reporting by using Mailman.Logging.Utils.LogStdErr
* Use the new Mailman.Message.Message objects for the incoming messagebwarsaw1999-11-101-1/+1
|
* eradicate "maillist" as a nounbwarsaw1999-05-051-1/+1
|
* current_list => mlistbwarsaw1999-05-031-8/+6
| | | | comment clarification
* Added DeliverToOwner to Deliverer class in Deliverer.py that passescotton1998-10-011-1/+2
| | | | | | | | | | a message to the -admin address to the owners untouched and with the sender of the original message Added a GetEnvelopeSender method to Message.py that attempts to find the envelope sender from a messages's unix from line for use by DeliverToOwner changed the mailowner script to use DeliverToOwner method instead of the DeliverToList method scott
* StampedLogger now comes out of the Mailman.Logging.StampedLoggerbwarsaw1998-07-061-3/+3
| | | | | module (we should really create a mail driver similar to the CGI driver).
* Packagizedbwarsaw1998-06-191-6/+9
|
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-5/+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?)
* Whoops - mailowner was still trying to open a file in /tmp for loggingklm1998-04-101-5/+8
| | | | (and crashandburning when that file existed and was unwritable).
* Preparing to package a distribution - add a module docstring andmailman1998-04-091-4/+10
| | | | __version__ info.
* Initial revisionmailman1998-02-271-0/+26