Author
Topic: MailScanner - perl modules missing? (Read 9613 times)

I went to use/turn on (again, was trying policyd for awhile..) Mailscanner today and noticed it had an update, after the update and re-starting it via the control panel, it didn't appear to be running. I logged into the device via CLI and typed:

/usr/local/etc/rc.d/mailscanner start.

Which I assumed was a valid way to start Mailscanner (or at least test), but perhaps it is not and the below is a result of this incorrect start method.

during another re-install attempt i grabbed the file "apkg_p5-Filesys-DF...tbz" from /tmp/ and moved it aside. after the install finished, mailscanner still will not start. I went to the tbz file, uncompressed it and manually moved the bits to where they should be (/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/Filesys/Df).

I'll force perl version as well perl install to prevent this error.Thanks for your feedback.

Hi Marcello,

Just as an FYI I had to do the same with the spamassassin script (force perl version) as I was getting the same error:(477): spamassassin -D --lintCan't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.3/BSDPAN /usr/local/lib/perl5/site_perl/5.12.3/mach /usr/local/lib/perl5/site_perl/5.12.3 /usr/local/lib/perl5/5.12.3/mach /usr/local/lib/perl5/5.12.3) at /usr/local/lib/perl5/site_perl/5.12.4/Mail/SpamAssassin/NetSet.pm line 25.

looks good now, till I reboot.. not sure how to make these changes stick, if they don't.

I didn't want to remove the installed perl as I'm not sure what I'd break if i did (other packages or system dependencies).

Hello everybody!I am new in pfsense and I am trying to install mailscanner. I have in the same PF Box (that is a VM) squid, dansguardian, postfix FW. I edit the /usr/local/sbin/mailscanner and alredy have the right perl version perl5.12.4. But when I try to start mailscanner with /usr/local/etc/rc.d/mailscanner start I have :