[FUGSPBR] Configurando Spamassassin

Eicke eickeaf em yahoo.com.br
Ter Jun 15 12:38:49 BRT 2004


Pessoal instalei o Spamassassin no meu server 4.8 com Postfix 2.0.16.

Segui os passos:
1.perl -MCPAN -e 'install Mail::SpamAssassin'"

2. As root, create a file at /usr/local/bin/spamfilter.sh with the following
content:
#!/bin/bash
/usr/local/bin/spamc | /usr/sbin/sendmail -i "$@"
exit $?

3. Run "chmod 755 /usr/local/bin/spamfilter"

4. Create a user called 'spamfilter'. Make it a complete user, with home
directory and shell.

5. Run "chown spamfilter /usr/local/bin/spamfilter"

6. In /etc/postfix/master.cf in the "Services" section, alter the 'smtp'
line as follows (the " -o con..." SHOULD be on the next line:  NOTE:  there
are two lines that have smtp.  Make sure it is the inet line.  Usually the
first line.
# --------------------------------------------------------------------------
---------
smtp inet n - n - - smtpd
  -o content_filter=spamfilter:
# --------------------------------------------------------------------------
---------

7. In /etc/postfix/master.cf in the "Interfaces to non-Postfix software"
section add:
# --------------------------------------------------------------------------
---------
spamfilter unix - n n - - pipe
  flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter.sh -f ${sender} -- 
${recipient}
# --------------------------------------------------------------------------
---------

Aparentemente esta funcionando, mas eu gostaria de testar, saber se qdo
chegar um spam qual vai ser a reacao.

Esta conf esta correta?Vai realmente bloquear os spams...ou tenho que de
alguma forma "treinar" o software?

Algum documento que vcs podem me indicar?



Valeu.

Eicke.

_______________________________________________________________
Para enviar um novo email para a lista: fugspbr em fugspbr.org
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd