rulesdujour question

2006-08-15 Thread BG Mahesh
hi/etc/rulesdujour/config reads,[EMAIL PROTECTED] RulesDuJour]# more /etc/rulesdujour/config TRUSTED_RULESETS="TRIPWIRE SARE_ADULT SARE_OBFU0 SARE_OBFU1 SARE_URI0 SARE_URI1"SA_DIR="/etc/mail/spamassassin"
MAIL_ADDRESS="[EMAIL PROTECTED]"SA_RESTART="killall -HUP spamd"Everytime we execute rules_du_jour cf files are downloaded into /etc/mail/spamassassin and /etc/mail/spamassassin/RulesDuJour
Is this normal? All cf files are duplicates in both these directories and they look so old.[EMAIL PROTECTED] spamassassin]# ls -l RulesDuJour/total 428-rw-r--r--  1 root root  53868 Apr 20 14:30 70_sare_adult.cf
-rw-r--r--  1 root root  51886 Oct  2  2005 70_sare_obfu0.cf-rw-r--r--  1 root root 106627 Oct  2  2005 70_sare_obfu1.cf-rw-r--r--  1 root root  17879 Oct  5  2005 70_sare_uri0.cf-rw-r--r--  1 root root  24248 Oct 11  2005 70_sare_uri1.cf
-rw-r--r--  1 root root  56238 Jun  2  2005 99_FVGT_Tripwire.cf-rw-r--r--  1 root root  63479 Jan 30  2006 rules_du_jourAlso what do I need to add to Trusted_rulesets to get image spam working?
-- --B.G. Mahesh


Where to install imageinfo.pm?

2006-08-24 Thread BG Mahesh
hiI am using SA-3.1.4. I am in the process of installing http://www.rulesemporium.com/plugins.htmWhere do I install 
ImageInfo.pm
 [which directory]?-- --B.G. Maheshhttp://www.greynium.com/http://www.oneindia.in/
http://www.click.in/ - Free Indian Classifieds


Re: Where to install imageinfo.pm?

