RFC 1153 digests should not work around VM bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Low
|
Mark Sapiro |
Bug Description
In RFC1153Digester
# 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.
It is bogus that Mailman works around VM this way, so the code should be fixed to fully conform to RFC 1153. While this bug report is specifically targeted to Mailman 3, it also affects MM2.1, but I'll let Mark decide the priority of that bugtask.
Related branches
- Barry Warsaw: Approve (code)
-
Diff: 76 lines (+16/-6)3 files modifiedsrc/mailman/docs/NEWS.rst (+1/-0)
src/mailman/runners/digest.py (+7/-6)
src/mailman/runners/docs/digester.rst (+8/-0)
Changed in mailman: | |
milestone: | 3.0.0b1 → postponed |
Changed in mailman: | |
importance: | Medium → Low |
Changed in mailman: | |
assignee: | nobody → Mark Sapiro (msapiro) |
milestone: | postponed → 3.0.0b2 |
Changed in mailman: | |
status: | Triaged → In Progress |
Changed in mailman: | |
status: | In Progress → Fix Committed |
Changed in mailman: | |
status: | Fix Committed → Fix Released |
I'll fix it for MM 2.1.15. I'll add digest_footer as the last RFC1153 message in the digest. I'm not completely sure how best to do this. I.e., should it be added as a message with an empty header, or with a single, non-standard (e.g.) "Footer:" header or with a "Subject: List footer" header. I lean towards the Subject: header, because it is clearly compliant with the RFC and probably works best in an exploded digest, but the empty header is probably best in an unexploded digest.