Mailscaaner not delivering mails just queuing them
Martin Hepworth
maxsec at gmail.com
Mon Jun 1 13:47:21 IST 2009
aha - 512MB ram really isn't going to help at all. I bet the things
swapping like mad- vmstat 3 5 will show high swap rates (ie alot more
than zero).
I normally recommend 1GB per CPU core and 5 children per CPU core as a
starting point for optimisasion.
Drop the number of children down to 1 and the number of messages per
batch (Max Unsafe Messages Per Scan) down to 10 in MailScanner.conf
use sa-compile to help with performance.
Go get more RAM - 2GB shouldn't cost much.
--
Martin Hepworth
Oxford, UK
2009/6/1 Anshul Chauhan <chauhananshul at gmail.com>
>
> [root at antispam ~]# MailScanner --lint
> Trying to setlogsock(unix)
> Read 854 hostnames from the phishing whitelist
> Read 10597 hostnames from the phishing blacklists
> Checking version numbers...
> Version number in MailScanner.conf (4.76.25) is correct.
>
> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
>
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> Connected to processing-messages database
> Created processing-messages database successfully
> There are 142 messages in the processing-messages database
> Using locktype = posix
> MailScanner.conf says "Virus Scanners = clamavmodule"
> Found these virus scanners installed: clamavmodule
> ===========================================================================
> Filename Checks: Windows/DOS Executable (1 eicar.com)
> Other Checks: Found 1 problems
> Virus and Content Scanning: Starting
> ClamAVModule::INFECTED:: Eicar-Test-Signature:: ./1/eicar.com
> Virus Scanning: ClamAVModule found 2 infections
> Infected message 1 came from 10.1.1.1
> Virus Scanning: Found 2 viruses
> ===========================================================================
>
> If any of your virus scanners (clamavmodule)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its virus.scanners.conf.
>
>
>
>
>
>
>
>
>
> [root at antispam MailScanner]# MailScanner -v
> Running on
> Linux antispam.xyz.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
> This is CentOS release 5.2 (Final)
> This is Perl version 5.008008 (5.8.8)
>
> This is MailScanner version 4.76.25
> Module versions are:
> 1.00 AnyDBM_File
> 1.16 Archive::Zip
> 0.23 bignum
> 1.04 Carp
> 1.41 Compress::Zlib
> 1.119 Convert::BinHex
> 0.17 Convert::TNEF
> 2.121_08 Data::Dumper
> 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.20 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.04 Mail::Header
> 1.89 Math::BigInt
> 0.22 Math::BigRat
> 3.07 MIME::Base64
> 5.427 MIME::Decoder
> 5.427 MIME::Decoder::UU
> 5.427 MIME::Head
> 5.427 MIME::Parser
> 3.07 MIME::QuotedPrint
> 5.427 MIME::Tools
> 0.13 Net::CIDR
> 1.25 Net::IP
> 0.16 OLE::Storage_Lite
> 1.04 Pod::Escapes
> 3.05 Pod::Simple
> 1.09 POSIX
> 1.19 Scalar::Util
> 1.78 Socket
> 2.16 Storable
> 1.4 Sys::Hostname::Long
> 0.27 Sys::Syslog
> 1.26 Test::Pod
> 0.86 Test::Simple
> 1.9707 Time::HiRes
> 1.02 Time::localtime
>
> Optional module versions are:
> 1.30 Archive::Tar
> 0.23 bignum
> 1.82 Business::ISBN
> 1.10 Business::ISBN::Data
> 1.08 Data::Dump
> 1.814 DB_File
> 1.21 DBD::SQLite
> 1.607 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.38 Getopt::Long
> 0.44 Inline
> 1.08 IO::String
> 1.04 IO::Zlib
> 2.21 IP::Country
> 0.29 Mail::ClamAV
> 3.002005 Mail::SpamAssassin
> v2.004 Mail::SPF
> 1.999001 Mail::SPF::Query
> 0.2808 Module::Build
> 0.20 Net::CIDR::Lite
> 0.65 Net::DNS
> 0.002.2 Net::DNS::Resolver::Programmable
> missing Net::LDAP
> 4.004 NetAddr::IP
> 1.94 Parse::RecDescent
> missing SAVI
> 2.64 Test::Harness
> 0.95 Test::Manifest
> 1.98 Text::Balanced
> 1.35 URI
> 0.7203 version
> 0.62 YAML
> [root at antispam MailScanner]#
>
>
> When i do MailScanner --lint it takes arund 5-10 min to gve the complete output.
> My Machine configuration are
> Intel(R) Pentium(R) 4 CPU 3.00GHz
> 512 MB RAM
> but still it takes so long to just chk the config can u plz tell me how to boost up its performance also aur its normal.
>
> Warm Regards,
> Anshul Chauhan
> "Dream is not what you see while sleep, it's the thing that does not let you sleep."
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
More information about the MailScanner
mailing list