fmbla / spamassassin-olemacro

Detect Microsoft Office (DOC XLS etc) attachments with Macros
8 stars 6 forks source link

Cant load plugin on centos 7 #3

Open rxtx96 opened 5 years ago

rxtx96 commented 5 years ago

Hi,

Could You help with loading Your plugin under Centos 7 ? If something can be checked I'll be more than happy to post result of check, but please some directions.

I see this after spamassassin -D --lint 2>&1 | grep -i failed

warn: plugin: failed to parse plugin /etc/mail/spamassassin/OLEMacro.pm: Can't locate IO/String.pm in @INC (@INC contains: lib /usr/share/perl5/vendor_perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /etc/mail/spamassassin/OLEMacro.pm line 6. warn: BEGIN failed--compilation aborted at /etc/mail/spamassassin/OLEMacro.pm line 6. warn: rules: failed to run OLEMACRO_ZIP_PW test, skipping: warn: rules: failed to run OLEMACRO_MALICE test, skipping: warn: rules: failed to run OLEMACRO_RENAME test, skipping: warn: rules: failed to run OLEMACRO_ENCRYPTED test, skipping: warn: rules: failed to run OLEMACRO test, skipping:

Hope You can help, Best Regards, rxtx96

tkhn commented 5 years ago

Hello,

I believe on Centos you need the following modules installed:

perl-IO-String
perl-Archive-Zip