Error with configuration

Juan Pablo Lorier jplorier at
Mon Oct 9 20:22:04 UTC 2017


I've installed MailScanner 5.0.3-7 on centos 7.

Though I've installed opt-perl-522-Encoding-FixLatin.noarch I still get
a complaint about the lack of the perl module:

Could not use Custom Function code
/usr/share/MailScanner/perl/custom/, it could not be
"require"d. Make sure the last line is "1;" and the module is correct with
 perl -wc (Error: Can't locate Encoding/ in @INC (@INC
contains: /usr/sbin /usr/sbin/MailScanner /usr/share/MailScanner/perl 
/usr/share/MailScanner/perl /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/per
l5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5) at /usr/share/MailScanner/perl/custom/
line 43.
 BEGIN failed--compilation aborted at
/usr/share/MailScanner/perl/custom/ line 43.
 Compilation failed in require at
/usr/share/MailScanner/perl/custom/ line 61.
Compilation failed in require at
/usr/share/MailScanner/perl/MailScanner/ line 752.

Where do I set the path to search the modules? I've tried placing the
module in mailscanner perl custom directory but still complaints.


More information about the MailScanner mailing list