Re: trying to drop all attachments
From: Bjarni R. Einarsson (firstname.lastname@example.org)
Date: Fim 27 Júl 2000 - 20:02:03 UTC
On 2000-07-24, 19:08:44 (-0400), Robert Forsman wrote:
> I'm trying to configure anomy v1.21 to drop ALL attachments.
> I want it to dump anything that is not text/plain (and maybe I'll let
> text/html through) but I'm not sure exactly how to configure that.
Ah - ok. That isn't possible at the moment. The attachment
policy decisions are based on file names, not MIME types. I'm
interested in adding MIME-type based policies, but havn't done so
W.r.t. the rest of your message: congradulations, you found a bug!
Two in fact, one to do with trailing white space on file names,
the other to do with filename rewriting when both the "name" and
"filename" attributes are present in the MIME headers. I've fixed
them both and will be releasing sanitizer.pl 1.22 about the same
time as I send you this message (next time I find a 'net café).
Thanks for the bug report.
> file_name_tpl = /var/quarantine/att-$F.$$$
> file_list_rules = 1
> file_default_policy = drop
> file_list_1 = .$
> file_list_1_policy = drop
> file_list_1_scanner = 0
file_name_tpl = /var/quarantine/att-$F.$$$
file_list_rules = 0
file_default_policy = drop
Bjarni R. Einarsson :: email@example.com :: http://bre.klaki.net/
This mailing list's home page is: http://mailtools.anomy.net/archives/anomy-bugs/
There you can find subscription instructions and possibly an archive.
Molar.is is a free Icelandic mailing list service.