<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">What does your MailScanner &#8211;lint show you?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info]
<b>On Behalf Of </b>Rabie Van der Merwe<br>
<b>Sent:</b> Tuesday, April 10, 2012 10:18 AM<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> RE: MailScanner failing on CentOS 6.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">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: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a><br>
<a href="mailto:[mailto:mailscanner-bounces@lists.mailscanner.info]">[mailto:mailscanner-bounces@lists.mailscanner.info]</a> On Behalf Of Rabie<br>
Van der Merwe<br>
Sent: 10 April 2012 16:50<br>
To: <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><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>
<a href="http://www.mhg.co.za">www.mhg.co.za</a> <br>
**********************************************************************<br>
<br>
<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0" width="0" style="width:0in">
<tbody>
<tr>
<td width="0" style="width:.3pt;padding:.75pt .75pt .75pt .75pt">
<p align="center" style="text-align:center"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">**********************************************************************
<br>
--------- <br>
NOTICE <br>
---------</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">This message (including attachments) contains privileged and confidential information intended only for the person or entity to which it is addressed.
</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">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.</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">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.</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Metropolitan Health, its subsidiaries or associates, does not accept liability for any personal views expressed in this message.</span><o:p></o:p></p>
<p><strong><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Metropolitan Health</span></strong><b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"><br>
</span></b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">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> </span><o:p></o:p></p>
<p align="center" style="text-align:center"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">**********************************************************************</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>