MailScanner - perl modules missing?
-
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 –lint
Can'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).
thanks again,
-g -
what pfsense packages do you have installed?
-
what pfsense packages do you have installed?
HAVP av
LightSquid
mailreport
mailscanner-dev
mtr-nox11
pfblocker
postfix forwarder
RRD Summary
Squid3These are not the only packages that were on the system, i've looked at/installed others then removed them after determining they were not of value to us.
-
LightSquid
mailscanner-dev
Squid3require perl.
For now, keep file hacks until I have time to test and release a fix forcing perl version.
-
will do. I'll provide feedback when i see you rev the code.
take care and thanks,
greg -
Any update on this ? I beive that many people have the same issue
-
Out of curiosity, try running:
perl-after-upgrade
From the shell. See if that helps.
-
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 :Starting mailscanner. Can't load '/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/Filesys/Df/Df.so' for module Filesys::Df: /usr/local/lib/perl5/site_perl/5.12.4/mach/auto/Filesys/Df/Df.so: Undefined symbol "PL_stack_max" at /usr/local/lib/perl5/5.12.4/mach/DynaLoader.pm line 200. at /usr/local/sbin/mailscanner line 91 Compilation failed in require at /usr/local/sbin/mailscanner line 91. BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 91. /usr/local/etc/rc.d/mailscanner: WARNING: failed to start mailscanner
I think the problem is with this "PL_stack_max" on DynaLoader.pm and search on google but I can´t figure out what is the problem
I am using :
2.0.1-RELEASE (amd64)
mailscanner-dev 4.83.5 pkg v.0.2.1
postfix forwarder 2.8.7,1 pkg v.2.3.4_1 (starts ok)thanks in advance
-
Can you check if these modules were installed on the same dir?
Can you try a clean install only with postfix +mailscanner?
If you speak portuguese, take a look on intenational portuguese forum too.
att,
Marcello Coutinho -
Hello Marcello (sorry but I saw so many of your posts here that I feel that I konw You, by the way Great Job Man)
How can I see if modules are in the same dir? (as I say i am new on PFSense and FreeBSD) where this modules are?
This is a VM tomorrow I can try to create a clean install only with this 2 modules
Do you install mailscanner on x64 and works OK?
I speak portuguese but I find this topic and decide to try here. But I will create a topic in Portuguese too!
Thanks
Guilherme -
-
In a fresh install with just Mailscanner and Postfix Forward works OK
Guilherme