Hi all,<div><br></div><div>i've just installed Centos 6 and my system is up to date. I've tried to google a bit but didn't find any solutions:</div><div><br></div><div>LOGS:</div><div><br></div><div>################################################</div>
<div><br></div><div>mailq with more than 2000 emails and messages are not delivered;</div><div><br></div><div>################################################</div><div><br></div><div>[root@mail init.d]# ps aux | grep MailScanner</div>
<div><div>postfix 4074 0.0 2.2 302708 89248 ? S Oct28 0:05 MailScanner: compressing attachments</div><div>postfix 4081 0.0 2.2 302708 89148 ? S Oct28 0:05 MailScanner: compressing attachments</div>
<div>postfix 4086 0.0 2.2 302840 89284 ? S Oct28 0:04 MailScanner: compressing attachments</div><div>root 8844 0.0 0.0 103156 812 pts/2 S+ 11:31 0:00 grep MailScanner</div></div><div><br></div>
<div>################################################</div><div><br></div><div>/var/log/maillog :</div><div><br></div><div>Oct 31 11:50:27 mail MailScanner[9227]: writing to /var/spool/MailScanner/quarantine/20111031/spam/BBA2A2024A1.AB0F1: No such file or directory</div>
<div><br></div><div>################################################</div><div><br></div><div><div>[root@mail init.d]# MailScanner --debug</div><div><br></div><div>Configuration: Failed to find any configuration files like /etc/MailScanner/conf.d/*, skipping them. at /usr/share/MailScanner/MailScanner/Config.pm line 2044</div>
<div><br></div><div>In Debugging mode, not forking...</div><div>Trying to setlogsock(unix)</div><div>Building a message batch to scan...</div><div>Have a batch of 30 messages.</div><div>Can't call method "print" on an undefined value at /usr/share/MailScanner/MailScanner/PFDiskStore.pm line 755.</div>
</div><div><br></div><div>################################################</div><div><br></div><div>VERSIONS:</div><div><br></div><div><div>MailScanner --lint</div><div>Trying to setlogsock(unix)</div><div><br></div><div>
Reading configuration file /etc/MailScanner/MailScanner.conf</div><div>Configuration: Failed to find any configuration files like /etc/MailScanner/conf.d/*, skipping them. at /usr/share/MailScanner/MailScanner/Config.pm line 2044</div>
<div>Read 869 hostnames from the phishing whitelist</div><div>Read 4051 hostnames from the phishing blacklists</div><div>Config: calling custom init function SQLBlacklist</div><div>Starting up SQL Blacklist</div><div>Read 0 blacklist entries</div>
<div>Config: calling custom init function MailWatchLogging</div><div>Started SQL Logging child</div><div>Config: calling custom init function SQLWhitelist</div><div>Starting up SQL Whitelist</div><div>Read 0 whitelist entries</div>
<div><br></div><div>Checking version numbers...</div><div>Version number in MailScanner.conf (4.84.3) is correct.</div><div><br></div><div>Unrar is not installed, it should be in /usr/bin/unrar.</div><div>This is required for RAR archives to be read to check</div>
<div>filenames and filetypes. Virus scanning is not affected.</div><div><br></div><div><br></div><div>Your envelope_sender_header in spam.assassin.prefs.conf is correct.</div><div>MailScanner setting GID to (89)</div><div>
MailScanner setting UID to (89)</div><div><br></div><div>Checking for SpamAssassin errors (if you use it)...</div><div>Using SpamAssassin results cache</div><div>Connected to SpamAssassin cache database</div><div>SpamAssassin reported no errors.</div>
<div>Connected to Processing Attempts Database</div><div>Created Processing Attempts Database successfully</div><div>There are 248 messages in the Processing Attempts Database</div><div><a href="http://lock.pl">lock.pl</a> sees Config LockType = posix</div>
<div><a href="http://lock.pl">lock.pl</a> sees have_module = 0</div><div>Using locktype = posix</div><div>MailScanner.conf says "Virus Scanners = clamd"</div><div>Debug Mode Is On</div><div>Use Threads : NO</div>
<div>Socket : /var/run/clamav/clamd.sock</div><div>IP : Using Sockets</div><div>Lock File : NOT USED</div><div>Time Out : 300</div><div>Scan Dir : /var/spool/MailScanner/incoming/9341/ISITINSTALLED</div><div>Clamd : Sending PING</div>
<div>Clamd : GOT 'PONG'</div><div>ClamD is running</div><div><br></div><div>Found these virus scanners installed: clamd</div><div>===========================================================================</div><div>
Created attachment dirs for 1 messages</div><div>Filename Checks: Windows/DOS Executable (1 <a href="http://eicar.com">eicar.com</a>)</div><div>Completed checking by /usr/bin/file</div><div>Other Checks: Found 1 problems</div>
</div><div><br></div><div>###################################</div><div><br></div><div>is the above "Configuration: Failed to find any configuration files like /etc/MailScanner/conf.d/*, skipping them. at /usr/share/MailScanner/MailScanner/Config.pm line 2044" an issue? am i really missing something?</div>
<div><br></div><div>###################################</div><div><br></div><div><div>MailScanner -v</div><div>Running on</div><div>Linux <a href="http://mail.ny03.mydomain.org">mail.ny03.mydomain.org</a> 2.6.32-71.29.1.el6.centos.plus.x86_64 #1 SMP Sun Jun 26 16:27:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux</div>
<div>This is CentOS Linux release 6.0 (Final)</div><div>This is Perl version 5.010001 (5.10.1)</div><div><br></div><div>This is MailScanner version 4.84.3</div><div>Module versions are:</div><div>1.00<span class="Apple-tab-span" style="white-space:pre">        </span>AnyDBM_File</div>
<div>1.30<span class="Apple-tab-span" style="white-space:pre">        </span>Archive::Zip</div><div>0.23<span class="Apple-tab-span" style="white-space:pre">        </span>bignum</div><div>1.11<span class="Apple-tab-span" style="white-space:pre">        </span>Carp</div>
<div>2.02<span class="Apple-tab-span" style="white-space:pre">        </span>Compress::Zlib</div><div>1.119 <span class="Apple-tab-span" style="white-space:pre">        </span>Convert::BinHex</div><div>0.17<span class="Apple-tab-span" style="white-space:pre">        </span>Convert::TNEF</div>
<div>2.124<span class="Apple-tab-span" style="white-space:pre">        </span>Data::Dumper</div><div>2.27<span class="Apple-tab-span" style="white-space:pre">        </span>Date::Parse</div><div>1.03<span class="Apple-tab-span" style="white-space:pre">        </span>DirHandle</div>
<div>1.06<span class="Apple-tab-span" style="white-space:pre">        </span>Fcntl</div><div>2.77<span class="Apple-tab-span" style="white-space:pre">        </span>File::Basename</div><div>2.14<span class="Apple-tab-span" style="white-space:pre">        </span>File::Copy</div>
<div>2.02<span class="Apple-tab-span" style="white-space:pre">        </span>FileHandle</div><div>2.08<span class="Apple-tab-span" style="white-space:pre">        </span>File::Path</div><div>0.22<span class="Apple-tab-span" style="white-space:pre">        </span>File::Temp</div>
<div>0.92<span class="Apple-tab-span" style="white-space:pre">        </span>Filesys::Df</div><div>3.64<span class="Apple-tab-span" style="white-space:pre">        </span>HTML::Entities</div><div>3.64<span class="Apple-tab-span" style="white-space:pre">        </span>HTML::Parser</div>
<div>3.57<span class="Apple-tab-span" style="white-space:pre">        </span>HTML::TokeParser</div><div>1.25<span class="Apple-tab-span" style="white-space:pre">        </span>IO</div><div>1.14<span class="Apple-tab-span" style="white-space:pre">        </span>IO::File</div>
<div>1.13<span class="Apple-tab-span" style="white-space:pre">        </span>IO::Pipe</div><div>2.04<span class="Apple-tab-span" style="white-space:pre">        </span>Mail::Header</div><div>1.89<span class="Apple-tab-span" style="white-space:pre">        </span>Math::BigInt</div>
<div>0.22<span class="Apple-tab-span" style="white-space:pre">        </span>Math::BigRat</div><div>3.08<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::Base64</div><div>5.427<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::Decoder</div>
<div>5.427<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::Decoder::UU</div><div>5.427<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::Head</div><div>5.427<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::Parser</div>
<div>3.08<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::QuotedPrint</div><div>5.427<span class="Apple-tab-span" style="white-space:pre">        </span>MIME::Tools</div><div>0.14<span class="Apple-tab-span" style="white-space:pre">        </span>Net::CIDR</div>
<div>1.25<span class="Apple-tab-span" style="white-space:pre">        </span>Net::IP</div><div>0.19<span class="Apple-tab-span" style="white-space:pre">        </span>OLE::Storage_Lite</div><div>1.04<span class="Apple-tab-span" style="white-space:pre">        </span>Pod::Escapes</div>
<div>3.13<span class="Apple-tab-span" style="white-space:pre">        </span>Pod::Simple</div><div>1.17<span class="Apple-tab-span" style="white-space:pre">        </span>POSIX</div><div>1.21<span class="Apple-tab-span" style="white-space:pre">        </span>Scalar::Util</div>
<div>1.82<span class="Apple-tab-span" style="white-space:pre">        </span>Socket</div><div>2.20<span class="Apple-tab-span" style="white-space:pre">        </span>Storable</div><div>1.4<span class="Apple-tab-span" style="white-space:pre">        </span>Sys::Hostname::Long</div>
<div>0.27<span class="Apple-tab-span" style="white-space:pre">        </span>Sys::Syslog</div><div>1.40<span class="Apple-tab-span" style="white-space:pre">        </span>Test::Pod</div><div>0.92<span class="Apple-tab-span" style="white-space:pre">        </span>Test::Simple</div>
<div>1.9721<span class="Apple-tab-span" style="white-space:pre">        </span>Time::HiRes</div><div>1.02<span class="Apple-tab-span" style="white-space:pre">        </span>Time::localtime</div><div><br></div><div>Optional module versions are:</div>
<div>1.58<span class="Apple-tab-span" style="white-space:pre">        </span>Archive::Tar</div><div>0.23<span class="Apple-tab-span" style="white-space:pre">        </span>bignum</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Business::ISBN</div>
<div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Business::ISBN::Data</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Data::Dump</div><div>1.82<span class="Apple-tab-span" style="white-space:pre">        </span>DB_File</div>
<div>1.27<span class="Apple-tab-span" style="white-space:pre">        </span>DBD::SQLite</div><div>1.609<span class="Apple-tab-span" style="white-space:pre">        </span>DBI</div><div>1.16<span class="Apple-tab-span" style="white-space:pre">        </span>Digest</div>
<div>1.01<span class="Apple-tab-span" style="white-space:pre">        </span>Digest::HMAC</div><div>2.39<span class="Apple-tab-span" style="white-space:pre">        </span>Digest::MD5</div><div>2.12<span class="Apple-tab-span" style="white-space:pre">        </span>Digest::SHA1</div>
<div>1.01<span class="Apple-tab-span" style="white-space:pre">        </span>Encode::Detect</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Error</div><div>0.27<span class="Apple-tab-span" style="white-space:pre">        </span>ExtUtils::CBuilder</div>
<div>2.2203<span class="Apple-tab-span" style="white-space:pre">        </span>ExtUtils::ParseXS</div><div>2.38<span class="Apple-tab-span" style="white-space:pre">        </span>Getopt::Long</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Inline</div>
<div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>IO::String</div><div>1.09<span class="Apple-tab-span" style="white-space:pre">        </span>IO::Zlib</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>IP::Country</div>
<div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Mail::ClamAV</div><div>3.003001<span class="Apple-tab-span" style="white-space:pre">        </span>Mail::SpamAssassin</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Mail::SPF</div>
<div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Mail::SPF::Query</div><div>0.35<span class="Apple-tab-span" style="white-space:pre">        </span>Module::Build</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Net::CIDR::Lite</div>
<div>0.65<span class="Apple-tab-span" style="white-space:pre">        </span>Net::DNS</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Net::DNS::Resolver::Programmable</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Net::LDAP</div>
<div> 4.027<span class="Apple-tab-span" style="white-space:pre">        </span>NetAddr::IP</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Parse::RecDescent</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>SAVI</div>
<div>3.17<span class="Apple-tab-span" style="white-space:pre">        </span>Test::Harness</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>Test::Manifest</div><div>2.0.0<span class="Apple-tab-span" style="white-space:pre">        </span>Text::Balanced</div>
<div>1.40<span class="Apple-tab-span" style="white-space:pre">        </span>URI</div><div>0.77<span class="Apple-tab-span" style="white-space:pre">        </span>version</div><div>missing<span class="Apple-tab-span" style="white-space:pre">        </span>YAML</div>
<div>Virus and Content Scanning: Starting</div><div>Commencing scanning by clamd...</div><div>Debug Mode Is On</div><div>Use Threads : NO</div><div>Socket : /var/run/clamav/clamd.sock</div><div>IP : Using Sockets</div>
<div>Lock File : NOT USED</div><div>Time Out : 300</div><div>Scan Dir : /var/spool/MailScanner/incoming/9341</div><div>Clamd : Sending PING</div><div>Clamd : GOT 'PONG'</div><div>ClamD is running</div><div><br></div>
<div>SENT : CONTSCAN /var/spool/MailScanner/incoming/9341 </div><div>Clamd::INFECTED::Eicar-Test-Signature :: ./1/</div><div>Clamd::INFECTED:: Eicar-Test-Signature :: ./1/<a href="http://eicar.com">eicar.com</a></div><div>
Completed scanning by clamd</div><div>Virus Scanning: Clamd found 2 infections</div><div>Infected message 1 came from 10.1.1.1</div><div>Virus Scanning: Found 2 viruses</div><div>===========================================================================</div>
<div>Virus Scanner test reports:</div><div>Clamd said "<a href="http://eicar.com">eicar.com</a> was infected: Eicar-Test-Signature"</div><div><br></div><div>If any of your virus scanners (clamd)</div><div>are not listed there, you should check that they are installed correctly</div>
<div>and that MailScanner is finding them correctly via its virus.scanners.conf.</div><div>Config: calling custom end function SQLBlacklist</div><div>Closing down by-domain spam blacklist</div><div>Config: calling custom end function MailWatchLogging</div>
<div>Config: calling custom end function SQLWhitelist</div><div>Closing down by-domain spam whitelist</div></div><div><br></div><div>########################################</div><div><br></div><div>I've tried also to disable selinux:</div>
<div><br></div><div><div>[root@mail init.d]# setenforce 0</div><div>[root@mail init.d]# </div><div>[root@mail init.d]# MailScanner -debug</div><div><br></div><div>Configuration: Failed to find any configuration files like /etc/MailScanner/conf.d/*, skipping them. at /usr/share/MailScanner/MailScanner/Config.pm line 2044</div>
<div><br></div><div>In Debugging mode, not forking...</div><div>Trying to setlogsock(unix)</div><div>Building a message batch to scan...</div><div>Have a batch of 30 messages.</div><div>Can't call method "print" on an undefined value at /usr/share/MailScanner/MailScanner/PFDiskStore.pm line 755.</div>
<div>[root@mail init.d]# </div><div>[root@mail init.d]# </div><div>[root@mail init.d]# </div><div><br></div><div>[root@mail init.d]# postconf -d | grep mail_version</div><div>mail_version = 2.6.6</div><div><br></div><div>
any ideas ? thanks you !!</div><div><br></div><div><br></div><div>milter_macro_v = $mail_name $mail_version</div><div>[root@mail init.d]#</div></div>