Problem after upgrade MS from 4.66.5 to 4.68.5 (MailScanner: extracting attachments)

Julian Field MailScanner at ecs.soton.ac.uk
Wed Apr 16 10:02:41 IST 2008


Do you by any chance have
Debug = no
Debug SpamAssassin = yes
set in your MailScanner.conf file?
If so, switch off "Debug SpamAssassin" and then restart MailScanner.

This problem has hopefully been solved in the latest beta.

Best regards,
Jules.

Andrey V. Dudarev wrote:
> Hi all!
>
> I'm running openSuSe 10.2 x86-64 (2.6.18.8-0.7) , sendmail 8.13.8,
> spamassassin 3.2.4, clamav, mailwatch. I don't any RBL checks from
> MailScanner.
>
> After upgrade MailScanner from 4.66.5 (worked fine) to 4.68.5 i have a
> problem:
>
> my MailScanner process not processing any messages, the incoming queue
> grows
>
> mx10:/etc/MailScanner # ps ax | grep MailScanner
>
> 22895 ?        Ss     0:00 MailScanner: master waiting for children,
> sleeping
> 22896 ?        R      1:31 MailScanner: extracting attachments
> 22943 ?        R      1:29 MailScanner: extracting attachments
> 22984 ?        R      1:15 MailScanner: extracting attachments
> 23023 ?        R      1:11 MailScanner: extracting attachments
> 23062 ?        R      0:39 MailScanner: extracting attachments
> 23118 ?        R      0:26 MailScanner: extracting attachments
> 23259 ?        R      0:50 MailScanner: extracting attachments
> 23388 ?        R      0:43 MailScanner: extracting attachments
> 23481 ?        R      0:35 MailScanner: extracting attachments
> 23527 ?        R      0:48 MailScanner: extracting attachments
> 23566 ?        R      0:31 MailScanner: extracting attachments
> 23593 ?        R      0:43 MailScanner: extracting attachments
> 23630 ?        R      0:47 MailScanner: extracting attachments
> 23674 ?        R      0:19 MailScanner: extracting attachments
> 23705 ?        R      0:55 MailScanner: extracting attachments
> 25224 pts/5    S+     0:00 grep MailScanner
>
> mx10:/etc/MailScanner # /usr/sbin/MailScanner --lint
>
> Trying to setlogsock(unix)
> Read 820 hostnames from the phishing whitelist
> Read 4022 hostnames from the phishing blacklist
> Config: calling custom init function MailWatchLogging
> Started SQL Logging child
> Checking version numbers...
> Version number in MailScanner.conf (4.68.5) is correct.
>
> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
>
> Checking for SpamAssassin errors (if you use it)...
> SpamAssassin temporary working directory
> is /var/spool/MailScanner/incoming/SpamAssassin-Temp
> SpamAssassin temp dir
> = /var/spool/MailScanner/incoming/SpamAssassin-Temp
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> Using locktype = posix
> MailScanner.conf says "Virus Scanners = antivir clamd"
> ERROR:: COULD NOT CONNECT TO FPSCAND, RECOMMEND RESTARTING DAEMON
> at /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 3681
> Found these virus scanners installed: clamavmodule, antivir, clamd
> ===========================================================================
> Virus and Content Scanning: Starting
> ALERT: [Eicar-Test-Signature] ./1/eicar.com <<< Contains code of the
> Eicar-Test-Signature virus
> Virus Scanning: AntiVir found 1 infections
> ClamAVModule::INFECTED:: Eicar-Test-Signature FOUND :: ./1/eicar.com
> Virus Scanning: Clamd found 1 infections
> Infected message 1 came from 10.1.1.1
> Virus Scanning: Found 1 viruses
> Filename Checks: Allowing 1 eicar.com (no rule matched)
> ===========================================================================
> Virus Scanner test reports:
> AntiVir said "ALERT: [Eicar-Test-Signature] ./1/eicar.com <<< Contains
> code of the Eicar-Test-Signature virus"
> Clamd said "eicar.com was infected: Eicar-Test-Signature FOUND"
>
> If any of your virus scanners (clamavmodule,antivir,clamd)
> 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 MailWatchLogging
> commit ineffective with AutoCommit enabled
> at /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm line
> 93, <CLIENT> line 1.
> Commmit ineffective while AutoCommit is on
> at /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm line
> 93, <CLIENT> line 1.
>
> mx10:/var/spool/mqueue.in # /usr/sbin/MailScanner --debug
>
> In Debugging mode, not forking...
> Trying to setlogsock(unix)
> [4936] dbg: logger: adding facilities: all
> [4936] dbg: logger: logging level is DBG
> [4936] dbg: generic: SpamAssassin version 3.2.4
> [4936] dbg: config: score set 0 chosen.
> [4936] dbg: util: running in taint mode? no
> [4936] dbg: dns: no ipv6
> [4936] dbg: dns: is Net::DNS::Resolver available? yes
> [4936] dbg: dns: Net::DNS version: 0.63
> [4936] info: config: failed to parse line, skipping, in
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_dcc 0
> [4936] info: config: failed to parse line, skipping, in
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_pyzor 0
> [4936] info: config: failed to parse line, skipping, in
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor1 0
> [4936] info: config: failed to parse line, skipping, in
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor2 0
> [4936] info: config: failed to parse line, skipping, in
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": decode_attachments
> 1
> [4936] dbg: conf: finish parsing
> 16:14:58 SpamAssassin temp dir
> = /var/spool/MailScanner/incoming/SpamAssassin-Temp
> 16:14:58 [4936] dbg: logger: adding facilities: all
> 16:14:58 [4936] dbg: logger: logging level is DBG
> 16:14:58 [4936] dbg: generic: SpamAssassin version 3.2.4
> 16:14:58 [4936] dbg: config: score set 0 chosen.
> 16:14:58 [4936] dbg: dns: no ipv6
> 16:14:58 [4936] dbg: dns: is Net::DNS::Resolver available? yes
> 16:14:58 [4936] dbg: dns: Net::DNS version: 0.63
> 16:14:58 Use of uninitialized value in concatenation (.) or string
> at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 1088.
> 16:14:58 Use of uninitialized value in concatenation (.) or string
> at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 1090.
> 16:14:58 [4936] dbg: config: read_scoreonly_config: cannot open "": No
> such file or directory
> 16:14:58 Building a message batch to scan...
> 16:15:22 Have a batch of 1 message.
> . . . . 
>
> mx10:/var/spool/mqueue.in # /usr/sbin/MailScanner -v
>
> Running on
> Linux mx10 2.6.18.8-0.7-default1 #2 SMP Wed Feb 13 19:45:53 MSK 2008
> x86_64 x86_64 x86_64 GNU/Linux
> This is openSUSE 10.2 (X86-64)
> This is Perl version 5.008008 (5.8.8)
>
> This is MailScanner version 4.68.5
> Module versions are:
> 1.00    AnyDBM_File
> 1.16    Archive::Zip
> 1.04    Carp
> 1.42    Compress::Zlib
> 1.119   Convert::BinHex
> 2.27    Date::Parse
> 1.00    DirHandle
> 1.05    Fcntl
> 2.74    File::Basename
> 2.09    File::Copy
> 2.01    FileHandle
> 1.08    File::Path
> 0.19    File::Temp
> 0.90    Filesys::Df
> 1.35    HTML::Entities
> 3.56    HTML::Parser
> 2.37    HTML::TokeParser
> 1.23    IO
> 1.14    IO::File
> 1.13    IO::Pipe
> 2.02    Mail::Header
> 1.86    Math::BigInt
> 3.05    MIME::Base64
> 5.425   MIME::Decoder
> 5.425   MIME::Decoder::UU
> 5.425   MIME::Head
> 5.425   MIME::Parser
> 3.03    MIME::QuotedPrint
> 5.425   MIME::Tools
> 0.11    Net::CIDR
> 1.09    POSIX
> 1.18    Scalar::Util
> 1.78    Socket
> 1.4     Sys::Hostname::Long
> 0.18    Sys::Syslog
> 1.9707  Time::HiRes
> 1.02    Time::localtime
>
> Optional module versions are:
> 1.30    Archive::Tar
> 0.21    bignum
> 1.82    Business::ISBN
> 1.10    Business::ISBN::Data
> 1.08    Data::Dump
> 1.814   DB_File
> 1.13    DBD::SQLite
> 1.56    DBI
> 1.15    Digest
> 1.01    Digest::HMAC
> 2.36    Digest::MD5
> 2.11    Digest::SHA1
> 1.00    Encode::Detect
> 0.17008 Error
> 0.18    ExtUtils::CBuilder
> 2.18    ExtUtils::ParseXS
> 2.36    Getopt::Long
> 0.44    Inline
> 1.08    IO::String
> 1.04    IO::Zlib
> 2.21    IP::Country
> 0.20    Mail::ClamAV
> 3.002004        Mail::SpamAssassin
> v2.004  Mail::SPF
> 1.999001        Mail::SPF::Query
> 0.2808  Module::Build
> 0.20    Net::CIDR::Lite
> 0.63    Net::DNS
> 0.002.2 Net::DNS::Resolver::Programmable
> missing Net::LDAP
>  4.004  NetAddr::IP
> 1.94    Parse::RecDescent
> missing SAVI
> 2.56    Test::Harness
> 0.95    Test::Manifest
> 1.95    Text::Balanced
> 1.35    URI
> 0.7203  version
> 0.62    YAML
>
> Any suggestions?
> Thanks,
> Andrey
>
>
>   

Jules

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

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list