More filesys df issues

Julian Field MailScanner at ecs.soton.ac.uk
Sat Feb 3 17:34:03 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Chris Kimpton wrote:
> Hi,
>
> I think I am possibly posting on the wrong forum, but let me start 
> here.  And yes, I know I raised a similar issue a few weeks ago - but 
> that was for a different box...
>
> I had mailscanner running on a gentoo linux box but this stopped 
> working around 3-4 months and I am now trying to sort it out.  I have 
> gone through the steps I did for the other box that had a problem - it 
> looks like Filesys::Df is missing from perl.
>
> This is the error I get when debugging MailScanner:
>
> ...
> [16331] dbg: check: is spam? score=2.906 required=5
> [16331] dbg: check: 
> tests=MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS,TO_CC_NONE
> [16331] dbg: check: 
> subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID 
>
> [16331] dbg: bayes: untie-ing
> [16331] dbg: bayes: untie-ing db_toks
> [16331] dbg: bayes: untie-ing db_seen
> Ignore errors about failing to find EOCD signature
> format error: can't find EOCD signature
>  at /usr/sbin/MailScanner line 820
> Undefined subroutine &MailScanner::Message::df called at 
> /usr/lib/MailScanner/MailScanner/Message.pm line 1718.
>
> Line 1718 is this one:
>
>   my $df  = df($dir, 1024);
Try changing that to
    my $df = Filesys::Df::df($dir, 1024);
and let me know if this helps at all.
>
> On the other box, I could use g-cpan to install Filesys::Df with no 
> problem.  On this box, g-cpan just hangs.  So I tried installing it 
> via perl CPAN shell- which seems to install ok - but I still get the 
> above error.
>
> Comparing the boxes, it seems the working one installs Filesys::Df 
> into /usr/lib/.../vendor_perl directory, but my broken box has it in 
> site_perl.
>
> I guess I probably need to learn more perl to fix the issue - but if 
> someone does have any thoughts on this, it would be appreciated.
>
> Thanks in advance,.
> Chris

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.3 (Build 5003)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: ISO-8859-1

wj8DBQFFxLl9EfZZRxQVtlQRAovaAKDGmbMuEww7OXFZQh1Z5Je1oeAxkACgprgn
fsr3GfCNgnzG0Fo5kDzNgAE=
=WoTQ
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list