summaryrefslogtreecommitdiff
path: root/src/mailman/runners/digest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/runners/digest.py')
-rw-r--r--src/mailman/runners/digest.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mailman/runners/digest.py b/src/mailman/runners/digest.py
index afc11f732..c347667f8 100644
--- a/src/mailman/runners/digest.py
+++ b/src/mailman/runners/digest.py
@@ -284,16 +284,17 @@ class RFC1153Digester(Digester):
self._mlist.fqdn_listname,
self._mlist.digest_footer_uri))
footer_text = ''
- # 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 >> self._text, self._separator30
print >> self._text
+ print >> self._text, 'Subject: ' + _('Digest Footer')
+ print >> self._text
print >> self._text, footer_text
print >> self._text
+ print >> self._text, self._separator30
+ print >> self._text
# Add the sign-off.
sign_off = _('End of ') + self._digest_id
print >> self._text, sign_off