[sam] Re: Defaults Values on Amavis backend

John Dalbec jpdalbec at ysu.edu
Mon Aug 2 10:10:54 PDT 2004


arnaldocan at ig.com.br wrote:

> Hi 
> 
> I'm using sam with amavisd-new, it's possible to make default settings for 
> user with no settings? 
> 
> I add these settings on conf.php, but dont work 
> $conf['defaults']['required_hits'] = '4'; 
> $conf['defaults']['rewrite_subject'] = true; 
> $conf['defaults']['subject_tag'] = '*****SPAM*********'; 
> $conf['defaults']['spam_level_stars'] = false; 

Check out config/userpref.sql for examples of default settings.  Basically the 
defaults are associated with the @GLOBAL username in your SQL database.
Example:
INSERT INTO userpref VALUES ('@GLOBAL', '@GLOBAL', 'required_hits', '4', 1);
HTH,
John

> 
> Thanks 
> 
> _________________________________________________________________________________
> Quer mais velocidade?
> Só com o acesso Aditivado iG, a velocidade que você quer na hora que você precisa.
> Clique aqui: http://www.acessoaditivado.ig.com.br
> 
> 



More information about the sam mailing list