Error on MainScanner --lint

Scott Silva ssilva at sgvwater.com
Thu Sep 17 00:39:33 IST 2009


Top posting on purpose
First thing! Disable fuzzyocr and get mail working. Then you can see what perl
module might have been borked.

> I have a problem where I am not getting any mail through my system and I
> see many messages about spamassassin cache hits for messages. but no
> valid mail is getting through.
> 
> I ran a lint test and these are the results
> 
> I am running the server on ubuntu 8.04
> 
> regards
> 
> lance
> 
> 
> root at scan2:~# MailScanner --lint
> Trying to setlogsock(unix)
> Read 848 hostnames from the phishing whitelist
> Read 4278 hostnames from the phishing blacklist
> Config: calling custom init function SQLBlacklist
> Starting up SQL Blacklist
> Read 4 blacklist entries
> Config: calling custom init function MailWatchLogging
> Started SQL Logging child
> Config: calling custom init function SQLWhitelist
> Starting up SQL Whitelist
> Read 1 whitelist entries
> Checking version numbers...
> Version number in MailScanner.conf (4.74.16) is correct.
> 
> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
> MailScanner setting GID to  (33)
> MailScanner setting UID to  (106)
> 
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> Bareword found where operator expected at /etc/spamassassin/FuzzyOcr.pm
> line 131, near "my $msgid = $pms->get('Message"
>   (Might be a runaway multi-line '' string starting on line 20)
>     (Do you need to predeclare my?)
> plugin: failed to parse plugin /etc/spamassassin/FuzzyOcr.pm: Bad name
> after Id' at /etc/spamassassin/FuzzyOcr.pm line 131.
> Compilation failed in require at
> /usr/share/perl5/Mail/SpamAssassin/PluginHandler.pm line 107.
> 
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_logfile /var/log/FuzzyOcr.log
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_global_wordlist
> /etc/mail/spamassassin/FuzzyOcr.words
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_bin_helper pnmnorm, pnminvert,
> convert, ppmtopgm, tesseract
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_path_bin
> /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_preprocessor_file
> /etc/mail/spamassassin/FuzzyOcr.preps
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_scanset_file
> /etc/mail/spamassassin/FuzzyOcr.scansets
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_minimal_scanset 1
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_autosort_scanset 1
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_enable_image_hashing 3
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_digest_db
> /etc/mail/spamassassin/FuzzyOcr.hashdb
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_db_hash
> /etc/mail/spamassassin/FuzzyOcr.db
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_db_safe
> /etc/mail/spamassassin/FuzzyOcr.safe.db
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_db FuzzyOcr
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_hash Hash
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_safe Safe
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_user fuzzyocr
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_pass cara9250
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_host localhost
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_port 3306
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_mysql_socket
> /var/run/mysqld/mysqld.sock
> config: failed to parse line, skipping, in
> "/etc/spamassassin/FuzzyOcr.cf": focr_end_config
> rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping:
>     (Can't locate object method "dummy_check" via package
> "Mail::SpamAssassin::PerMsgStatus" at (eval 742) line 594.
> )
> rules: failed to run FUZZY_OCR test, skipping:
>     (Can't locate object method "fuzzyocr_check" via package
> "Mail::SpamAssassin::PerMsgStatus" at (eval 806) line 19.
> )
> SpamAssassin reported an error.
> Using locktype = posix
> MailScanner.conf says "Virus Scanners = clamav"
> Found these virus scanners installed: clamav
> ===========================================================================
> Filename Checks: Windows/DOS Executable (1 eicar.com)
> Other Checks: Found 1 problems
> Virus and Content Scanning: Starting
> ./1.message: Eicar-Test-Signature FOUND
> 
> ./1/eicar.com: Eicar-Test-Signature FOUND
> 
> Virus Scanning: ClamAV found 2 infections
> Infected message 1 came from 10.1.1.1
> Infected message 1.message came from
> Virus Scanning: Found 2 viruses
> ===========================================================================
> Virus Scanner test reports:
> ClamAV said "eicar.com contains Eicar-Test-Signature"
> 
> If any of your virus scanners (clamav)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its virus.scanners.conf.
> Config: calling custom end function SQLBlacklist
> Closing down by-domain spam blacklist
> Config: calling custom end function MailWatchLogging
> Config: calling custom end function SQLWhitelist
> Closing down by-domain spam whitelist
> commit ineffective with AutoCommit enabled at
> /etc/MailScanner/CustomFunctions/MailWatch.pm line 93, <CLIENT> line 1.
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090916/1b5a599c/signature.bin


More information about the MailScanner mailing list