-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JamesDR wrote:

> Kevin Marvin wrote:
>
>> HELP! I cant get this figured out for the life of me. Here is
>> what I have...
>>
>> I have SA 3.0.2, using a Postgres database to store user
>> preferences. When I run a test instance and pass a test message
>> to it (using spamc and spamd) and the blacklist_from entries
>> never get read...
>>
>> Here is my local.cf:
>>
----------------------------------------------------------------------------
>>
>>
>> user_scores_dsn DBI:Pg:dbname=exim;host=localhost
>> user_scores_sql_username spam user_scores_sql_password
>> pass
>>
>> user_scores_sql_custom_query SELECT preference, value FROM
>> userpref WHERE username = _USERNAME_ OR username = '$GLOBAL' OR
>> username = '%'||_DOMAIN_ ORDER BY username ASC
>
>
> <snip> Almost there :-D
>
> allow_user_rules 1
>
>
WHOA!!!

No.  Please do not spread this sort of advice around.  There are VERY
VERY FEW reasons to use allow_user_rules in SpamAssassin.  It is not
needed at all in this case.

For folks running with allow_user_rules turned on I encourage you to
evaluate why you are doing so.  It opens you up to all sort of
security risks and performance problems, and 99.9% of the time not
necessary.

Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCpebwG4km+uS4gOIRAskOAKCYVDKCJUmyQSrR5nSDmOCBO7XZFgCeMiMg
29J7RVzuuJ5OCG2FzDe6tiE=
=dDUg
-----END PGP SIGNATURE-----

Reply via email to