2006-09-06 Thread BG Mahesh
On 8/25/06, Kenneth Porter <[EMAIL PROTECTED]> wrote:
--On Thursday, August 24, 2006 2:12 PM +0530 BG Mahesh <[EMAIL PROTECTED]>wrote:> I am using SA-3.1.4. I am in the process of installing> 
http://www.rulesemporium.com/plugins.htm> Where do I install> ImageInfo.pm<http://www.rulesemporium.com/plugins/ImageInfo.pm>[which
> directory]?On Fedora I put mine in /etc/mail/spamassassin/plugins, and added the pathto the end of the load line in init.pre:loadplugin Mail::SpamAssassin::Plugin::ImageInfo/etc/mail/spamassassin/plugins/ImageInfo.pm
(That may split across two lines in the mail. It should all be on one linein your file.)The error I get for "spamassassin --lint" is,[EMAIL PROTECTED] spamassassin]# spamassassin --lint
[11752] warn: plugin: failed to parse plugin /etc/mail/spamassassin/plugins/ImageInfo.pm: Global symbol "$c" requires explicit package name at /etc/mail/spamassassin/plugins/ImageInfo.pm line 141.[11752] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::ImageInfo: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::ImageInfo" at /etc/mail/spamassassin/plugins/ImageInfo.pm line 103.
Line 141 reads,dbg("imageinfo: gif image
".($part->{'name'} ? $part->{'name'} : '')." is $height x $width
pixels ($area pixels sq.), with $color_table_size color table");Line 103 reads,
  my $self = $class->SUPER::new($mailsaobject); What could I be doing wrong?-- --B.G. Maheshhttp://www.greynium.com/
http://www.oneindia.in/http://www.click.in/ - Free Indian Classifieds


Re: Where to install imageinfo.pm?

2006-09-07 Thread BG Mahesh
On 8/25/06, Kenneth Porter <[EMAIL PROTECTED]> wrote:
--On Thursday, August 24, 2006 2:12 PM +0530 BG Mahesh <[EMAIL PROTECTED]>wrote:> I am using SA-3.1.4. I am in the process of installing> 
http://www.rulesemporium.com/plugins.htm> Where do I install> ImageInfo.pm<http://www.rulesemporium.com/plugins/ImageInfo.pm>[which
> directory]?On Fedora I put mine in /etc/mail/spamassassin/plugins, and added the pathto the end of the load line in init.pre:loadplugin Mail::SpamAssassin::Plugin::ImageInfo/etc/mail/spamassassin/plugins/ImageInfo.pm
The error I get for "spamassassin --lint" is,[EMAIL PROTECTED] spamassassin]# spamassassin --lint
[11752] warn: plugin: failed to parse plugin /etc/mail/spamassassin/plugins/ImageInfo.pm: Global symbol "$c" requires explicit package name at /etc/mail/spamassassin/plugins/ImageInfo.pm line 141.[11752] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::ImageInfo: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::ImageInfo" at /etc/mail/spamassassin/plugins/ImageInfo.pm line 103.
Line 141 reads,dbg("imageinfo: gif image
".($part->{'name'} ? $part->{'name'} : '')." is $height x $width
pixels ($area pixels sq.), with $color_table_size color table");Line 103 reads,
  my $self = $class->SUPER::new($mailsaobject); What could I be doing wrong? -- --B.G. Maheshhttp://www.greynium.com/
http://www.oneindia.in/http://www.click.in/ - Free Indian Classifieds


Re: SPF Scores

2006-09-10 Thread BG Mahesh
On 9/9/06, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote:
Michael Scheidell wrote:Bug 5077 includes a one line patch to fix this.  It'll be included in3.1.6 but is trivial to apply by hand now.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5077I seem to have multiple versions of SPF.pm on  my box,./perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/SPF.pm./perl5/site_perl/5.8.6/i386-linux-thread-multi/Net/DNS/RR/SPF.pm
./perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Plugin/SPF.pmShould I be deleting  perl5/vendor_perl/5.8.6/Mail/SpamAssassin/Plugin/SPF.pm which seems to be very old when compared to perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/SPF.pm ?
-- --B.G. Maheshhttp://www.greynium.com/http://www.oneindia.in/http://www.click.in/
 - Free Indian Classifieds


Moving from SA 2.6 to SA 3.1.4 [bayes file]

2006-07-27 Thread BG Mahesh
hiWe are moving our mailserver to a new machine. The old machine has MailScanner+SA 2.6.xThe new machine has MailScanner+SA 3.1.4How can I move the bayes file from the old machine to the new machine and make sure it is SA 
3.1.4 complaint?Basically I want the new machine to use the knowledge base from the old machine, so what do I need to do?-- --B.G. Maheshhttp://www.greynium.com/
http://www.oneindia.in/http://www.click.in/ - Free Indian Classifieds


Using MySQL with SA 3.1.4

2006-07-27 Thread BG Mahesh
hiI have just installed SA 3.1.4. I am pretty sure the default installation is non-mysql version.Is it better we move to the MySQL version? If so, what do I need to do in the config file [and setup]to move to the msql version?
-- --B.G. Maheshhttp://www.greynium.com/http://www.oneindia.in/http://www.click.in/
 - Free Indian Classifieds


How to check if content is spam or not?

2005-09-27 Thread BG Mahesh

hi

Users on a site submit content [resumes, classifieds etc]. The data needs to be 
checked for Spam. Data is stored in mysql. When the user submits the data, how 
can I route it thru Spamassassin and accept the data only if it is clean?

This has nothing to do with email.

regards,


--
B.G. Mahesh


-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!


spamassassin 3.1.0 test gives error

2005-12-14 Thread BG Mahesh

I have installed SA 3.1.0 on Linux.

spamassassin -t < sample-nonspam.txt > sample-nonspam.txt
---
[28533] warn: Use of uninitialized value in pattern match (m//) at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119.
[28533] warn: Use of uninitialized value in pattern match (m//) at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119.
[28533] warn: Use of uninitialized value in pattern match (m//) at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119.
[28533] warn: Use of uninitialized value in pattern match (m//) at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119.
[28533] warn: Use of uninitialized value in pattern match (m//) at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119.
[28533] warn: Use of uninitialized value in pattern match (m//) at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 870.
[28533] warn: Use of uninitialized value in concatenation (.) or string 
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 
944.

How do I fix this?

--
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/


-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!


Re: spamassassin 3.1.0 test gives error

2005-12-14 Thread BG Mahesh

I think it was a mistake on our part by using the same name for i/p and o/p.

regards

- Original Message -
From: "Matt Kettler" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: spamassassin 3.1.0 test gives error
Date: Wed, 14 Dec 2005 15:29:45 -0500

> 
> Theo Van Dinter wrote:
> > On Wed, Dec 14, 2005 at 01:28:07PM -0500, Matt Kettler wrote:
> >
> >>> spamassassin -t < sample-nonspam.txt > sample-nonspam.txt
> >>
> >> Why'd you direct the output back to sample-nonspam.txt? If SA isn't working
> >> you'll corrupt the file.
> >
> >
> > Beyond that, I don't even know if it'll work.  In all likelihood, the shell
> > will truncate the file and prep it for output while also opening 
> > it for input,
> > then run spamassassin which will then have a blank file.
> 
> Verified. My sa 3.1.0 works normally with:
> 
> spamassassin -t out.txt
> 
> and generates all the same errors as B.G. Mahesh when I do:
> 
> spamassassin -t out.txt
> 
> 
> B.G. Mahesh, I suggest trying your test again with the output directed to a
> different file, or /dev/null, not the same file as the input.
> 
> spamassassin -t out.txt
> 
> or
> 
> spamassassin -t /dev/null



--
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/


-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!


Anyone using MPP/Spamassassin with Stalker?

2005-12-20 Thread BG Mahesh

hi

Is anyone using MPP [http://www.raeinternet.com/mpp/] with Spamassassin and 
stalker.com? It is working for me but too much spam is getting thru. If I use 
MailScanner a lot more spam is stopped.

How to increase the number of rules in spamassassin automatically that will 
work with MPP?


--
B.G. Mahesh
[EMAIL PROTECTED]



-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!


How to fix the SA lint errors?

2006-01-27 Thread BG Mahesh

I am using SA 3.0.4. Not sure why these errors are occuring,


# spamassassin --lint
config: SpamAssassin failed to parse line, skipping: P_6_ALPH_L + 
__GAP_7_ALPH_L + __GAP_8_ALPH_L + __GAP_9_ALPH_L + __GAP_10_ALPH_L >= 5)
config: SpamAssassin failed to parse line, skipping: P_6_ALPH_R + 
__GAP_7_ALPH_R + __GAP_8_ALPH_R + __GAP_9_ALPH_R + __GAP_10_ALPH_R >= 5)
config: SpamAssassin failed to parse line, skipping: P_6_ALPH_B + 
__GAP_7_ALPH_B + __GAP_8_ALPH_B + __GAP_9_ALPH_B + __GAP_10_ALPH_B >= 5)
config: SpamAssassin failed to parse line, skipping: HARB + __GAP_8_CHARB + 
__GAP_9_CHARB + __GAP_10_CHARB >= 5)
config: SpamAssassin failed to parse line, skipping: P_6_ALPH_L + 
__GAP_7_ALPH_L + __GAP_8_ALPH_L + __GAP_9_ALPH_L + __GAP_10_ALPH_L + 
__GAP_1_ALPH_R + __GAP_2_ALPH_R + __GAP_
config: SpamAssassin failed to parse line, skipping: 3_ALPH_R + __GAP_4_ALPH_R 
+ __GAP_5_ALPH_R + __GAP_6_ALPH_R + __GAP_7_ALPH_R + __GAP_8_ALPH_R + 
__GAP_9_ALPH_R + __GAP_10_
config: SpamAssassin failed to parse line, skipping: ALPH_R + __GAP_1_ALPH_B + 
__GAP_2_ALPH_B + __GAP_3_ALPH_B + __GAP_4_ALPH_B + __GAP_5_ALPH_B + 
__GAP_6_ALPH_B + __GAP_7_ALP
config: SpamAssassin failed to parse line, skipping: H_B + __GAP_8_ALPH_B + 
__GAP_9_ALPH_B + __GAP_10_ALPH_B >= 10)
config: SpamAssassin failed to parse line, skipping: A + __GAP_7_WORDB < 1)
config: SpamAssassin failed to parse line, skipping: = 3)
config: SpamAssassin failed to parse line, skipping: = 5)
invalid regexp for rule __LISTKEYWORD: 
/(?:level|host|fr.|USD|CHF|EUR|euro|file|price|pieces|stück|save|artikel|server|Kbyte|Copy
config: SpamAssassin failed to parse line, skipping: right)/i
config: SpamAssassin failed to parse line, skipping: E + __GAP_2_CHAR + 
__GAP_3_CHAR + __GAP_4_CHAR + __GAP_5_CHAR + __GAP_6_CHAR + __GAP_7_CHAR + 
__GAP_8_CHAR + __GAP_9_CHAR
config: SpamAssassin failed to parse line, skipping: + __GAP_10_CHAR + 
__GAP_4_WORD + __GAP_5_WORD + __GAP_6_WORDA + __GAP_6_WORDB + __GAP_7_WORDA + 
__GAP_7_WORDB + __GAP_ALPH
config: SpamAssassin failed to parse line, skipping: _C + __GAP_POINT - 
(__SPAMREPORT * 4) + __RANDOM_CHARS_1 + __RANDOM_CHARS_2 + ((__RANDOM_CHARS_3 + 
__RANDOM_CHARS_4) * 2)
config: SpamAssassin failed to parse line, skipping: - ((__HTMLCOMMENT + 
__PATHNAME + __GAP_ALPH_L + __GAP_ALPH_R + __GAP_ALPH_B + __GAP_ALPH_D + 
__TXTATTACH + __LISTKEYWORD +
config: SpamAssassin failed to parse line, skipping: HTML_FONT_BIG)*2) - 
__GAP_NOWORD == 5) && ! __HAVE_NOURI
config: SpamAssassin failed to parse line, skipping: E + __GAP_2_CHAR + 
__GAP_3_CHAR + __GAP_4_CHAR + __GAP_5_CHAR + __GAP_6_CHAR + __GAP_7_CHAR + 
__GAP_8_CHAR + __GAP_9_CHAR
config: SpamAssassin failed to parse line, skipping: + __GAP_10_CHAR + 
__GAP_4_WORD + __GAP_5_WORD + __GAP_6_WORDA + __GAP_6_WORDB + __GAP_7_WORDA + 
__GAP_7_WORDB + __GAP_ALPH
config: SpamAssassin failed to parse line, skipping: _C + __GAP_POINT - 
(__SPAMREPORT * 4) + __RANDOM_CHARS_1 + __RANDOM_CHARS_2 + ((__RANDOM_CHARS_3 + 
__RANDOM_CHARS_4) * 2)
config: SpamAssassin failed to parse line, skipping: - ((__HTMLCOMMENT + 
__PATHNAME + __GAP_ALPH_L + __GAP_ALPH_R + __GAP_ALPH_B + __GAP_ALPH_D + 
__TXTATTACH + __LISTKEYWORD +
config: SpamAssassin failed to parse line, skipping: HTML_FONT_BIG)*2) - 
__GAP_NOWORD == 6) && ! __HAVE_NOURI
config: SpamAssassin failed to parse line, skipping: E + __GAP_2_CHAR + 
__GAP_3_CHAR + __GAP_4_CHAR + __GAP_5_CHAR + __GAP_6_CHAR + __GAP_7_CHAR + 
__GAP_8_CHAR + __GAP_9_CHAR
config: SpamAssassin failed to parse line, skipping: + __GAP_10_CHAR + 
__GAP_4_WORD + __GAP_5_WORD + __GAP_6_WORDA + __GAP_6_WORDB + __GAP_7_WORDA + 
__GAP_7_WORDB + __GAP_ALPH
config: SpamAssassin failed to parse line, skipping: _C + __GAP_POINT - 
(__SPAMREPORT * 4) + __RANDOM_CHARS_1 + __RANDOM_CHARS_2 + ((__RANDOM_CHARS_3 + 
__RANDOM_CHARS_4) * 2)
config: SpamAssassin failed to parse line, skipping: - ((__HTMLCOMMENT + 
__PATHNAME + __GAP_ALPH_L + __GAP_ALPH_R + __GAP_ALPH_B + __GAP_ALPH_D + 
__TXTATTACH + __LISTKEYWORD +
config: SpamAssassin failed to parse line, skipping: HTML_FONT_BIG)*2) - 
__GAP_NOWORD == 7) && ! __HAVE_NOURI
config: SpamAssassin failed to parse line, skipping: E + __GAP_2_CHAR + 
__GAP_3_CHAR + __GAP_4_CHAR + __GAP_5_CHAR + __GAP_6_CHAR + __GAP_7_CHAR + 
__GAP_8_CHAR + __GAP_9_CHAR
config: SpamAssassin failed to parse line, skipping: + __GAP_10_CHAR + 
__GAP_4_WORD + __GAP_5_WORD + __GAP_6_WORDA + __GAP_6_WORDB + __GAP_7_WORDA + 
__GAP_7_WORDB + __GAP_ALPH
config: SpamAssassin failed to parse line, skipping: _C + __GAP_POINT - 
(__SPAMREPORT * 4) + __RANDOM_CHARS_1 + __RANDOM_CHARS_2 + ((__RANDOM_CHARS_3 + 
__RANDOM_CHARS_4) * 2)
config: SpamAssassin failed to parse line, skipping: - ((__HTMLCOMMENT + 
__PATHNAME + __GAP_ALPH_L + __GAP_ALPH_R + __GAP_ALPH_B + __GAP_ALPH_D + 
__TXTATTACH + __LISTKEYWORD +
config: SpamAssassin failed to parse line, skipping: HTML_FONT_BIG)*2) - 
__GAP_NOWORD == 8) && ! __HAVE_NOURI
config: SpamAssassin failed to parse line, skipping: E + __

