Executables within docx files?
Alex via amavis-users
amavis-users at amavis.org
Wed Sep 4 06:23:13 CEST 2013
Hi,
> We had a complaint from a user that an email with a .docx file was
> rejected. We have an amavisd policy where .exe binaries are rejected.
>
> Upon further inspection, the docx file contained a number of
> individual files, one of which was a dat file which appears to be some
> kind of binary:
...
> $ file \[trash\]/0001.dat
> [trash]/0001.dat: DOS executable (block device driver)
It looks like perhaps 'file' is incorrectly identifying this file?
If I added the following to the $banned_filename_re, would it skip the
[trash]/0001.dat file?
$banned_filename_re = new_RE(
[ qr'^\[trash\]/0001\.dat$' => 0 ],
....
);
How can I then test it with the either the email or docx file that
triggers this to see if it still happens (without having to mail the
file...)
I should mentioned before that this is on an fc18 system with
amavisd-2.6.6. I've also seen debian bug reports submitted for this
issue back in July. I was unable to find an amavisd bug report,
though.
Thanks,
Alex
More information about the amavis-users
mailing list