<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi Everyone,<BR>&nbsp;<BR>This is my first post to the group so please excuse me is I haven't included anything salient. I am setting up a new spam gateway using postfix and MailScanner/Mail Watch&nbsp;on Ubuntu and I belived to have everything set up correctly. However we mail is sent to the server it just goes through the following&nbsp;endlessly until I kill MailScanner (for debugging I set Use Spamassassin = no and Virus Scanner = none)&nbsp;:<BR>&nbsp;<BR>....<BR>Aug 23 02:37:09 smtp MailScanner[5129]: SpamAssassin temporary working directory is /var/spoolncoming/SpamAssassin-Temp<BR>Aug 23 02:35:54 smtp MailScanner[5073]: Using locktype = flock<BR>Aug 23 02:35:55 smtp MailScanner[5073]: New Batch: Scanning 1 messages, 1841 bytes<BR>Aug 23 02:35:56 smtp MailScanner[5077]: MailScanner E-Mail Virus Scanner version 4.68.8 starting...<BR>Aug 23 02:35:56 smtp MailScanner[5077]: Read 817 hostnames from the phishing whitelist<BR>Aug 23 02:35:57 smtp MailScanner[5077]: Read 5141 hostnames from the phishing blacklist<BR>Aug 23 02:35:57 smtp MailScanner[5077]: Config: calling custom init function SQLBlacklist<BR>Aug 23 02:35:57 smtp MailScanner[5077]: Starting up SQL Blacklist<BR>Aug 23 02:35:58 smtp MailScanner[5077]: Read 0 blacklist entries<BR>Aug 23 02:35:58 smtp MailScanner[5077]: Config: calling custom init function MailWatchLogging<BR>Aug 23 02:35:58 smtp MailScanner[5077]: Started SQL Logging child<BR>Aug 23 02:35:58 smtp MailScanner[5077]: Config: calling custom init function SQLWhitelist<BR>Aug 23 02:35:59 smtp MailScanner[5077]: Starting up SQL Whitelist<BR>Aug 23 02:35:59 smtp MailScanner[5077]: Read 0 whitelist entries<BR>Aug 23 02:35:59 smtp MailScanner[5077]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp<BR>Aug 23 02:44:09 smtp MailScanner[5250]: lock.pl sees Config&nbsp; LockType =&nbsp; flock<BR>...<BR>&nbsp;<BR>I set the 'debug = yes" and I get the following output:<BR>&nbsp;<BR>In Debugging mode, not forking...<BR>Trying to setlogsock(unix)<BR>SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp<BR>Building a message batch to scan...<BR>Have a batch of 1 message.<BR>Can't use an undefined value as a symbol reference at /usr/share/MailScanner//MailScanner/Message.pm line 1979.<BR><BR>I checked out line 1979 and it relates to the following code:<BR>&nbsp;<BR>&nbsp; if (MailScanner::Config::Value('mta') =~ /sendmail|exim|postfix|zmailer/i) {<BR>&nbsp;&nbsp;&nbsp; #<BR>&nbsp;&nbsp;&nbsp; # This is for sendmail and Exim systems<BR>&nbsp;&nbsp;&nbsp; #<BR>&nbsp;&nbsp;&nbsp; $handle = IO::File-&gt;new_tmpfile;<BR>&nbsp;&nbsp;&nbsp; binmode($handle);&nbsp; # Line 1979<BR>&nbsp;&nbsp;&nbsp; $this-&gt;{store}-&gt;ReadMessageHandle($this, $handle) or return;<BR>&nbsp;&nbsp;&nbsp; ## Do the actual parsing<BR>&nbsp;&nbsp;&nbsp; my $maxparts = MailScanner::Config::Value('maxparts', $this) || 200;<BR>&nbsp;&nbsp;&nbsp; MIME::Entity::ResetMailScannerCounter($maxparts);<BR>&nbsp;&nbsp;&nbsp; # Inform MIME::Parser about our maximum<BR>&nbsp;&nbsp;&nbsp; $parser-&gt;max_parts($maxparts * 3);<BR>&nbsp;&nbsp;&nbsp; $entity = eval { $parser-&gt;parse($handle) };<BR>&nbsp;&nbsp;&nbsp; # close and delete tmpfile<BR>&nbsp;&nbsp;&nbsp; close($handle);<BR><BR>Is the above error messsage causing the loop or is it something else I belive I have all the perl modules installed and I am using the mailscanner_4.68.8-1_all.deb and followed the instructions here:<BR>&nbsp;<BR><A href="http://www.mailscanner.info/ubuntu.html" target=_blank>http://www.mailscanner.info/ubuntu.html</A><BR>and <BR><A href="http://howtoforge.org/the-perfect-spamsnake-ubuntu-8.04" target=_blank>http://howtoforge.org/the-perfect-spamsnake-ubuntu-8.04</A><BR>&nbsp;<BR>Regards,<BR>&nbsp;<BR>Caza<BR><BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR><BR>
<HR>
Find out how to make Messenger your very own TV! <A href="http://clk.atdmt.com/UKM/go/101719648/direct/01/" target=_blank>Try it Now!</A> <br /><hr />Win £3000 to spend on whatever you want at Uni! <a href='http://clk.atdmt.com/UKM/go/101719803/direct/01/' target='_new'>Click here to WIN!</a></body>
</html>