Does anyone know how to use MIMEDefang to fix the footer as attachment issue when using Mailman3? I've seen several guides/scripts referring to its use with Mailman2, but I'm unsure of how they would match with Mailman 3.
Other ways of fixing this issue are also welcome.
Ryan Morash IT Support Technician Questar III BOCES Confidential Transmission This correspondence is confidential and may contain privileged materials or information. It is intended for the use of the addressee only and all others are prohibited from copying or disseminating this message or its contents. If you have received this transmission in error, delete it immediately and notify the sender.
On 11/13/20 9:51 AM, Ryan Morash wrote:
Does anyone know how to use MIMEDefang to fix the footer as attachment issue when using Mailman3? I've seen several guides/scripts referring to its use with Mailman2, but I'm unsure of how they would match with Mailman 3.
I don't use MIMEDefang and don't specifically recommend it, but I have looked at <https://stuff.mit.edu/~jik/software/mailman_mimedefang/>, and it seems that the only Mailman specific things involved in the installation and configuration of this script are the addition of the "MAILMAN_MIMEDEFANG" lines as the first and last lines of the footer template.
The only thing Mailman 3 specific in that is how to edit the footer template. This can be done on a per-list basis via Postorius since 1.2.0 or more directly in Mailman core by setting URIs, see <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/templates.html> or by creating templates in Mailman's var/templates directory, see <https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/utilities/i18n.py#L44>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Ryan Morash writes:
Does anyone know how to use MIMEDefang to fix the footer as attachment issue when using Mailman3? I've seen several guides/scripts referring to its use with Mailman2, but I'm unsure of how they would match with Mailman 3.
Like Mark, I don't have experience with this, or time to research it for several days, but it should work pretty much the same way. That is, if MIMEDefang is a milter (called from the outgoing MTA), it's *exactly* the same (including any modifications to the footer text), and if it's called from a Mailman Handler, it's essentially the same, except that where it's inserted in the pipeline may be slightly different.
For future reference, it often is of great help in advising you if you provide links to the guides/scripts you're talking about.
Steve
participants (3)
-
Mark Sapiro
-
Ryan Morash
-
Stephen J. Turnbull