Detlev wrote:

> Hello,

> I'm trying to change the user preferences to the SQL-based system. This
> works fine with autowhitelist and bayes. But when I try to use the user
> preferences I do not see any error or success messages. The settings in
> the local.cf seem to be ignored.

> When I try a "cat sample-spam.txt | spamc -D" I see that it is working
> ok. But when Amavis calls SA then nothing happens...

> I'm using the SMTP-Way through the system: sendmail(25)->amavis(100249 ->
> sendmail(10025). Maybe that's important.

> Can someone please direct me a way to success? 

> Thanks for any help!

> Regards

> Detlev

Amavisd-new uses its own settings to determine what happens to spam.
See: http://www.ijs.si/software/amavisd/#faq-spam

If you are using SQL, this would mean you should have created a
database and tables per the instructions at
http://www.ijs.si/software/amavisd/README.sql.txt (or similar). You
would place settings in the policy table (notice especially
spam_tag_level, spam_tag2_level and spam_kill_level fields). You create
as many different policies as required, then each user in the users
table is assigned one of those policies using the users.policy_id
field. Study the example data.

You are testing with spamc/spamd. Amavisd-new does not use either, but
instead uses the Mail::SpamAssassin Perl module directly. Normally you
should not have spamd running on a mail server that is using
amavisd-new.

If you are not using SQL for these settings, and don't wish to set it
up, then you can place your settings in amavisd.conf. I recommend
reading amavisd.conf-sample for ideas on how to set up (static)
individual settings. This file illustrates use of many of the settings
you may be interested in, notably the ones in the
"# SpamAssassin settings" section.

Gary V



_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to