How to use SpamAssassin from PHP?

2007-04-17 Thread BG Mahesh

hi

I want to pass the comments/text entered by users on a form to SpamAssassin
for approval. If it approves it only then I want to accept the text, else I
want to inform the user that the text is Spam and reject the user's
comments.

We use PHP and want to know how to implement this.

regards,

--
--
B.G. Mahesh
http://www.greynium.com/
http://www.oneindia.in/
http://www.click.in/ - Free Indian Classifieds


Re: How to use SpamAssassin from PHP?

2007-05-09 Thread BG Mahesh

On 4/17/07, Derek Harding <[EMAIL PROTECTED]> wrote:


On Tue, 2007-04-17 at 16:52 +0530, BG Mahesh wrote:
>
> hi
>
> I want to pass the comments/text entered by users on a form to
> SpamAssassin for approval. If it approves it only then I want to
> accept the text, else I want to inform the user that the text is Spam
> and reject the user's comments.
>
> We use PHP and want to know how to implement this.

Someone asked about SA from PHP on this list back in March. Here is what
I wrote then:

#!/usr/bin/php -q


TBH I'm not sure SA is really going to help you here since you'll have
zero headers for it to work on meaning you're pretty much down to
content & URIBL checks.

Derek




We have tested this on http://cause.greynium.com/spamtest.php
We have constructed a Mail header, concatenating $message to $header and
passing the contents of $header to the code given above.


