SpamAssassin en content_filter

Ceci est une ancienne révision du document !


Editer le fichier /etc/postfix/master.cf :

  • Ajouter -o content_filter=spamassassin :
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
          -o content_filter=spamassassin
  • Définir le content_filter spamassassin :
spamassassin unix -     n       n       -       -       pipe
        user=nobody argv=/usr/bin/spamc -f -e
        /usr/sbin/sendmail -oi -f ${sender} ${recipient} 

Il ne vous reste donc plus qu'a redémarrer Postfix :

/etc/init.d/postfix restart
informatique/reseau/messagerie/postfix/spamassassin_en_content_filter.1308660485.txt.gz · Dernière modification : 2012/02/03 14:31
CC Attribution-Noncommercial-Share Alike 4.0 International Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC Attribution-Noncommercial-Share Alike 4.0 International