....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Amavis

Amavis Mailing List Archive

From: Mark Martinec (Mark.Martinec+amavis@ijs.si)
Date: Wed Dec 15 2004 - 20:32:56 EST


Pavel,

> I whant to store peruser prefs for spamassassin in MySQL database.
> Namely i want to store there peruser white/black lists.
>
> So can i use in local.cf or in amavisd.conf directives like:
> user_scores_dsn
> user_scores_sql_username
> user_scores_sql_password
> user_scores_sql_table ?

These belong to local.cf, not to amavisd.conf.

But I doubt you will get what you expect.
Amavisd-new calls SA once per message regardless of the
number of recipients, unlike the spamc/spamd setup which
is usually invoked at mail delivery stage, where SA is
dealing with one recipient at a time only and it can consult
the (one) appropriate SQL entry in its database.

If the per-recipient settings that amavisd-new offers
do not cover your needs, you will have to turn off
spam checking in amavisd-new (and save much memory
and speed), and invoke SA through some other mechanism.

  Mark

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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/



[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.