We have installed the script from rulesemporium to update the cf files.

What could we be missing?

--
--
B.G. Mahesh
http://www.greynium.com/
http://www.oneindia.in/
http://www.click.in/ - Free Indian Classifieds


Re: How to use SpamAssassin from PHP?

2007-05-09 Thread BG Mahesh

On 5/9/07, Duncan Hill <[EMAIL PROTECTED]> wrote:


On Wed, May 9, 2007 09:36, BG Mahesh wrote:

> We have tested this on http://cause.greynium.com/spamtest.php
> We have constructed a Mail header, concatenating $message to $header and
> passing the contents of $header to the code given above.
>
> We have installed the script from rulesemporium to update the cf files.
>
> What could we be missing?

Are you saying something isn't working?




The content should be reported as Spam. The score (when I run from command
line is just about 1.0 and required is 5.0). The text in $message have very
hardcore words. Shouldn't it be marked as spam?

Are we formating the header correctly (i.e. each line is ending with \n)?

regards,

--
--
B.G. Mahesh
http://www.greynium.com/
http://www.oneindia.in/
http://www.click.in/ - Free Indian Classifieds


Re: How to use SpamAssassin from PHP?

2007-05-09 Thread BG Mahesh


>
> The content should be reported as Spam. The score (when I run from
> command line is just about 1.0 and required is 5.0). The text in
$message
> have very hardcore words. Shouldn't it be marked as spam?
>
> Are we formating the header correctly (i.e. each line is ending with
\n)?

