Is  MailScanner --lint  &amp; MailScanner -v results fine?<br>if yes thn why mails r not being delivered they r just queued<br><br>Plz help<br><br><br clear="all">Warm Regards,<br>Anshul Chauhan<br>&quot;Dream is not what you see while sleep, it&#39;s the thing that does not let you sleep.&quot;<br>

<br>
<br><br><div class="gmail_quote">On Mon, Jun 1, 2009 at 6:17 PM, Martin Hepworth <span dir="ltr">&lt;<a href="mailto:maxsec@gmail.com">maxsec@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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