Hello,

I have Amavis 2.6.1 on a  ubuntu box, configured 2 MySQL policies for 2 kind
of users. and some default scores written into the config file.
I'm trying to have scores loaded from MySQL DB, I configured two policies in
the policy table each with a different set of scores.
The behavior that a want :
 having the default values overwritten by those in the mysql , whatever
these last are , especially If some score in DB is disabled i.e undef value
or null I want it to replace the default one
behavior that I have so far:
 - if one of the policies in DB is applied then if one of its scores is NULL
or undef , the default value is kept...
I could have used a huge score to represent the undef but, I'm trying to do
it in a clean way .
Can anyone telll me if I'm doing it the right way, and what would be the
best solution to get the DB policies overwrite the default one for whatever
value.
Thanx a lot
TANGUI Achraf
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected] 
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