SpamAssassin 18th anniversary article

2019-10-24 Thread Dave Wreski

Hi all,

LinuxSecurity just posted an article on the history of SpamAssassin and 
its recent 18th anniversary, some of the new features coming in v4, and 
speaks with some of the lead developers.


https://linuxsecurity.com/features/features/an-open-source-success-story-apache-spamassassin-celebrates-18-years-of-effectively-combating-spam-email

We'd love to know what you think.

Thanks,
Dave


Re: List Of Available Spamassassin Rule

2019-10-24 Thread Savvas Karagiannidis

Hi,

you use a perl script like this:

#!/usr/bin/perl

use strict;
use Mail::SpamAssassin;


my $sa_instance = Mail::SpamAssassin->new();

$sa_instance->compile_now(0);

my %scores;

for (my $i=0; $i < 4; $i++) {
    my $scoreset = $sa_instance->{'conf'}->{scoreset}[$i];

    while (my ($key,$value) = each %$scoreset) {

    $scores{$key}{$i}=$value;

    }
}

if ($ARGV[0]) {
    my $name = $ARGV[0];
    if ($scores{$name}) {
    print 
$name."|".$scores{$name}{0}."|".$scores{$name}{1}."|".$scores{$name}{2}."|".$scores{$name}{3}."|".$sa_instance->{'conf'}->{descriptions}{$name}."\n";

    }
} else {
    foreach my $name (sort keys %scores) {
    #while (my ($key,$value) = each %scores) {
    if ($name !~ /^__/) {
    print 
$name."|".$scores{$name}{0}."|".$scores{$name}{1}."|".$scores{$name}{2}."|".$scores{$name}{3}."|".$sa_instance->{'conf'}->{descriptions}{$name}."\n";

    }
    }
}

Simply running it will print the full list of tests, their scores and 
the description of the test.


Passing the name of a test as a parameter, will only display the 
properties of the specified test


Regads,

Savvas Karagiannidis


On 24/10/2019 15:56, KADAM, SIDDHESH wrote:

Hi Folks,

Can someone please help me in retrieving a list of present rules of 
Spamassassin.


Spamassassin --lint or -D option I tried but not getting expected output.

Regards,
Siddhesh



Re: List Of Available Spamassassin Rule

2019-10-24 Thread Henrik K
On Thu, Oct 24, 2019 at 06:26:13PM +0530, KADAM, SIDDHESH wrote:
> Hi Folks,
> 
> Can someone please help me in retrieving a list of present rules of
> Spamassassin.
> 
> Spamassassin --lint or -D option I tried but not getting expected output.

Sorry there is no command.

You can find all rule files from this directory:

spamassassin --lint -D 2>&1 | grep 'rules dir'



List Of Available Spamassassin Rule

2019-10-24 Thread KADAM, SIDDHESH

Hi Folks,

Can someone please help me in retrieving a list of present rules of 
Spamassassin.


Spamassassin --lint or -D option I tried but not getting expected output.

Regards,
Siddhesh



Re: use of razor/pyzor/dcc on not english messages

2019-10-24 Thread Matus UHLAR - fantomas

On 22.10.19 16:24, hg user wrote:

I'm wondering if the plugins listed in the subject may help with messages
that are not in english...


yes.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
If Barbie is so popular, why do you have to buy her friends?