<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 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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=Section1>
<p class=MsoPlainText>Sounds like the perl issue. Try adding --chuid
postfix:www-data to your mailscanner startup script.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Eg. start-stop-daemon --start --quiet --nicelevel
$run_nice <b>--chuid postfix:www-data</b> –exec<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>You’ll have to restart mailscanner.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>-----Original Message-----<br>
From: mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info]
On Behalf Of Garrod M. Alwood<br>
Sent: Monday, December 28, 2009 10:24 AM<br>
To: MailScanner discussion<br>
Subject: Clamd issue<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I have everything set exactly as I do on all my other
servers and on this server I get this error and I am unsure why, can anyone
give me as a hint to fix it? I looked at the pm file it's calling but I can't
tell what it's asking for. If someone could at least point me in the right
direction I would be very happy. thank you.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>root@filter2# MailScanner --lint<o:p></o:p></p>
<p class=MsoPlainText>Trying to setlogsock(unix)<o:p></o:p></p>
<p class=MsoPlainText>Reading configuration file
/etc/MailScanner/MailScanner.conf<o:p></o:p></p>
<p class=MsoPlainText>Reading configuration file /etc/MailScanner/conf.d/README<o:p></o:p></p>
<p class=MsoPlainText>Read 856 hostnames from the phishing whitelist<o:p></o:p></p>
<p class=MsoPlainText>Read 9052 hostnames from the phishing blacklists<o:p></o:p></p>
<p class=MsoPlainText>Config: calling custom init function SQLBlacklist<o:p></o:p></p>
<p class=MsoPlainText>Starting up SQL Blacklist<o:p></o:p></p>
<p class=MsoPlainText>Read 0 blacklist entries<o:p></o:p></p>
<p class=MsoPlainText>Config: calling custom init function MailWatchLoggin<o:p></o:p></p>
<p class=MsoPlainText>Config: calling custom init function SQLWhitelist<o:p></o:p></p>
<p class=MsoPlainText>Starting up SQL Whitelist<o:p></o:p></p>
<p class=MsoPlainText>Read 0 whitelist entries<o:p></o:p></p>
<p class=MsoPlainText>Checking version numbers...<o:p></o:p></p>
<p class=MsoPlainText>Version number in MailScanner.conf (4.78.17) is correct.<o:p></o:p></p>
<p class=MsoPlainText>Your envelope_sender_header in spam.assassin.prefs.conf
is correct.<o:p></o:p></p>
<p class=MsoPlainText>MailScanner setting GID to (33)<o:p></o:p></p>
<p class=MsoPlainText>MailScanner setting UID to (107)<o:p></o:p></p>
<p class=MsoPlainText>Checking for SpamAssassin errors (if you use it)...<o:p></o:p></p>
<p class=MsoPlainText>Using SpamAssassin results cache<o:p></o:p></p>
<p class=MsoPlainText>Connected to SpamAssassin cache database<o:p></o:p></p>
<p class=MsoPlainText>SpamAssassin reported no errors.<o:p></o:p></p>
<p class=MsoPlainText>Connected to Processing Attempts Database<o:p></o:p></p>
<p class=MsoPlainText>Created Processing Attempts Database successfully<o:p></o:p></p>
<p class=MsoPlainText>There are 0 messages in the Processing Attempts Database<o:p></o:p></p>
<p class=MsoPlainText>Using locktype = posix<o:p></o:p></p>
<p class=MsoPlainText>MailScanner.conf says "Virus Scanners = clamd"<o:p></o:p></p>
<p class=MsoPlainText>Found these virus scanners installed: clamd<o:p></o:p></p>
<p class=MsoPlainText>===========================================================================<o:p></o:p></p>
<p class=MsoPlainText>Insecure dependency in chown while running with -T switch
at /usr/lib/MailScanner/MailScanner/Message.pm line 2505.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Garrod M. Alwood<o:p></o:p></p>
<p class=MsoPlainText>Consultant<o:p></o:p></p>
<p class=MsoPlainText>garrod.alwood@lorodoes.com<o:p></o:p></p>
<p class=MsoPlainText>904.738.4988-- <o:p></o:p></p>
<p class=MsoPlainText>MailScanner mailing list<o:p></o:p></p>
<p class=MsoPlainText>mailscanner@lists.mailscanner.info<o:p></o:p></p>
<p class=MsoPlainText>http://lists.mailscanner.info/mailman/listinfo/mailscanner<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Before posting, read http://wiki.mailscanner.info/posting<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Support MailScanner development - buy the book off the
website! <o:p></o:p></p>
</div>
</body>
</html>