<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
MailScanner --lint gives me this output.<br>
<br>
<i>Trying to setlogsock(unix)<br>
Can't call method "close" on an undefined value at
/opt/MailScanner/bin/mailscanner_create_locks line 47.<br>
Error: Attempt to create locks in /var/spool/MailScanner/incoming/Locks
failed!<br>
Read 854 hostnames from the phishing whitelist<br>
Read 10457 hostnames from the phishing blacklists<br>
Checking version numbers...<br>
Version number in MailScanner.conf (4.77.10) is correct.<br>
<br>
Unrar is not installed, it should be in /usr/bin/unrar.<br>
This is required for RAR archives to be read to check<br>
filenames and filetypes. Virus scanning is not affected.<br>
<br>
ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf<br>
ERROR: is not correct, it should match X-linux-MailScanner-From<br>
<br>
Cannot create temporary Work Dir /var/spool/MailScanner/incoming/26432.
Are the permissions and ownership of /var/spool/MailScanner/incoming
correct? at /opt/MailScanner/lib/MailScanner/WorkArea.pm line 151</i><br>
<br>
My solution was to add <i>"envelope_sender_header </i><i>X-linux-MailScanner-From"
</i>to my spamassassin.prefs.conf<br>
<br>
Thanks for the help.<br>
<br>
Martin Hepworth skrev:
<blockquote
 cite="mid:72cf361e0909021204j39b93232s5616244df20e52b1@mail.gmail.com"
 type="cite">sounds like you've got problems with the mailscanner.conf
file.<br>
  <br>
what does "MailScanner --lint" show?<br>
  <br>
  <div class="gmail_quote">2009/9/2 Joakim Cefalk <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:joakim@cefalk.com">joakim@cefalk.com</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000"><font face="Calibri"><br>
My server crashed yesterday, when i have installed mailscanner on my
new machine i got a lot rows in my logfile. The text below are showing
every 2-3 seconds in my logfile is this normal?<br>
    <br>
    </font>
    <pre>Sep  2 17:57:49 linux MailScanner[4739]: MailScanner E-Mail Virus Scanner version 4.77.10 starting... 
Sep  2 17:57:49 linux MailScanner[4739]: Read 854 hostnames from the phishing whitelist 
Sep  2 17:57:49 linux MailScanner[4739]: Read 10457 hostnames from the phishing blacklists 
Sep  2 17:57:49 linux MailScanner[4739]: Using SpamAssassin results cache 
Sep  2 17:57:49 linux MailScanner[4739]: Connected to SpamAssassin cache database 
Sep  2 17:57:52 linux MailScanner[4739]: None of the files matched by the "Monitors For ClamAV Updates" patterns exist! 
    </pre>
    <font color="#888888"><br>
    <br>
Joakim
    </font></div>
    <br>
--<br>
MailScanner mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
    <a moz-do-not-send="true"
 href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"
 target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
    <br>
Before posting, read <a moz-do-not-send="true"
 href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
    <br>
Support MailScanner development - buy the book off the website!<br>
    <br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Martin Hepworth<br>
Oxford, UK<br>
</blockquote>
<br>
</body>
</html>