aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The fix for BUG #266220 (sf1181161) has been enhanced so that if thereMark Sapiro2011-10-131-1/+18
| | | | | | is a pathological HTML part such that the Approved: password text isn't found, but it is found after stripping out HTML tags, the post is rejected with an informative message.
* Fixed a problem which could result in raw, undecoded message bodiesMark Sapiro2011-06-021-4/+7
| | | | appearing in plain digests and archives. Bug #787790.
* A new list poster password has been implemented. This password may onlyMark Sapiro2011-04-251-2/+3
| | | | | | be used in Approved: or X-Approved: headers for pre-approving posts. Using this password for that purpose precludes compromise of a more valuable password sent in plain text email. Bug #770581.
* Fixed a problem where content filtering could remove the headers fromMark Sapiro2011-04-121-1/+8
| | | | | an attached message/rfc822 part if the message in that part is multipart/alternative and collapse_alternatives is Yes. Bug #757062.
* Fix for bug #701558 went to far. Don't recast message/rfc822 parts.Mark Sapiro2011-04-071-2/+4
| | | | We want to keep the headers.
* Added the list name as 'display-name' in added Sender: headers to helpMark Sapiro2011-03-211-3/+4
| | | | mitigate Outlook et al 'on behalf of' displays. Bug #736849.
* - Held message user notifications now come From: list-owner instead ofMark Sapiro2011-02-071-5/+2
| | | | list-bounces. Bug #714424.
* @listname entries in *_these_nonmembers are no longer case sensitive.Mark Sapiro2011-01-241-4/+5
| | | | Bug #705715.
* - Fixed a bug where content filtering could leave a multipart message orMark Sapiro2011-01-131-1/+21
| | | | | part with just one sub-part. These should be recast to just the sub-part. Bug #701558.
* Merged optional Sender: header feature from lp:~mss/mailman/2.1-sender-header.Mark Sapiro2010-07-031-3/+19
|\
| * Added option include_sender_header to suppress rewrite of the Sender header ↵Malte S. Stretz2010-06-291-2/+18
|/ | | | which confuses Outlook (formerly known as FAQ 2.3). See also <http://mail.python.org/pipermail/mailman-developers/2006-July/019040.html>. Bug #266824.
* Removed an extraneous line of code from Decorate.py. Bug #590155.Mark Sapiro2010-06-051-1/+0
|
* Made a minor change to the removal of an Approved: pseudo-header fromMark Sapiro2010-05-101-1/+1
| | | | | a text/html alternative to allow for an inserted '\xA0' before the password.
* Fixed Content Filtering collapse_alternatives to work on deeply nestedMark Sapiro2010-05-061-0/+3
| | | | multipart/alternative parts. Bug #576675.
* We now accept/remove X-Approved: and X-Approve: headers in addition toMark Sapiro2010-04-092-4/+14
| | | | Approved: and Approve: for pre-approving posts. Bug ##557750.
* Added a traceback to the log message produced when processing theMark Sapiro2010-03-051-1/+5
| | | | digest.mbox throws an exception.
* Fixed a bug where a message with an Approved: header held by a handlerMark Sapiro2009-12-301-3/+9
| | | | | that precedes Approve (SpamDetect by default) would not have the Approved: header removed if the held message was approved. Bug #501739.
* Decoded RFC 2047 encoded message subjects for a few reports. Bug #266428.Mark Sapiro2009-12-031-0/+1
|
* Fixed the auto-responder to treat messages to -confirm, -join, -leave,Mark Sapiro2009-09-131-4/+5
| | | | -subscribe and -unsubscribe as requests rather than posts. Bug #427962.
* Mailman no longer folds long sub-part headers in multipart messages.Mark Sapiro2009-08-012-23/+4
| | | | | | | | | | | In addition, Mailman no longer escapes From_ lines in the body of messages sent to regular list members, although MTA's may do it anyway. This is to avoid breaking signatures per Bug #265967. Changes include - Message.py, added a Generator class to avoid header folding and an as_string() method wirth a mangle_from_ argument. - Mailbox.py, uses new Message.Generator class. - SMTPDirect.py, uses as_string(mangle_from_=False) to flatten message. - Scrubber.py, removed unused ScrubberGenerator class.
* Removed or anonymized additional headers in posts to anonymous lists.Mark Sapiro2009-08-011-1/+14
|
* Backported several bug fixes from the 2.2 branch.Mark Sapiro2009-07-312-3/+3
|
* Work around email 3.0.1 issue when set_payload charset arg is unicode.Mark Sapiro2009-01-131-1/+4
|
* Fixed a problem in Decorate which could throw a TypeError on conversion toMark Sapiro2008-12-071-2/+10
| | | | | | | | unicode of a header/footer that was already unicode because of interpolating a unicode value. Made a minor change to the authentication logic for displaying hidden members on the roster.
* Now that Python 2.4 is the minimum and we will use more recent installedMark Sapiro2008-11-303-7/+8
| | | | | email packages, convert all the email message get_type() calls to get_content_type().
* trunkBarry Warsaw2008-11-291-8/+12
|\
| * Fixed a bug in AvoidDuplicates.py that caused it to fail if the addressMark Sapiro2008-11-141-8/+12
| | | | | | | | | | in the To: or Cc: header differed in case from the case-preserved member address. Bug #297795.
* | Apply Heiko Rommel's patch for hashlib deprecation warnings for bug 293178.Barry Warsaw2008-11-121-3/+3
|/ | | | I've modified the patch to improve some of the stylistic issues.
* Changed the stripping of trailing spaces from lines of the list headersMark Sapiro2008-10-031-1/+2
| | | | and footers to leave a trailing space on a '-- ' signature separator.
* Added check for gateway_to_news before holding for ModeratedNewsgroup.Mark Sapiro2008-06-231-2/+2
|
* Fixed CookHeaders.py which in some cases with new style prefixingMark Sapiro2008-06-201-1/+4
| | | | | would insert an extra space between the prefix and the subject.
* Fixed a problem in Decorate.py that could result in a multipartMark Sapiro2008-06-111-1/+7
| | | | | message with no part headers for the original body part (1991348).
* Gui/GuiBase.py - Don't allow self references in *_these_nonmembersMark Sapiro2008-03-152-14/+32
| | | | | | | | | | | | or regular_(in|ex)clude_lists. Handlers/CalcRecips.py - Log and skip any self reference lists in regular_(in|ex)clude_lists. Compare To: and Cc: addresses and regular_(in|ex)clude_lists case insensitively. Handlers/Moderate.py - Log and skip any self reference lists in *_these_nonmembers.
* CookHeaders.py - Changed the first URL in the RFC 2369 List-Unsubscribe:Mark Sapiro2008-03-061-2/+3
| | | | | | | | | | | | | header to go to the options login page instead of the listinfo page. options.py - Changed to only issue the "No address given" error if coming from the page itself so we don't get the error when linking from another page or the List-Unsubscribe: header. - Changed to remember the user's language selection when redisplaying the page after an error.
* cmd_confirm.py - Modified to catch a UnicodeError that may occur underMark Sapiro2008-02-191-2/+3
| | | | | | | | obscure circumstances when scanning the message body for "unprocessed" commands. Moderate.py - Modified to not try to match "@listname" directly against the sender address.
* Moderate.py - expanded some tabs inadvertently introduced in rev 1008Mark Sapiro2008-02-041-4/+4
|
* Allow us to pass in extra decoration (i.e. header/footer) data via the messageBarry Warsaw2008-01-161-2/+4
| | | | | | | | metadata. Specifically, if the metadata has a 'decoration-data' key, the value should be a dictionary with extra interpolation keys. Also fix a bug in the way the 'extradict' default value is passwed to decorate. This should never be a mutable object.
* Add 'sibling list' feature: exclude and include lists are other mailingTokio Kikuchi2007-11-251-1/+75
| | | | | lists whose members are exclude or included if they appear in To: or Cc:. (Patch ID 1347962)
* Scrubber.py - changed to use part.get_payload(), not part._payload.Mark Sapiro2007-11-181-2/+2
|
* Gui/GuiBase.py - Deleted the _escape() method - not needed since 2.1.9Mark Sapiro2007-11-181-2/+13
| | | | | | | | Gui/GuiBase.py Gui/Privacy.py Handlers/Moderate.py - Patched with a slightly modified version of sf patch 1220144 - allow specifying another list in accept_these_nonmembers.
* - Scrubber.pyMark Sapiro2007-11-061-5/+6
| | | | | | | | Fixed an issue where an implicit text/plain part without any headers gets lost. Moved the cleansing of the filename extension to a place where it is guaranteed to be a string as opposed to an empty list.
* Added Date and Message-ID headers to the confirm replyMark Sapiro2007-11-041-1/+3
| | | | message that Mailman adds to the admin notification.
* - Cgi/options.py - fixed to not present the "empty" topic to user.Mark Sapiro2007-11-041-2/+7
| | | | | - Handlers/CalcRecips.py - Changed to not process topics if topics are disabled for the list.
* Added removal of Authentication-Results: header.Mark Sapiro2007-11-041-4/+4
|
* MimeDel.py neglected to lower case file extensions for comparison withMark Sapiro2007-10-041-1/+1
| | | | lower cased *_filename_extensions. Fixed.
* /cygdrive/c/MM_bzr/log.txtMark Sapiro2007-10-041-1/+1
|
* Scrubber.py - Cleaned up a few loose ends and incomplete things left after theMark Sapiro2007-06-221-17/+19
| | | | | | | | | previous commit. - Normalized a couple more 'URL:'. - Improved handling of None payloads. - Cleaned up a few charset coercions. OutgoingRunner.py - Made probe bounce processing and queuing of bounces conditional on having some permanent failure(s).
* Scrubber.py - If a malformed message has Content-Type: with amsapiro2007-06-151-4/+7
| | | | | | | | | | charset="quoted-printable" parameter, quopri_encode can be called at t = t.encode(charset, 'replace') which throws an AssertionError. See log message for r. 8213. Caught this. - Malformed RFC 2047 encoded filename= parameter can have a null byte or other garbage in the extension. Cleaned this. - A message with a message/delivery-status part returns None for the part's payload. Checked for a payload before attempting unicode/encode.
* Improved processing of an Approve(d): body line by decoding the body payloadmsapiro2007-06-091-6/+22
| | | before looking for/deleting the Approve(d): line.
* base64 codec raises 'AssertionError'. This should not occur in normal casetkikuchi2007-05-091-1/+1
| | | | | | but it looks like thare is a buggy MUA or spammer who declairs like so: Content-Type: text/plain; charset=base64 :-(