Infinite Loop

Caza Henha cazahenha at
Sat Aug 23 11:46:03 IST 2008

Hi Everyone, 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) : ....Aug 23 02:37:09 smtp MailScanner[5129]: SpamAssassin temporary working directory is /var/spoolncoming/SpamAssassin-TempAug 23 02:35:54 smtp MailScanner[5073]: Using locktype = flockAug 23 02:35:55 smtp MailScanner[5073]: New Batch: Scanning 1 messages, 1841 bytesAug 23 02:35:56 smtp MailScanner[5077]: MailScanner E-Mail Virus Scanner version 4.68.8 starting...Aug 23 02:35:56 smtp MailScanner[5077]: Read 817 hostnames from the phishing whitelistAug 23 02:35:57 smtp MailScanner[5077]: Read 5141 hostnames from the phishing blacklistAug 23 02:35:57 smtp MailScanner[5077]: Config: calling custom init function SQLBlacklistAug 23 02:35:57 smtp MailScanner[5077]: Starting up SQL BlacklistAug 23 02:35:58 smtp MailScanner[5077]: Read 0 blacklist entriesAug 23 02:35:58 smtp MailScanner[5077]: Config: calling custom init function MailWatchLoggingAug 23 02:35:58 smtp MailScanner[5077]: Started SQL Logging childAug 23 02:35:58 smtp MailScanner[5077]: Config: calling custom init function SQLWhitelistAug 23 02:35:59 smtp MailScanner[5077]: Starting up SQL WhitelistAug 23 02:35:59 smtp MailScanner[5077]: Read 0 whitelist entriesAug 23 02:35:59 smtp MailScanner[5077]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-TempAug 23 02:44:09 smtp MailScanner[5250]: sees Config  LockType =  flock... I set the 'debug = yes" and I get the following output: In Debugging mode, not forking...Trying to setlogsock(unix)SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-TempBuilding a message batch to scan...Have a batch of 1 message.Can't use an undefined value as a symbol reference at /usr/share/MailScanner//MailScanner/ line 1979.I checked out line 1979 and it relates to the following code:   if (MailScanner::Config::Value('mta') =~ /sendmail|exim|postfix|zmailer/i) {    #    # This is for sendmail and Exim systems    #    $handle = IO::File->new_tmpfile;    binmode($handle);  # Line 1979    $this->{store}->ReadMessageHandle($this, $handle) or return;    ## Do the actual parsing    my $maxparts = MailScanner::Config::Value('maxparts', $this) || 200;    MIME::Entity::ResetMailScannerCounter($maxparts);    # Inform MIME::Parser about our maximum    $parser->max_parts($maxparts * 3);    $entity = eval { $parser->parse($handle) };    # close and delete tmpfile    close($handle);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: Regards, Caza     

Find out how to make Messenger your very own TV! Try it Now! 
Win New York holidays with Kellogg’s & Live Search
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list