Suggestion: compressing attachments

From: infosvc (
Date: Fri 11 Jun 2004 - 21:48:22 GMT

I am using ANOMY for our family mailserver.
My topology is:
freemail provider > ADSL > fetchmail > maildrop > ANOMY > bogofilter >

My parents reading the mails this way:
courier-imap > ADSL > 56k Modem > Mozilla Thunderbird

As you can see my mailserver has a ADSL connection, but my parents only
have 56k internet access. I "host" their mailaccounts so they don't have
to care about spam,virus and mail filtering.

The problem is sometimes they get mails with big attachments(Word,
Powerpoint etc.) My idea is that it should be possible to compress this
files with ANOMY after the virusscan(only if they contain no virus). The
configuration could look like this:

- a new policy named "compress"
- the compressed files should be named like the umcompressed ones
(mydoc.doc >

file_list_rules = 2

file_list_1_scanner = 0:3:6,4:f-prot %FILENAME -archive -silent -server
file_list_1_policy = accept:save:accept:save
file_list_1 = (\.(exe|com|vb[se]|dll|cmd|bat|pif|lnk|hlp|ms[ip]|reg))$

file_list_2_scanner = 0
file_list_2_policy = compress
file_list_2_compress_type = zip(or gzip, rar...)
file_list_2_compress_level = 3 (0-9 with zip)
file_list_2 = (\.(doc|xls|ppt))$

Maybe it can be a feature of ANOMY some day. I think it would be very
useful not only for my case.

Thanks in advance and i have no problem to beta test feature.

hosted by