'hardcore' words are not necessarily enough to determine that an item is
spam.

I suggest you start your testing with a real spam mail (and you can find
quite a lot of those in places like news.admin.net-abuse.sightings), using
the SpamAssassin command line interface.  Once you're happy that it scores
mail properly, feed the body plus your custom headers to the command line
interface.  Bear in mind that a good chunk of the SA rules check headers
for things like invalid timestamps, spam signs etc, so your effectiveness
may be crippled.




Thanks..will do that. I agree that the message we are testing against are
very short but I think most of the user generated content on our site will
be short (feedback, comments etc). So I guess we will have to write a lot
more custom rules to achieve what we really want.

regards,


--
--
B.G. Mahesh
http://www.greynium.com/
http://www.oneindia.in/
http://www.click.in/ - Free Indian Classifieds


SA 3.0/Failed Test

2004-10-14 Thread BG Mahesh

hi

I am trying to install SA 3.0 on RedHat linux. During testing the error I get 
is,

% make test

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/bayesdbm..skipped
all skipped: no reason given
t/bayesdbm_flockskipped
all skipped: no reason given
t/bayessql..skipped
all skipped: no reason given
t/dnsbl.Not found: P_2 =  
 [127.0.0.4]
# Failed test 1 in t/SATest.pm at line 530
Not found: P_7 =  

