Hi,
I think you'd better setup a antivirus/antispam gateway for the incoming
emails.ClamAV and Spamassassin are what you may want to check.
regards.
On 2015/10/19 ζζδΈ 18:35, Gary Stainburn wrote:
Is there any way within Perl to examine DOC and XLS files to
1) see if the document is empty, i.e. no text and no cell contents
2) has Macros embedded
We're getting lots of virus emails claiming to be invoices, receipts, etc.
with documents that match the above criteria which actually contain a virus.
I'm trying to stop them.
I know I can do the first bit for XLS files using Spreadsheet::ParseExcel, and
I'm looking to see how to do this for DOC files.
However, I can't find out how to do step 2. The result I need to be able to
run on a Centos / Exim setup.
Gary
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/