[Mailman-Users] Change content filter rejection text
msapiro at value.net
Thu Oct 26 05:38:28 CEST 2006
Blatter, Nicholas wrote:
>I'm wondering if there is any way to change the message sent by the
>content filter when a message is rejected. I'm trying to move away from
>letting users send HTML messages to the lists I manage, and instead of
>saying "The message's content type was not explicitly allowed" I would
>like it to explain that only plain text messages are allowed.
>I saw there are language directories in messages/ with this field, but
>there are no English directories there (as I assume it's compiled into
As you surmise, the English language text in the mailman.po/mailman.mo
files is the 'key' to the translated text. The English language text
is in the source modules.
>Is there any way to change this message?
Only by editing the message itself in the Mailman/Handlers/MimeDel.py
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users