aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-02-19Fixed bug 1430236 by catching TypeError when trying to get a decoded payloadmsapiro1-1/+6
when payload is None.
2006-02-17ch_oneline(): Input string variable is overwritten. Also use listtkikuchi1-8/+4
comprehension where appropriate.
2006-02-03variable name: it is not a floating number. (time tuple)tkikuchi1-2/+2
2006-01-29Back out Revision 2.18.2.19 patch for email.Message.set_payload() bugtkikuchi4-40/+12
because it is overwrapped in Mailman.Message.
2006-01-29Prevent loop in hold/reject if addressed to '-owner'.tkikuchi1-9/+10
2006-01-15Moving deletion of Domainkey-Signature: and DKIM-Signature: headers to amsapiro2-10/+34
new handler to be included in both GLOBAL_PIPELINE and OWNER_PIPELINE.
2006-01-14SpamDetect.py: Fix loop. As a side effect, spam message may pass thetkikuchi1-13/+15
filter if X-List-Administrivia header is forged.
2006-01-01process(): Fix a comment.bwarsaw1-4/+3
2005-12-31Don't use 'X-List-Administrivia', second part.tkikuchi1-1/+1
2005-12-31On my second thought, I use msgdata for internally crafted message checking.tkikuchi1-4/+2
The keyword 'reduced_list_headers' is taken from CookHeaders.py and looks like it is, reviewing Message.py.
2005-12-31Back out Revison 2.3.2.4 change. Check outermost message headertkikuchi1-6/+6
even if it has X-List-Administrivia header ( mostly -owner notification ).
2005-12-30A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw10-67/+73
normalization, removal of tabs, copyright year updates to changed files, docstring and comment fixes, and usage of True/False. I also made a pass through the NEWS file. One import was reordered, and after this commit I will move the mmdsr.readme file to README.mmdsr. From my perspective, after that we're ready to go. I will port these changes forward to the trunk.
2005-12-26Python interpreter has evolved to be strict on ascii charset range.tkikuchi1-20/+13
Subject manipulation should be done in unicode string mode.
2005-12-26True/False definition for Python2.1.tkikuchi1-0/+7
Only check in Release_2_1-maint branch because 2.2 will require higher version of python.
2005-12-21Scan other text/* parts for Approve(d): <password> - bug 1181161.msapiro1-1/+29
2005-12-17Fixes for email.set_payload() not distinguish parsed or virgin payload.tkikuchi4-25/+51
I've tested the example by Mark Sapiro: http://mail.python.org/pipermail/mailman-developers/2005-November/018395.html both with and without 'Content-Transfer-Encoding' but may need more test.
2005-12-13Add an extra trailing space in scrubbed content URL. This may save thetkikuchi1-1/+3
users of MS Outlook and Apple Mail.
2005-11-28One more little change. One day I'll learn not to commit until I'm REALLY done.msapiro1-5/+1
2005-11-27Fix bug 1367783 - decode base64 and quoted-printable HTML parts when passing ↵msapiro1-1/+6
to mm_cfg.HTML_TO_PLAIN_TEXT_COMMAND
2005-11-19SF patch # 1246003tkikuchi1-1/+1
2005-11-13Use original_sender put in msgdata by CookHeaders.py if it's availablemsapiro1-1/+1
2005-11-13Remove Approve: header as well as Approved:msapiro1-0/+2
2005-11-13Don't delete line following first body line Approve(d)msapiro1-1/+1
2005-11-12Log the sender and not list-bounces when non-VERPmsapiro1-2/+8
and mm_cfg.USE_ENVELOPE_SENDER = Yes
2005-11-04Port from MAIN. Finnish Re: dialect.tkikuchi1-1/+1
2005-10-23Add OverflowError in the except list. (back port from MAIN).tkikuchi1-1/+1
2005-09-19process(): Patch by Mark Sapiro (slightly modified by Barry) to take preamblesbwarsaw1-2/+6
and epilogues in the calculation of messages sizes.
2005-09-12SF patch #1287546 to remove DomainKey (and similar) headers.bwarsaw1-1/+10
2005-08-27FSF office has moved to 51 Franklin Street.tkikuchi26-26/+26
2005-08-04Fix multiline bug as suggested by Iain Pople [1250657]tkikuchi1-1/+1
2005-07-17Whitespace normalization, and updates of copyright years.bwarsaw1-1/+1
2005-07-13Introduce new attribute (collapse_alternatives) to allow HTML intkikuchi1-4/+6
multipart/alternative message after content filtering.
2005-07-13Backout last checkin. The fix was already coded in the following part. ^^;)tkikuchi1-3/+0
2005-07-13A part can be None type in Python2.4 if multipart/mixed without real content.tkikuchi1-0/+3
Temporary work around to ignore such case.
2005-07-04Avoid infinite loop of held message and its notifications.tkikuchi1-5/+6
2005-06-26Fix SF BugID 1179487:tkikuchi1-3/+14
Although the RFC2231 bug example in the tracker has been solved in mailman-2.1.6, there may be more cases where ToDigest.send_digests() can block regular delivery. I put the send_digests() calling part in try - except clause and leave a message in the error log if something happened in send_digests(). Daily call of cron/senddigests will notify more details to the site administrator.
2005-05-22process(): One more bug fix, though this one should be safe. Under email 2.5,bwarsaw1-1/+8
it is possible for a message to be "not is_multipart()" but to have a None payload. I know of at least one situation where this can happen: you have a Content-Type: multipart/* but there is nothing but two blank lines between the first boundary and the end boundary. Under email 3, you get a string payload but under email 2.5 you get None. Because there's nothing in such parts, they should be safe to ignore.
2005-05-13I finally find out why re.escape() doesn't work properly. '%' should nottkikuchi1-8/+8
be escaped for it is the insert directive. It was my trial and error in the comments in previous version. Well, I didn't think of '++' ...
2005-05-13prefix_subject(): Don't double escape the prefix_pattern.bwarsaw1-3/+0
2005-05-13Copyright years and whitespace normalization.bwarsaw1-4/+3
2005-05-13strip_subject() in HyperArch.pybwarsaw1-8/+7
prefix_subject() in CookHeaders.py When calling re.sub() to substitute the subject prefix, you have to escape the pattern, otherwise prefixes like [C++] cause "multiple repeat" exceptions in re. Also, whitespace normalization and copyright years updates.
2005-05-08Fix UnicodeDecodeError and UnicodeEncodeError to UnicodeError.tkikuchi1-1/+1
Both are introduced in Python2.3. UnicodeError catches both.
2005-05-01process(): For some reason, the part's payload can be None. Defend againstbwarsaw1-6/+7
trying to call None.splitlines().
2005-03-28Username may contain non-ascii character for English-US.tkikuchi1-3/+3
Fall back to email address.
2005-03-21Fix bug in patch #1032434: You should accumulate subpart headers.tkikuchi1-6/+10
(should have went out an intermediate code) :-<
2005-02-17Anonymous list fix up: Add internal_name in the From: header.tkikuchi1-1/+9
Log anonymize record in 'post' for admin's inspection convenience.
2005-02-12Request from Brad Knowles. We need subject prefix strippedtkikuchi1-0/+11
from the posts from mailling list for gatewaying to nntp.
2005-02-11bumping 2.1.6b3tkikuchi1-1/+4
2005-02-06sourceforge patch id=1107169, re-use member_moderation_notice ...tkikuchi1-1/+5
Instead of re-use, a new variable 'nonmember_rejection_notice' was introduced. For compatibility with my patch for subject numbering, 'data_version' was raised by 3. Sorry for the leap but I want MY user to get smooth update. (TK)
2005-02-02Add Date/Message-ID headers for digests.tkikuchi1-2/+7