[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: spamassassin quasi privato



Alle 19:32, martedì 28 giugno 2005, Leonardo Boselli ha scritto:
> Ho messo, su un server con tanti utenti, spamassassin, configurato in
> modo che ogni utente se lo chiami col procmail, se vuole un filtraggio.
> Ecco il problema:  ogni utente dovrebbe potersi fare il suo filtro, nel
> file user_prefs ma avere di default (se non lo leva da se)
> un include che punti ad alcuni parametri che l'amministrtatore di
> sistema possa modificare per tutti gli "abbonati".
> In particoalre uno sarebbe di azzerare ALL_TRUSTED , che spesso
> rende "buono"  dello spam , e li nessun problema, la seconda invece di
> creare una from black_list valida per tutti coloro che caricano questo
> include file.
> quale è il modo migliore di farlo ?

dal man di spam assassin:

CONFIGURATION FILES
       The rule base, text templates, and rule description text are loaded
       from the configuration files.

       By default, configuration data is loaded from the first existing direc-
       tory in: /usr/share/spamassassin; /usr/share/spamassassin;
       /usr/local/share/spamassassin; /usr/share/spamassassin .

       Site-specific configuration data is used to override any values which
       had already been set.  This is loaded from the first existing directory
       in: /etc/spamassassin; /usr/etc/mail/spamassassin; /usr/etc/spamassas-
       sin; /usr/local/etc/spamassassin; /usr/pkg/etc/spamassassin;
       /usr/etc/spamassassin; /etc/mail/spamassassin; /etc/spamassassin .

       Spamassassin will read *.cf in these directories, in alphanumeric order
       within each directory (similar to SysV-style startup scripts).  In
       other words, it will read 10_misc.cf before 50_scores.cf and
       20_body_tests.cf before 20_head_test.cf.  Options in later files will
       override earlier files.

       The user preferences (such as scores to attach to each rule), are
       loaded from the file specified in the -p argument.  If this is not
       specified, ~/.spamassassin/user_prefs is used if it exists.  "spamas-
       sassin" will create this file if it does not exist, using
       user_prefs.template as a template.  This file will be looked for in:
       /etc/spamassassin; /usr/etc/mail/spamassassin; /usr/share/spamassassin;
       /etc/spamassassin; /etc/mail/spamassassin;
       /usr/local/share/spamassassin; /usr/share/spamassassin.

se non ho capito male quello che intendi dovrebbe essere questo quello che ti 
serve, soprattutto  "The user preferences (such as scores to attach to each 
rule), are
       loaded from the file specified in the -p argument.  If this is not
       specified, ~/.spamassassin/user_prefs is used if it exists."

Byez
-- 
Gollum1
Tesssssoro, dov'é il mio tessssoro?



Reply to: