diff options
author | Mark Sapiro <msapiro@value.net> | 2011-11-11 12:55:16 -0800 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2011-11-11 12:55:16 -0800 |
commit | caaca9c3b00672f7e78334e59506d107e94ac667 (patch) | |
tree | 645848173574d4bbf2651ea89898d7f7cb72afd4 /Mailman/Handlers | |
parent | 5e64945bdc01accee9486c2eba089cd90daaf90e (diff) | |
download | mailman2-caaca9c3b00672f7e78334e59506d107e94ac667.tar.gz mailman2-caaca9c3b00672f7e78334e59506d107e94ac667.tar.xz mailman2-caaca9c3b00672f7e78334e59506d107e94ac667.zip |
Changed the way digest_footer is added to the RFC 1153 (plain) format
digest for RFC compliance. Bug #887610.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r-- | Mailman/Handlers/ToDigest.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py index 7e5c3427..edbf40dc 100644 --- a/Mailman/Handlers/ToDigest.py +++ b/Mailman/Handlers/ToDigest.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2010 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2011 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -361,16 +361,17 @@ def send_i18n_digests(mlist, mboxfp): footer['Content-Description'] = _('Digest Footer') mimemsg.attach(footer) # RFC 1153 - # BAW: This is not strictly conformant RFC 1153. The trailer is only - # supposed to contain two lines, i.e. the "End of ... Digest" line and - # the row of asterisks. If this screws up MUAs, the solution is to - # add the footer as the last message in the RFC 1153 digest. I just - # hate the way that VM does that and I think it's confusing to users, - # so don't do it unless there's a clamor. + # MAS: There is no real place for the digest_footer in an RFC 1153 + # compliant digest, so add it as an additional message with + # Subject: Digest Footer print >> plainmsg, separator30 print >> plainmsg + print >> plainmsg, 'Subject: ' + _('Digest Footer') + print >> plainmsg print >> plainmsg, footertxt print >> plainmsg + print >> plainmsg, separator30 + print >> plainmsg # Do the last bit of stuff for each digest type signoff = _('End of ') + digestid # MIME |