You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Chris Datfung <ch...@gmail.com> on 2010/10/10 12:55:56 UTC

Re: Spamassassin not checking user provided RBLs

On Thu, Sep 2, 2010 at 1:56 PM, Benny Pedersen <me...@junc.org> wrote:

> On tor 02 sep 2010 09:08:30 CEST, Chris Datfung wrote
>
>  I ran sa-update. As you pointed out, there are a number of RBLs in the
>> standard configuration that for some reason aren't checked, thus I thought
>> I
>> could easily fix that by adding them to local.cf and when that didn't
>> work I
>> tried in init.pre. I do see other RBL generated scores in the message
>> headers, so it appears that some RBL checks are indeed performed.
>>
>
> try to debug it as below with
>
> spamassassing 2>&1 -D -t msg | less
>
> what are being tested at what fails ?


Hi,

I'm still having the RBL lookup problem. It seems that no RBLs are checked
now. I just looked up an unidentified spam message received that's listed in
zen.spamhaus.org but no mention of any RBLs in the spamassassin headers. I
reran the above command and found the following error:

Oct 10 21:49:58.510 [16255] dbg: dns: Net::DNS version: 0.63
Oct 10 21:49:58.510 [16255] warn: archive-iterator: no access to msg: No
such file or directory at
/usr/share/perl5/Mail/SpamAssassin/ArchiveIterator.pm line 771.
Oct 10 21:49:58.510 [16255] warn: archive-iterator: unable to open msg: No
such file or directory

I'm running spamassassin 3.3.1-1 from the Debian package. Line 771 says:

  if (!defined $AICache) {
    my @s = stat($mail);
    @s  or warn "archive-iterator: no access to $mail: $!";
    return unless $self->_message_is_useful_by_file_modtime($s[9]);
  }

Any idea what the problem might be?

Thanks,
  Chris

Re: Spamassassin not checking user provided RBLs

Posted by Benny Pedersen <me...@junc.org>.
On søn 10 okt 2010 12:55:56 CEST, Chris Datfung wrote

> Oct 10 21:49:58.510 [16255] warn: archive-iterator: unable to open msg: No
> such file or directory

> Any idea what the problem might be?

warn line says you did not provide a spam msg file to test with


-- 
xpoint http://www.unicom.com/pw/reply-to-harmful.html


Re: Spamassassin not checking user provided RBLs

Posted by John Hardin <jh...@impsec.org>.
On Sun, 10 Oct 2010, Chris Datfung wrote:

>> try to debug it as below with
>>
>> spamassassing 2>&1 -D -t msg | less

Try this instead:

   spamassassin 2>&1 -D -t <msg | less

Pipe the test message through spamassassin.

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   North Korea: the only country in the world where people would risk
   execution to flee to communist China.                  -- Ride Fast
-----------------------------------------------------------------------
  68 days until TRON Legacy