You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Gary Funck <ga...@intrepid.com> on 2004/02/08 07:36:22 UTC

SA 2.70 has autowhitelisting on by default?


I was trying out SA 2.70, to see if it fixed the Received: from localhost
problem
that I'd reported in an earlier e-mail. I noticed in the debug output that
AWL
was enabled. Running this down a bit ... in SpamAssassin/Conf.pm:

    180   # this will be sedded by implementation code, so ~ is OK.
    181   # using "__userstate__" is recommended for defaults, as it allows
    182   # Mail::SpamAssassin module users who set that configuration
setting,
    183   # to receive the correct values.
    184
    185   $self->{use_auto_whitelist} = 1;
    186   $self->{auto_whitelist_factory} =
"Mail::SpamAssassin::DBBasedAddrList";
    187   $self->{auto_whitelist_path} = "__userstate__/auto-whitelist";
    188   $self->{auto_whitelist_file_mode} = '0700';
    189   $self->{auto_whitelist_factor} = 0.5;

The assignment at line #185 seems to be enabling AWL by default. This messes
up
testing, and might cause some surprises when installed, unless the
installation
script undoes this?



Re: SA 2.70 has autowhitelisting on by default?

Posted by Michael Parker <pa...@pobox.com>.
On Sat, Feb 07, 2004 at 10:36:22PM -0800, Gary Funck wrote:
> 
> 
> I was trying out SA 2.70, to see if it fixed the Received: from localhost
> problem
> that I'd reported in an earlier e-mail. I noticed in the debug output that
> AWL
> was enabled. Running this down a bit ... in SpamAssassin/Conf.pm:
> 
>     180   # this will be sedded by implementation code, so ~ is OK.
>     181   # using "__userstate__" is recommended for defaults, as it allows
>     182   # Mail::SpamAssassin module users who set that configuration
> setting,
>     183   # to receive the correct values.
>     184
>     185   $self->{use_auto_whitelist} = 1;
>     186   $self->{auto_whitelist_factory} =
> "Mail::SpamAssassin::DBBasedAddrList";
>     187   $self->{auto_whitelist_path} = "__userstate__/auto-whitelist";
>     188   $self->{auto_whitelist_file_mode} = '0700';
>     189   $self->{auto_whitelist_factor} = 0.5;
> 
> The assignment at line #185 seems to be enabling AWL by default. This messes
> up
> testing, and might cause some surprises when installed, unless the
> installation
> script undoes this?

It is now turned on by default.  See:
http://bugzilla.spamassassin.org/show_bug.cgi?id=2459
for more details.

Michael