Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Switchboard.py Added missing newline at EOF. | msapiro | 2006-07-22 | 1 | -1/+1 | |
| | ||||||
* | - bin/unshunt | msapiro | 2006-07-22 | 3 | -14/+47 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Queue/Runner.py - Queue/Switchboard.py Backported the gfiles backup changes from the trunk. The following comments are from the trunk checkin. Note that the test cases are not added. Added robustness to Switchboards and Runners so that if a runner crashes uncleanly (e.g. segfaults the Python interpreter), messages being processed will not be lost. The vulnerability, ideas, and patches are credited to Richard Barrett and Mark Sapiro. Their original work was modified by Barry for this commit and any bugs are his fault. The basic idea is that instead of unlinking a .pck file in dequeue(), the file is renamed to a .bak file. The Switchboard grows a finish() method which then unlinks the .bak file. That class's constructor also grows a 'restore' argument (defaulting to false), which when true moves all .bak files it finds in its hash space to .pck, thereby restoring a file lost while "in flight". This relies on the fact that even with multiple qrunners, exactly one process will be responsible for one hash space slice, so it's never possible (under normal operation) for a .bak file to be renamed to .pck by some other process. Test cases for both the new Switchboard behavior and the use of that by Runner subclasses has been added. There are two things to watch out for, either of which may require some additional changes. There is some small potential to duplicate messages in various queues, if say 'mailmanctl' were improperly started more than once by a site admin. This usually won't happen unless an admin is overly eager with the mailmanctl -s switch, so we can chalk this one up to operator error. I'm not sure what more we can do about that. There's also a possibility that if we're processing a message that continually causes the Python interpreter to crash, we could end up duplicating messages endlessly. This is especially troublesome for the Outgoing runner which could conceivably cause a mail flood. I consider this the more critical issue to defend against, probably by adding a numbering scheme to the .bak file names and refusing to restore a .bak file more than say 3 times without human intervention. | |||||
* | Committed messages mailman.po and a stack of added and updated templates for ↵ | clytie | 2006-07-21 | 46 | -3720/+3394 | |
| | | | | | Dutch. Clytie Siddall <clytie@riverland.net.au> | |||||
* | - Switchboard.py - Closed very tiny holes at the upper ends of queue | msapiro | 2006-07-09 | 2 | -5/+17 | |
| | | | | | slices that could result in unprocessable queue entries. Improved FIFO processing when two queue entries have the same timestamp. | |||||
* | - Decorate.py Fixed bug 1507248 by ignoring header/footer characters | msapiro | 2006-06-23 | 3 | -4/+25 | |
| | | | | | | | | outside the character set of the list's language. - Utils.py Fixed a security hole which allowed a crafted URI to inject bogus apparent messages into the error log, possibly inducing an admin to visit a phishing site. | |||||
* | 2006-04-27 Clytie Siddall <clytie@riverland.net.au> | clytie | 2006-04-27 | 1 | -0/+1 | |
| | | | | | | * Defaults.py.in: Added Vietnamese to add_languages. | |||||
* | 2006-04-23 Added and committed all the Vietnamese translated template files ↵ | clytie | 2006-04-23 | 44 | -0/+1037 | |
| | | | | | | | from the stable version. Clytie Siddall <clytie@riverland.net.au> | |||||
* | 2006-04-23 Clytie Siddall <clytie@riverland.net.au> | clytie | 2006-04-23 | 1 | -0/+11607 | |
| | | | | | | * mailman.po: Added Vietnamese translation. | |||||
* | 2006-04-23 Added further units of the paths for Vietnamese translation files. | clytie | 2006-04-23 | 0 | -0/+0 | |
| | | | Clytie Siddall <clytie@riverland.net.au> | |||||
* | 2006-04-23 Added vi directory in /messages. | clytie | 2006-04-23 | 0 | -0/+0 | |
| | | | Clytie Siddall <clytie@riverland.net.au> | |||||
* | Bump version to 2.1.8 final. | tkikuchi | 2006-04-15 | 6 | -31/+21 | |
| | ||||||
* | Bumping 2.1.8rc1. | tkikuchi | 2006-04-06 | 6 | -15/+20 | |
| | ||||||
* | Fix XSS bug: Thanks Moritz Naumann. (CVE-2006-1512) | tkikuchi | 2006-04-04 | 1 | -2/+3 | |
| | ||||||
* | Recognize more bounces - DSN.py, Qmail.py and SimpleMatch.py | msapiro | 2006-04-04 | 7 | -4/+497 | |
| | ||||||
* | file simple_16.txt was added on branch Release_2_1-maint on 2006-04-04 ↵ | msapiro | 2006-04-04 | 1 | -78/+0 | |
| | | | | 23:23:17 +0000 | |||||
* | file qmail_03.txt was added on branch Release_2_1-maint on 2006-04-04 ↵ | msapiro | 2006-04-04 | 1 | -245/+0 | |
| | | | | 23:23:17 +0000 | |||||
* | file dsn_14.txt was added on branch Release_2_1-maint on 2006-04-04 23:23:17 ↵ | msapiro | 2006-04-04 | 1 | -149/+0 | |
| | | | | +0000 | |||||
* | This commit was manufactured by cvs2svn to create branch | 2006-04-04 | 4 | -0/+505 | ||
| | | | 'Release_2_1-maint'. | |||||
* | Added bounce tests. Updated bounce recognizers to pick up a few more. | msapiro | 2006-03-24 | 5 | -0/+833 | |
| | ||||||
* | Added bounce tests. Updated bounce recognizers to pick up a few more. | msapiro | 2006-03-24 | 3 | -1/+27 | |
| | ||||||
* | Bump version number to 2.1.8b1. | tkikuchi | 2006-03-23 | 6 | -15/+15 | |
| | ||||||
* | SF Bug ID 1453049 from Clytie. Only easiest fixes are done because we should | tkikuchi | 2006-03-23 | 34 | -17181/+17312 | |
| | | | | | care all the .po files in language directories. More fixes should be done in mailman-2.2. | |||||
* | Added missing import of Errors module. | msapiro | 2006-03-20 | 1 | -0/+1 | |
| | ||||||
* | Fixed long standing bug (1275856) - get_domain() returned DEFAULT_EMAIL_HOST | msapiro | 2006-03-18 | 1 | -2/+3 | |
| | | | | instead of DEFAULT_URL_HOST if VIRTUAL_HOST_OVERVIEW was off. | |||||
* | Fixed VERP_CONFIRM_REGEXP to accommodate 'broken' MUAs that add the | msapiro | 2006-03-18 | 1 | -2/+6 | |
| | | | | local_part of the From: address as a 'real name' in the To: header when replying. | |||||
* | Improved fix for bug 1275856 to return host part of DEFAULT_URL if any from | msapiro | 2006-03-18 | 1 | -7/+5 | |
| | | | | get_domain() if VIRTUAL_HOST_OVERVIEW off. | |||||
* | Fixed long standing bug (1275856) - get_domain() returned DEFAULT_EMAIL_HOST | msapiro | 2006-03-12 | 1 | -3/+8 | |
| | | | | instead of DEFAULT_URL_HOST is VIRTUAL_HOST_OVERVIEW was off. | |||||
* | Fixed long standing error - subscribe log 'new' entry reversed name and email. | msapiro | 2006-03-12 | 1 | -1/+1 | |
| | ||||||
* | Bumping version number to 2.1.8a1 | tkikuchi | 2006-03-10 | 6 | -15/+25 | |
| | ||||||
* | UTF-8 to ISO-8859-1 converted. | tkikuchi | 2006-03-10 | 1 | -4/+4 | |
| | ||||||
* | Updated 2.1.8a1 bug fixes and other patches entry. | msapiro | 2006-03-09 | 1 | -4/+8 | |
| | ||||||
* | Fixed show_qfiles for case where queue entry contains an unparsed message. | msapiro | 2006-03-09 | 1 | -1/+22 | |
| | | | | Bug 1444447. | |||||
* | Add test in BounceRunner for non-fatal, VERPed bounce. Bug 1421285. | msapiro | 2006-03-09 | 1 | -1/+5 | |
| | ||||||
* | Changes in champions: new Greekampion and Romanian mail address. | tkikuchi | 2006-03-09 | 2 | -4/+12 | |
| | ||||||
* | Changed email package to 2.5.7. Backed out workaround set_payload() method | msapiro | 2006-03-06 | 4 | -15/+5 | |
| | | | | from Message.py | |||||
* | Updated SimpleWarning to return Stop. Updated SimpleMatch to catch a few more | msapiro | 2006-03-06 | 6 | -8/+135 | |
| | | | | Added some more test cases. | |||||
* | Added some more bounce recognition to SimpleMatch and changed the logic | msapiro | 2006-03-03 | 4 | -12/+140 | |
| | | | | | | | so one all pattern sets are tried until a match is found so one start pattern whose address doesn't match won't preempt a later patern set that will match. Added more test cases. | |||||
* | Added new test bounces to test_bounces.py. Modified logic for "Stop" return. | msapiro | 2006-03-02 | 3 | -0/+151 | |
| | | | | Deleted 3 wrongly named test bounce files and added with correct names. | |||||
* | Added new test bounces to test_bounces.py. Modified logic for "Stop" return. | msapiro | 2006-03-02 | 3 | -151/+0 | |
| | | | | Deleted 3 wrongly named test bounce files and added with correct names. | |||||
* | Added new test bounces to test_bounces.py. Modified logic for "Stop" return. | msapiro | 2006-03-02 | 1 | -8/+26 | |
| | | | | Deleted 3 wrongly named test bounce files and added with correct names. | |||||
* | Changed BouncerAPI.py to return Stop from a Bouncer and changed | msapiro | 2006-03-01 | 4 | -16/+27 | |
| | | | | | | BounceRunner.py to discard the bounce when Stop returned. Changed DSN.py to recognize Action: headers with comments. Changed Qmail.py to recognize an observed different starting string. | |||||
* | Added more test bounce messages | msapiro | 2006-03-01 | 10 | -0/+591 | |
| | ||||||
* | Added a European mirror (still needs to be pushed). | bwarsaw | 2006-02-28 | 3 | -121/+108 | |
| | | | | Latest Spanish catalog updates from Juan Carlos Rey Anaya. | |||||
* | Improved fix for bug 1433673. When time.strptime returns tm_isdst = -1, use | msapiro | 2006-02-23 | 1 | -0/+4 | |
| | | | | time.localtime(time.mktime()) to try again. | |||||
* | Added 1435722 to bugs fixed for 2.1.8. | msapiro | 2006-02-22 | 1 | -0/+1 | |
| | ||||||
* | Fixed bug 1435722 by encoding the i18n subject in the character set of the | msapiro | 2006-02-22 | 1 | -3/+5 | |
| | | | | | translation rather that that of the list language. (The subscribers language may be different.) | |||||
* | Added note from Kevin McNamee. | msapiro | 2006-02-20 | 1 | -1/+65 | |
| | | | | Renamed from mm-handler.readme. | |||||
* | Added 1430236 and 1433673 to 2.1.8 bugs fixed list. | msapiro | 2006-02-19 | 1 | -1/+2 | |
| | ||||||
* | Fixed bug 1433673 by fixing ctime() to not use time.tzname[1] when tm_isdst ↵ | msapiro | 2006-02-19 | 1 | -4/+7 | |
| | | | | is -1. | |||||
* | Fixed bug 1430236 by catching TypeError when trying to get a decoded payload | msapiro | 2006-02-19 | 1 | -1/+6 | |
| | | | | when payload is None. |