[Mailman-Developers] Re: [Mailman-Users] admin requests on the lists
Gergely Madarasz
gorgo@caesar.elte.hu
Fri, 13 Nov 1998 20:18:32 +0100 (MET)
Hello!
I think I found it.
In IsAdministrivia:
lines = map(string.lower, msg.readlines())
This returns the whole message, and then checks for administrivia in it,
including the headers. Some mailers add custom headers, mta-s add Received
headers, so we cannot tell how many header lines there can be. And then it
checks
if lines_with_text > 10:
headers will be counted too. So I guess this should be modified to check
only the body of the message. Now I increased this number to 30, should
work in most cases, but this is only a hack... :)
--
Madarasz Gergely gorgo@caesar.elte.hu gorgo@linux.rulez.org
It's practically impossible to look at a penguin and feel angry.
Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
HuLUG: http://mlf.linux.rulez.org/