# Failed test 2 in t/SATest.pm at line 530 fail #2
Not found: P_4 =   
[127.0.0.1, 127.0.0.1]
# Failed test 3 in t/SATest.pm at line 530 fail #3
Not found: P_3 =   
[127.0.0.12]
# Failed test 4 in t/SATest.pm at line 530 fail #4
Not found: P_5 =   
[127.0.0.1]
# Failed test 5 in t/SATest.pm at line 530 fail #5
Not found: P_1 =   
[127.0.0.2]
t/dnsbl.NOK 1# Failed test 6 in t/SATest.pm at line 530 
fail #6
Not found: P_6 =   
[127.0.0.2]
# Failed test 7 in t/SATest.pm at line 530 fail #7
Not found: P_15 =  DNSBL_RHS
# Failed test 8 in t/SATest.pm at line 530 fail #8
Not found: P_17 =  DNSBL_SB_FLOAT
t/dnsbl.NOK 2# Failed test 9 in t/SATest.pm at line 530 
fail #9
Not found: P_18 =  DNSBL_SB_STR
# Failed test 10 in t/SATest.pm at line 530 fail #10
Not found: P_16 =  DNSBL_SB_TIME
# Failed test 11 in t/SATest.pm at line 530 fail #11
Not found: P_10 =  DNSBL_TEST_DYNAMIC
# Failed test 12 in t/SATest.pm at line 530 fail #12
Not found: P_12 =  DNSBL_TEST_RELAY
t/dnsbl.NOK 3# Failed test 13 in t/SATest.pm at line 530 
fail #13
Not found: P_11 =  DNSBL_TEST_SPAM
# Failed test 14 in t/SATest.pm at line 530 fail #14
Not found: P_8 =  DNSBL_TEST_TOP
# Failed test 15 in t/SATest.pm at line 530 fail #15
t/dnsbl.NOK 4   Not found: P_9 =  DNSBL_TEST_WHITELIST
# Failed test 16 in t/SATest.pm at line 530 fail #16
Not found: P_14 =  DNSBL_TXT_RE
# Failed test 18 in t/SATest.pm at line 530 fail #18
t/dnsbl.FAILED tests 1-18
Failed 18/22 tests, 18.18% okay
t/hashcash..skipped
all skipped: no reason given
t/razor2skipped
all skipped: no reason given
t/spamd_ldapskipped
all skipped: no reason given
t/spamd_ssl.skipped
all skipped: no reason given
t/spf...skipped
all skipped: no reason given
t/sql_based_whitelist...skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
t/dnsbl.t 22   18  81.82%  1-18
9 tests skipped.
Failed 1/67 test scripts, 98.51% okay. 18/1396 subtests failed, 98.71% okay.
make: *** [test_dynamic] Error 29
[EMAIL PROTECTED] Mail-SpamAssassin-3.0.0]#


