RBL Check timed out

Julian Field mailscanner at ecs.soton.ac.uk
Fri Mar 28 16:16:39 GMT 2003


At 15:33 28/03/2003, you wrote:
>Sorry to reply to my own message (again), but now I'm not so sure that the
>patch completely worked.  If the RBL Check was disabled, why does it keep on
>timing out?  Could this have to do with the fact that I have
>
>Spam List =
>
>in MailScanner.conf?

I have already fixed this in the latest beta release.


>Jason
>
> > -----Original Message-----
> > From: Desai, Jason
> > Sent: Friday, March 28, 2003 10:26 AM
> > To: 'MailScanner mailing list'
> > Subject: RE: [MAILSCANNER] RBL Check timed out
> >
> >
> > Julian,
> >
> > Just wanted to let you know that I think you patch worked.
> >
> > $ grep "MailScanner\[28998\]: RBL" /var/log/mail.log
> > Mar 28 10:01:55 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 1 of 7
> > Mar 28 10:04:06 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 2 of 7
> > Mar 28 10:05:13 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 3 of 7
> > Mar 28 10:06:15 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 4 of 7
> > Mar 28 10:07:46 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 5 of 7
> > Mar 28 10:08:18 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 6 of 7
> > Mar 28 10:09:40 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed, consecutive failure 7 of 7
> > Mar 28 10:09:40 dimstar MailScanner[28998]: RBL Check
> > temporarily disabled
> > Mar 28 10:10:45 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:11:28 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:12:15 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:14:14 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:15:52 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:16:42 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:18:00 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:19:09 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:20:14 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:21:11 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:22:10 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> > Mar 28 10:23:35 dimstar MailScanner[28998]: RBL Check  timed
> > out and was killed
> >
> > Thanks!
> >
> > Jason
> >
> > > -----Original Message-----
> > > From: Desai, Jason
> > > Sent: Tuesday, March 25, 2003 4:19 PM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: [MAILSCANNER] RBL Check timed out
> > >
> > >
> > > I will try this patch and let you know if there are any
> > > problems.  I'm not
> > > sure if I'll be able to fully test it as yesterday was the
> > > first time ever
> > > we had more than 1 consecutive RBL Check timeout.  Thanks!
> > >
> > > Jason
> > >
> > >
> > > > -----Original Message-----
> > > > From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > > Sent: Tuesday, March 25, 2003 11:30 AM
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: [MAILSCANNER] RBL Check timed out
> > > >
> > > >
> > > > I fixed this for SA in 4.11. Forgot to fix it for RBLs :(
> > > >
> > > > Please can you try this patch to SA.pm and let me know how
> > > you get on.
> > > >
> > > > --- RBLs.pm.old Fri Mar 14 11:30:42 2003
> > > > +++ RBLs.pm     Tue Mar 25 16:34:16 2003
> > > > @@ -44,6 +44,7 @@
> > > >   $VERSION = substr q$Revision: 1.18.2.2 $, 10;
> > > >
> > > >   my %spamlistfailures; # Number of consecutive failures for
> > > > both lists
> > > > +my %deadspamlists;    # All the dead spam lists
> > > >
> > > >   #
> > > >   # Constructor.
> > > > @@ -207,11 +208,17 @@
> > > >     if ($pid>0) {
> > > >       # Increment the "Failures" counter for this RBL
> > > >       $spamlistfailures{"$Checked"}++;
> > > > -    if ($maxfailures>0) {
> > > > +    if (!$deadspamlists{"$Checked"} && $maxfailures>0) {
> > > >         MailScanner::Log::WarnLog("RBL Check $Checked timed
> > > > out and was " .
> > > >                      "killed, consecutive failure " .
> > > >                      $spamlistfailures{"$Checked"} . " of " .
> > > >                      $maxfailures);
> > > > +      # Kill this list as it has exceeded maxfailures
> > > > +      if ($spamlistfailures{"$Checked"}>=$maxfailures) {
> > > > +        MailScanner::Log::WarnLog("RBL Check %s temporarily
> > > > disabled",
> > > > +                                  $Checked);
> > > > +        $deadspamlists{"$Checked"} = 1;
> > > > +      }
> > > >       } else {
> > > >         MailScanner::Log::WarnLog("RBL Check $Checked timed
> > > > out and was
> > > > killed");
> > > >       }
> > > >
> > > >
> > > > At 15:45 25/03/2003, you wrote:
> > > > >Hello.
> > > > >
> > > > >Yesterday I received a bunch of "RBL Check  timed out and
> > > was killed"
> > > > >messages in mail.log.  Here is a sample output from my logs:
> > > > >
> > > > >$ grep "MailScanner\[6171\]: RBL" /var/log/mail.log
> > > > >Mar 24 11:47:53 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 1 of 7
> > > > >Mar 24 11:54:50 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 2 of 7
> > > > >Mar 24 11:55:01 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 3 of 7
> > > > >Mar 24 11:59:44 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 4 of 7
> > > > >Mar 24 12:01:06 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 5 of 7
> > > > >Mar 24 12:03:40 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 6 of 7
> > > > >Mar 24 12:06:53 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 7 of 7
> > > > >Mar 24 12:10:07 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 8 of 7
> > > > >Mar 24 12:11:20 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 9 of 7
> > > > >Mar 24 12:12:07 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 10 of 7
> > > > >Mar 24 12:16:45 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 11 of 7
> > > > >Mar 24 12:20:09 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 12 of 7
> > > > >Mar 24 12:45:20 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 13 of 7
> > > > >Mar 24 12:46:26 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 14 of 7
> > > > >Mar 24 12:49:00 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 15 of 7
> > > > >Mar 24 12:50:14 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 16 of 7
> > > > >Mar 24 13:56:02 dimstar MailScanner[6171]: RBL Check  timed
> > > > out and was
> > > > >killed, consecutive failure 17 of 7
> > > > >
> > > > >In my MailScanner.conf file, I have
> > > > >
> > > > >Spam List =
> > > > >
> > > > >I'm pretty sure that I tried commenting out the Spam List
> > > > entry too, and
> > > > >I've seen similar messages.  I am trying to prevent
> > > > MailScanner from doing
> > > > >any RBL checks (I only want SpamAssassin to do this).  I
> > > > don't understand
> > > > >why it would be trying to do RBL checks, and why it keeps on
> > > > failing even
> > > > >after 7 consecutive failures.  I am running MailScanner
> > > > 4.12-2.  Is this a
> > > > >bug in the code or do I have something configured wrong?
> > > > >
> > > > >Jason
> > > >
> > > > --
> > > > Julian Field
> > > > www.MailScanner.info
> > > > MailScanner thanks transtec Computers for their support
> > > >
> > >
> >

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list