Re: [Mimedefang] Word Macro warning in subject.

2016-02-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 12 Feb 2016, System Operations wrote: I made the changes to the sub contains_office_macros below, I hope that these changes are correct. Does the sub contains_office_macros need be called by sub filter_multipart only or does it need to

Re: [Mimedefang] Word Macro warning in subject.

2016-02-11 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Feb 2016, System Operations wrote: Hmm, do you use SpamAssassin. I thought one could add search strings to ClamAV as well, but cannot find any pointers in the internet. Slave 1 stderr: Can't call method "parts" on an undefined value at

Re: [Mimedefang] Word Macro warning in subject.

2016-02-11 Thread System Operations
Thanks Steffen, I now call the subroutine using if (contains_office_macros($entity))... I made the changes to the sub contains_office_macros below, I hope that these changes are correct. Does the sub contains_office_macros need be called by sub filter_multipart only or does it need to be

[Mimedefang] Word Macro warning in subject.

2016-02-08 Thread System Operations
2 different AV scanners dont pick word macro virus. I am not a perl coder and am trying to get the code below working Any help with this would be appreciated. Thanks Slave 1 stderr: Can't call method "parts" on an undefined value at /etc/mail/mimedefang-filter sub filter { my($entity,