7 7 7 7
77 77 77 77
7 7 7 7 7 7
7 7 7 7
7 7 7 7
7 7 7 77777 777 7777 777 7 7 7777
7 7 77 7 7 7 7 7 7 7 77 77 7 7
77777 7 7 7 7 7 7777 7 7 7 7 7 7777
7 7 7 77 7 7 7 7 7 7 7 7 7 7
7 7 7 7 7 777 7777 777 7 7 7777
7 7 77 7 77
7 7 7 7 77 7 7
7 7 7 7 7 7 7 7
7 7 7 7 7 7 7
7 77 7 7 77
(C) 1996 Kent B. Hansen
This is an ARexx-script for MailManager by Pino Aliberti.
MM_AntiBomb checks the incoming mail-packets against the configured archivers.
In case the packet is compressed with a known archiver, it compares the
physical size of the packet with the size the packet would have if it was
uncompressed.
This compress-ratio is compared with a user configurable maximum ratio, if the
compress-ratio of the checked packet exceeds this maximum, the packet is moved
to the bad-directory, and a "BOMB_" is added in front of the packet-name.
This way you can avoid filling your harddisk and crashing your system, if you
receive a mailbomb.
(A mailbomb is an archive, that isn't very big in size, but when uncompressed
it will fill up to an unlimited number of megaytes! If your mailer tries to
uncompress such an archive, it will eventually fill your harddisk, and your
system will hang with the "device full - retry/cancel" requester.) :-(
History of MM_AntiBomb
----------------------
0.10 (04.05.96) Initial version
--O--
Yours,
Kent Hansen (kbh@imada.ou.dk)
Team AMIGA Sysop TPV
|