- Installare spamassassin spamc razor pyzor 
- nel file di configurazione di postfix aggiungere:
-o content_filter=spamassassin  (indentatoooooooooo!)
qui:
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd                
-o content_filter=spamassassin
al fondo aggiungere:
spamassassin unix -     n       n       -       -       pipe
user=nobody argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
- Nel file /etc/default/spamassassin editare: 
OPTIONS="--max-children 5 --helper-home-dir=/spamassassin --nouser-config"
- editare /etc/spamassassin/local.cf come allegato
local.cf
Per testare spassassin dare il comando:
spamassassin -D --lint
controllare e correggere gli errori
 

 
                        
Commenti offerti da CComment