<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> <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 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 endlessly until I kill MailScanner (for debugging I set Use Spamassassin = no and Virus Scanner = none) :<BR> <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 LockType = flock<BR>...<BR> <BR>I set the 'debug = yes" and I get the following output:<BR> <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> <BR> if (MailScanner::Config::Value('mta') =~ /sendmail|exim|postfix|zmailer/i) {<BR> #<BR> # This is for sendmail and Exim systems<BR> #<BR> $handle = IO::File->new_tmpfile;<BR> binmode($handle); # Line 1979<BR> $this->{store}->ReadMessageHandle($this, $handle) or return;<BR> ## Do the actual parsing<BR> my $maxparts = MailScanner::Config::Value('maxparts', $this) || 200;<BR> MIME::Entity::ResetMailScannerCounter($maxparts);<BR> # Inform MIME::Parser about our maximum<BR> $parser->max_parts($maxparts * 3);<BR> $entity = eval { $parser->parse($handle) };<BR> # close and delete tmpfile<BR> 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> <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> <BR>Regards,<BR> <BR>Caza<BR><BR> <BR> <BR> <BR> <BR> <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>