anomy-bugs

Possible attachment corruption

From: Alexander Savin (11468@xyz.molar.is)
Date: Thu 20 Dec 2001 - 13:04:31 UTC


Hi, there!

Here is what I have found:
anomy-sanitizer-1.45 corrupts attachments (cuts off about 3Kb)
in emails composed as HTML.
I've got the these results using MS Outlook Express 5 and Mozilla 0.9.6
(Linux)
as clients.

Best regards,
Alexander Savin

        -- 8< -- inline; filename="sanitizer.cfg" --
#
# Active features.
#
feat_boundaries = 0
feat_files = 1
feat_fixmime = 1
feat_forwards = 1
feat_html = 1
feat_webbugs = 1
feat_lengths = 1
feat_log_inline = 0
feat_log_stderr = 0
feat_scripts = 1
feat_testing = 0
feat_trust_pgp = 0
feat_uuencoded = 1
feat_verbose = 0
file_list_rules = 2
header_info = 0
header_url = 0
header_rev = 0

#
# Messages
#
msg_file_drop = NOTE: An attachment was deleted from this part of the message,\n
msg_file_drop += because it failed one or more checks by the virus scanning system.\n\n
msg_file_drop += The removed attachment name was:\n\n
msg_file_drop += \t%FILENAME\n\n

#
# Note: This directory must exist (even if you don't use the "save" policy!)
# and be writable by the user running the sanitizer.
#
file_name_tpl = /tmp/att-$T-$F.$$$
file_characters = 0

#
# Pure data, don't mangle this stuff (much).
#
file_list_1_policy = accept
file_list_1_scanner = 0
file_list_1 = (?i)\.(gif|jpe?g|pn[mg]|x[pb]m|dvi|e?ps|p(df|cx)|bmp
file_list_1 += |mp[32]|wav|au|ram?
file_list_1 += |avi|mov|mpe?g
file_list_1 += |t(xt|ex)|l(og|yx)
file_list_1 += |[ch](pp|\+\+)?|inc|asm|pa(tch|s)|java|php\d?
file_list_1 += |[ja]sp|\d+)$

#
# Archives and scriptable stuff - virus scan these.
#
file_list_2_policy = accept:drop:drop:drop
file_list_2_scanner = 1:2:3:some antivirus here
file_list_2 = (?i)\.(d(at|oc)|xls|p(pt|l)|rtf|[sp]?html?
file_list_2 += |class|upd|wp\d?|m?db
file_list_2 += |z(ip|oo)|rar|ar[cj]|ace|lha|[tr]ar|rpm|deb|slp|tgz
file_list_2 += |[acr][0-9][0-9]|g?z|Z|bz\d?)$

#
# Default policy: drop attachments
#
file_default_policy = drop



hosted by molar.is