[Mailman-Users] Discarding stripped messages and rejectingimplicitdeclaration posts.

Mark Sapiro msapiro at value.net
Sat Feb 12 19:53:21 CET 2005

Lars Bungum wrote:

>On Sat, 2005-02-05 at 18:38, Mark Sapiro wrote:
>> >1.  On the first messages with disallowed attachments are stripped of 
>> >these, but not held for moderator approval.  I would like to see them 
>> >held for such, how do I accomplish this?
>> There is no option to hold messages which have had parts removed by
>> content filtering.
>> The only thing you might be able to do without hacking the code is to
>> adjust max_message_size to hold messages with "large" attachments and
>> not those without, but this would obviously not be very reliable.
>How about adding the content-types to the spam-option?  I tried doing
>this now, like:
>Content-Type: application/octet-stream; name="details.exe"
>as the spamfilter regexp.  Would that work?

No, it won't work because the header_filter_rules are only applied to
the message headers. They are not checked against the sub-part headers
for MIME sub-parts. Thus the only header you could match against would
be something like


Which would probably be too broad.

>It seems useful with the ability to discard these messages, though.  All
>list posts that are being stripped have been spam this far.

If the post is being held for this rule, the held reason will be
"Message rejected by filter rule match" (or "Meldingen ble avvist av
et filter"). I doubt that is happening in this case.

>> >2. On a different list messages that are posted either with implicit 
>> >declarations or with to many recipients are being held for moderator 
>> >approval.  I would like them to be discarded.  How do I do this?
>> There's no option for this either.
>Oh.  This would be really useful, because for a certain couple of lists,
>that are advertised to the world, the amount of spam is incredible, and
>the list owner gets about 150 of these for his approval very day.
>Have any suggestions for a workaround?  Creating a fake account for list
>owner is the best I've come up with myself.

I'm sorry, I don't have a better idea for a workaround.

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 mailing list