aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Queue (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-02-12Request from Brad Knowles. We need subject prefix strippedtkikuchi1-4/+7
from the posts from mailling list for gatewaying to nntp.
2004-10-31[ 1008983 ] qrunner w/ multiple slices crashing.tkikuchi1-1/+1
2004-10-10proper lang data is set in msg['data']tkikuchi1-4/+4
2004-09-23[ 873035 ] subject handling in -request mailtkikuchi1-1/+3
more precautions to assert the command should be in 'us-ascii' and more errors.
2004-05-15_oneloop(): Switchboard.dequeue() can't really return Nones for msg or msgdatabwarsaw1-25/+29
any more (they were error signals in the previous switchboard implementation), so simplify the loop. We can't have 'lost data files'.
2004-02-22__repr__(): Added for better logging.bwarsaw1-1/+4
2004-02-22Much refactoring to improve bounce processing. The basic change moves thebwarsaw1-63/+41
queuing of bounce events out of the process's memory and into a 'bounce event' file, essentially consisting of a stream of pickles. Every once in a while the qrunner wakes up and processes the event file, which is named to be specific to each qrunner instance. The actually processing is factored out into a mixin class which is now subclassed by both the BounceRunner and OutgoingRunner classes (since the latter has to handle SMTP rejects as bounces). Specific changes here include: OutgoingRunner: Use BounceMixin as a base class. We can now get rid of the whole _permfailures and _permfail_counter stuff since we'll just use the mixin class as the basic logic for bounce handling. _dispose(): Simplified since we can just use _queue_bounces() when a message is rejected at SMTP time, although if that triggers a probe, the attached message will be the one for which delivery was attempted since there really isn't any bounce. Also, make this method handle probe bounces.
2004-02-22Much refactoring to improve bounce processing. The basic change moves thebwarsaw1-57/+119
queuing of bounce events out of the process's memory and into a 'bounce event' file, essentially consisting of a stream of pickles. Every once in a while the qrunner wakes up and processes the event file, which is named to be specific to each qrunner instance. The actually processing is factored out into a mixin class which is now subclassed by both the BounceRunner and OutgoingRunner classes (since the latter has to handle SMTP rejects as bounces). Specific changes include: REGISTER_BOUNCES_EVERY: Promote to a Defaults.py.in variable. BounceMixin: Mixin class for handling the basics of bounce event queuing, periodic processing, and registering, as well as cleanup. It also contains a _probe_bounce() method for handling bounces of the probe message (which cause an immediate disable). BounceRunner: Add BounceMixin as a base class.
2004-02-10enqueue(), dequeue(), files(): Implementation of new, more efficient,bwarsaw1-226/+37
one-file-per-queued-message architecture. The message object and metadata dictionary are now written to the same .pck file -- in that order -- instead of to separate files which were more complicated to manage. dequeue() especially simplifies considerably. Also, get rid of the special _Switchboard hack, as well as the MarshalSwitchboard, ASCIISwitchboard, and BSDDBSwitchboard implementations. Also get rid of the DumperSwitchboard class.
2004-02-10_dispose(), verp_probe(): Add logic to parse and handle probe bounce verps.bwarsaw1-1/+55
2004-01-23_dispose(): Fix typo in comparison to site-list owner address. Fix given bybwarsaw1-2/+2
SHIGENO Kazutaka.
2003-12-01Results.__init__(): It's possible for the Header functions to raise abwarsaw1-4/+9
HeaderParseError, so if that happens just ignore the Subject header for command purposes.
2003-12-01Fix a small comment bug.bwarsaw1-1/+1
2003-11-21copyright years.bwarsaw1-1/+1
2003-11-21enqueue(): Always flush and sync the message file.bwarsaw1-1/+3
2003-10-10MarshalSwitchboard._ext_write(), ASCIISwitchboard._ext_write():bwarsaw1-6/+2
Promote SYNC_AFTER_WRITE to a Defaults.py/mm_cfg.py variable after all.
2003-09-22Backporting from the HEAD -- updated queue runnersbwarsaw5-108/+153
2003-09-22This commit was manufactured by cvs2svn to create branch1-0/+46
'Release_2_1-maint'.
2003-04-20Backporting from the trunk.bwarsaw1-3/+3
2003-04-07Backporting from trunk.bwarsaw1-7/+18
2003-04-02Backport:bwarsaw1-1/+2
dequeue(): If we can't read a .db file, initialize data to the empty dictionary, since the following test expects to do a has_key() on the value. Closes SF bug #707608.
2003-03-31Backporting from trunkbwarsaw2-17/+41
2003-03-31Backporting SF patch #683906, add $DESTDIR to install target, bybwarsaw1-2/+3
Ademar de Souza Reis Jr
2003-02-08Backporting from the trunk.bwarsaw2-7/+14