How do I fix this problem?

--
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/

-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze


Re: SA 3.0/Failed Test

2004-10-15 Thread BG Mahesh

> 
> Hi,
> 
> On Thu, 14 Oct 2004 16:54:04 +0530 "BG Mahesh" <[EMAIL PROTECTED]> wrote:
> 
> > I am trying to install SA 3.0 on RedHat linux. During testing the error
> > I get is,
> > 
> > % make test
> > [dnsbl test failures]
> >
> > How do I fix this problem?
> 
> What does:
> 
>   perl -e 'use Net::DNS; print $Net::DNS::VERSION, "\n";'
> 
> return?
> 

0.46

> My suspicion is that your installed version of Net::DNS is too old; you
> should have v0.34 or later on Unix or 0.46 or later on Windows.
> 
> hth,
> 

I reinstalled it without asking to do the network tests.



--
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/

-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze


Re: SA 3.0/Failed Test

2004-10-15 Thread BG Mahesh


> 
> At 07:24 AM 10/14/2004, BG Mahesh wrote:
> 
> 
> 
> >How do I fix this problem?
> 
> 
> Remember when the "perl Makefile.pl" warned you that checking network rules 
> could cause make test to fail, but you turned them on anyway?
> 

Yes, I turned it on. On 3 machines I had installed it without any problem [with 
network tests on]

>  Check network rules during 'make test' (test scripts may fail due 
> to network problems)? (y/n) [n]
> 
> Anyway:
> 
> 1) check your resolv.conf verify that each of the listed DNS servers works 
> properly.
>  $cat /etc/resolv.conf
>  nameserver 1.1.1.1
>  nameserver 2.2.2.2
>  $dig @1.1.1.1 www.spamassassin.org
>  $dig @2.2.2.2 www.spamassassin.org
>  etc.
> 
> The results from dig should have an "ANSWER SECTION". If it's missing, and 
> you only get back a question section and authority section the resolve failed.
> 

Works perfectly fine.

> 
> 2) Check that you can manually resolve the test that failed
> 
>  $host  134.88.73.210.dnsbltest.spamassassin.org
>  134.88.73.210.dnsbltest.spamassassin.org has address 127.0.0.4
> 

Works perfectly fine

> 3)  You can try to re-run make test, and it should work if #2 works, or you 
> can re-do the build from scratch and this time tell SA to not test the 
> network tests.
> 


I rebuilt and installed it now without network tests.

--
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/

-- 
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze