<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF">
<div>In your MS perl script. First line. Add -U<br>
<br>
<div><br>
</div>
<div>--</div>
<div>Jeremy McSpadden</div>
</div>
<div><br>
On Apr 10, 2012, at 11:05 AM, &quot;Rabie Van der Merwe&quot; &lt;<a href="mailto:rvdmerwe@mhg.co.za">rvdmerwe@mhg.co.za</a>&gt; wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>
<meta name="Generator" content="Microsoft Word 12 (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:0cm;
        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:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle22
        {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:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I recalled something like that from the list, but as luck would have it I had to purge my
<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">email archive :(<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>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Where do I have to run the '-U'?<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>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">R<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 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:mailscanner-bounces@lists.mailscanner.info]
<b>On Behalf Of </b>Sampson, Aaron<br>
<b>Sent:</b> 10 April 2012 17:19<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"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sounds like the taint error that I was getting for a while from what you stated.&nbsp; Have you added the –U? Not sure if that taint error was an error
 in the earlier verisons.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" 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 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>]
<b>On Behalf Of </b>Rabie Van der Merwe<br>
<b>Sent:</b> Tuesday, April 10, 2012 9:50 AM<br>
<b>To:</b> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<b>Subject:</b> MailScanner failing on CentOS 6.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">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---<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0" width="0" style="width:0cm">
<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"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
</div>
<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>
</div>
</blockquote>
<blockquote type="cite">
<div><span>-- </span><br>
<span>MailScanner mailing list</span><br>
<span><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a></span><br>
<span><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a></span><br>
<span></span><br>
<span>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a></span><br>
<span></span><br>
<span>Support MailScanner development - buy the book off the website! </span><br>
</div>
</blockquote>
</body>
</html>