aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Message.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed a bug that could erroneously handle posts from addresses inMark Sapiro2011-01-131-5/+7
| | | | | *_these_nonmembers and send held/rejected notices to bogus addresses when The From or other sender header is RFC 2047 encoded. Bug #702516.
* Mailman no longer folds long sub-part headers in multipart messages.Mark Sapiro2009-08-011-2/+37
| | | | | | | | | | | 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.
* There is a bug in email 2.5.8 and possibly others, but not in 4.0.1 orMark Sapiro2007-06-291-1/+9
| | | | | | | | | 4.0.2 that causes email.Utils.getaddresses() to return a spurious (name, address) tuple if the supplied argument is multi-line. The actual bug is in email.Utils.parseaddr(), but the manifestation in Message.py is in the use of getaddresses() in get_sender() and get_senders(). This fix works around the bug by passing the header field values through Mailman.Utils.oneline().
* Changed email package to 2.5.7. Backed out workaround set_payload() methodmsapiro2006-03-061-12/+1
| | | | from Message.py
* Wrapping set_payload() to encode contents into qp/base64 upon setting.tkikuchi2006-01-291-0/+11
| | | | | | This incorporates Python email patch: http://sourceforge.net/tracker/?func=detail&aid=1409455&group_id=5470&atid=105470 and eventually be backed out if email package is updated.
* A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw2005-12-301-2/+3
| | | | | | | | | | | | | 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.
* Looks like this set of Error is more appropriate.tkikuchi2005-12-061-1/+1
|
* email.Message.Message.get_filename() is wrapped because error in thistkikuchi2005-11-271-0/+10
| | | | function may stop regular delivery.
* FSF office has moved to 51 Franklin Street.tkikuchi2005-08-271-1/+1
|
* get_content_charset(): This is fixed in email-2.5.6 so remove it from herebwarsaw2005-04-291-19/+1
| | | | because it's better not to have redundant code.
* Add TypeError for possible error when checking charset availablity.tkikuchi2005-04-251-1/+1
|
* Brushing up the override function.tkikuchi2005-04-221-4/+13
|
* get_content_charset() should return failobj on error.tkikuchi2005-04-211-0/+9
|
* Backporting from trunkbwarsaw2003-03-311-6/+9
|
* This commit was manufactured by cvs2svn to create branch2003-01-021-0/+274
'Release_2_1-maint'.