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 cal

[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,