<html><body>It seems to choke after while extracting the content of the emails for<br />scanning:<br />[root@quazar MailScanner]# cd incoming/<br />[root@quazar incoming]# cd 10995/<br />[root@quazar 10995]# ls -la<br />total 56<br />drwxr-x--- 8 postfix postfix 4096 Apr 10 17:10 .<br />drwxr-xr-x 5 postfix postfix 4096 Apr 10 17:10 ..<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 26E3B2913.A3919<br />-rw-r----- 1 postfix postfix  586 Apr 10 17:10 26E3B2913.A3919.header<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 47F2928D6.AC41A<br />-rw-r----- 1 postfix postfix 2072 Apr 10 17:10 47F2928D6.AC41A.header<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 6B76B28D8.ADEAE<br />-rw-r----- 1 postfix postfix 2072 Apr 10 17:10 6B76B28D8.ADEAE.header<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 6F02C2909.A8164<br />-rw-r----- 1 postfix postfix  349 Apr 10 17:10 6F02C2909.A8164.header<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 8886328D5.AC7BD<br />-rw-r----- 1 postfix postfix 2072 Apr 10 17:10 8886328D5.AC7BD.header<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 C393928D7.A884D<br />-rw-r----- 1 postfix postfix 2101 Apr 10 17:10 C393928D7.A884D.header<br />[root@quazar 10995]# cd 26E3B2913.A3919<br />[root@quazar 26E3B2913.A3919]# ls -la<br />total 8<br />drwxr-x--- 2 postfix postfix 4096 Apr 10 17:10 .<br />drwxr-x--- 8 postfix postfix 4096 Apr 10 17:10 ..<br /><br />It doesn't (to me at least) doesn't seem to get past the header.<br /><br />I have checked SELINUX is disabled.<br /><br />Regards<br />Rabie<br /><br /><br />From: mailscanner-bounces@lists.mailscanner.info<br />[mailto:mailscanner-bounces@lists.mailscanner.info] On Behalf Of Rabie<br />Van der Merwe<br />Sent: 10 April 2012 16:50<br />To: mailscanner@lists.mailscanner.info<br />Subject: MailScanner failing on CentOS 6.<br /><br />Hi,<br /><br />I am trying to diagnose why MailScanner is dying after upgrading from<br />CentOS/RHEL5 to 6.<br />I am using Postfix, ClamD and MailWatch, so far I seem to have it down<br />to something to<br />do with the file permissions and setting the working group to clamav, if<br />I disable scanning<br />ie, no AV or Spam checking it passes email.<br /><br />Even if I change the output in MailScanner.conf to debug I dont get<br />much, any thoughts where to from here?<br /><br />Regards<br />Rabie<br /><br />---snip---<br />Apr 10 15:17:03 quazar MailScanner[7022]: MailScanner E-Mail Virus<br />Scanner version 4.84.5 starting...<br />Apr 10 15:17:03 quazar MailScanner[7022]: Reading configuration file<br />/etc/MailScanner/MailScanner.conf<br />Apr 10 15:17:03 quazar MailScanner[7022]: Reading configuration file<br />/etc/MailScanner/conf.d/README<br />Apr 10 15:17:03 quazar MailScanner[7022]: Read 869 hostnames from the<br />phishing whitelist<br />Apr 10 15:17:03 quazar MailScanner[7022]: Read 5470 hostnames from the<br />phishing blacklists<br />Apr 10 15:17:03 quazar MailScanner[7022]: Config: calling custom init<br />function MailWatchLogging<br />Apr 10 15:17:03 quazar MailScanner[7022]: Started SQL Logging child<br />Apr 10 15:17:03 quazar MailScanner[7022]: Using SpamAssassin results<br />cache<br />Apr 10 15:17:03 quazar MailScanner[7022]: Connected to SpamAssassin<br />cache database<br />Apr 10 15:17:03 quazar MailScanner[7022]: Enabling SpamAssassin<br />auto-whitelist functionality...<br />Apr 10 15:17:05 quazar MailScanner[7022]: Connected to Processing<br />Attempts Database<br />Apr 10 15:17:05 quazar MailScanner[7022]: Found 1 messages in the<br />Processing Attempts Database<br />Apr 10 15:17:05 quazar MailScanner[7022]: lock.pl sees Config LockType<br />= flock<br />Apr 10 15:17:05 quazar MailScanner[7022]: lock.pl sees have_module = 0<br />Apr 10 15:17:05 quazar MailScanner[7022]: Using locktype = flock<br />Apr 10 15:17:35 quazar MailScanner[7022]: Making attempt 3 at processing<br />message 2D55A28CE.AD4E6<br />Apr 10 15:17:35 quazar MailScanner[7022]: New Batch: Scanning 1<br />messages, 6458 bytes<br />Apr 10 15:17:35 quazar MailScanner[7022]: Created attachment dirs for 1<br />messages<br />Apr 10 15:17:36 quazar MailScanner[7022]: Completed checking by<br />/usr/bin/file<br />Apr 10 15:17:36 quazar MailScanner[7022]: Virus and Content Scanning:<br />Starting<br />Apr 10 15:17:36 quazar MailScanner[7022]: Commencing scanning by<br />clamd...<br />Apr 10 15:17:36 quazar MailScanner[7041]: Debug Mode Is On<br />Apr 10 15:17:36 quazar MailScanner[7041]: Use Threads : NO<br />Apr 10 15:17:36 quazar MailScanner[7041]: Socket :<br />/var/run/clamav/clamd.socket<br />Apr 10 15:17:36 quazar MailScanner[7041]: IP : Using Sockets<br />Apr 10 15:17:36 quazar MailScanner[7041]: Lock File : NOT USED<br />Apr 10 15:17:36 quazar MailScanner[7041]: Time Out : 300<br />Apr 10 15:17:36 quazar MailScanner[7041]: Scan Dir :<br />/var/spool/MailScanner/incoming/7022<br />Apr 10 15:17:36 quazar MailScanner[7041]: Clamd : Sending PING<br />Apr 10 15:17:36 quazar MailScanner[7041]: Clamd : GOT 'PONG'<br />Apr 10 15:17:36 quazar MailScanner[7041]: ClamD is running<br />Apr 10 15:17:36 quazar MailScanner[7041]: SENT : CONTSCAN<br />/var/spool/MailScanner/incoming/7022 <br />Apr 10 15:17:36 quazar MailScanner[7022]: Completed scanning by clamd<br />Apr 10 15:17:36 quazar MailScanner[7022]: RBL Checks: returned 0<br />Apr 10 15:17:36 quazar MailScanner[7022]: SpamAssassin cache hit for<br />message 2D55A28CE.AD4E6<br />Apr 10 15:19:55 quazar MailScanner[7194]: MailScanner E-Mail Virus<br />Scanner version 4.84.5 starting...<br />---snip---<br /><br /><br />---snip---<br />Apr 10 16:39:57 quazar MailScanner[9060]: MailScanner E-Mail Virus<br />Scanner version 4.84.5 starting...<br />Apr 10 16:39:57 quazar MailScanner[9060]: Reading configuration file<br />/etc/MailScanner/MailScanner.conf<br />Apr 10 16:39:57 quazar MailScanner[9060]: Reading configuration file<br />/etc/MailScanner/conf.d/README<br />Apr 10 16:39:57 quazar MailScanner[9060]: Read 869 hostnames from the<br />phishing whitelist<br />Apr 10 16:39:57 quazar MailScanner[9060]: Read 5470 hostnames from the<br />phishing blacklists<br />Apr 10 16:39:57 quazar MailScanner[9060]: Config: calling custom init<br />function MailWatchLogging<br />Apr 10 16:39:57 quazar MailScanner[9060]: Started SQL Logging child<br />Apr 10 16:39:57 quazar MailScanner[9060]: Using SpamAssassin results<br />cache<br />Apr 10 16:39:57 quazar MailScanner[9060]: Connected to SpamAssassin<br />cache database<br />Apr 10 16:39:57 quazar MailScanner[9060]: Enabling SpamAssassin<br />auto-whitelist functionality...<br />Apr 10 16:40:04 quazar MailScanner[9060]: Connected to Processing<br />Attempts Database<br />Apr 10 16:40:04 quazar MailScanner[9060]: Found 1 messages in the<br />Processing Attempts Database<br />Apr 10 16:40:04 quazar MailScanner[9060]: lock.pl sees Config LockType<br />= flock<br />Apr 10 16:40:04 quazar MailScanner[9060]: lock.pl sees have_module = 0<br />Apr 10 16:40:04 quazar MailScanner[9060]: Using locktype = flock<br />Apr 10 16:40:04 quazar MailScanner[9060]: New Batch: Found 3 messages<br />waiting<br />Apr 10 16:40:04 quazar MailScanner[9060]: New Batch: Scanning 2<br />messages, 202224 bytes<br />Apr 10 16:40:04 quazar MailScanner[9060]: Created attachment dirs for 2<br />messages<br />---snip---<br />********************************************************************** <br />--------- <br />NOTICE <br />---------<br />This message (including attachments) contains privileged and<br />confidential information intended only for the person or entity to which<br />it is addressed. <br />Any review, retransmission, dissemination, copy or other use of, or<br />taking of any action in reliance upon this information by persons or<br />entities other than the intended recipient, is prohibited.<br />If you received this message in error, please notify the sender<br />immediately by e-mail, facsimile or telephone and thereafter delete the<br />material from any computer.<br />Metropolitan Health, its subsidiaries or associates, does not accept<br />liability for any personal views expressed in this message.<br />Metropolitan Health<br />PO Box 4313 Cape Town 8000 Tel: 021 480 4511 Fax: 021 480 4535<br />www.mhg.co.za <br />**********************************************************************<br /><br /><br />
<table width="0">
  <tbody><tr>
    <td width="0">
      <p align="center"><font face="verdana,arial,helvetica,sans-serif" size="1">********************************************************************** <br>--------- <br>NOTICE <br>---------</font></p>
<p align="left"><font face="verdana,arial,helvetica,sans-serif" size="1">This message (including attachments) contains privileged and confidential information intended only for the person or entity to which it is addressed. </font></p>
<p align="left"><font face="verdana,arial,helvetica,sans-serif" size="1">Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.</font></p>
<p align="left"><font face="verdana,arial,helvetica,sans-serif" size="1">If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.</font></p>
<p align="left"><font face="verdana,arial,helvetica,sans-serif" size="1">Metropolitan Health, its subsidiaries or associates, does not accept liability for any personal views expressed in this message.</font></p>
<p align="left"><font face="verdana,arial,helvetica,sans-serif" size="1"><strong>Metropolitan Health<br></strong>PO Box 4313 Cape Town 8000 Tel: 021 480 4511 Fax: 021 480 4535 <a href="http://www.mhg.co.za/">www.mhg.co.za</a> </font></p>
<p align="center"><font face="verdana,arial,helvetica,sans-serif" size="1">**********************************************************************</font></p>
    </td>
  </tr></tbody></table>
</body></html>