[FUGSPBR] Configurando Spamassassin

Gleydson Soares gsoares em gmail.com
Ter Jun 15 13:57:48 BRT 2004


On Tue, 15 Jun 2004 12:38:49 -0300, Eicke <eickeaf em yahoo.com.br> wrote:
> 
> 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.

Saudacoes Eicke,

estou te passando o link do meu artigo , alem de vc bloquear os spams
de forma inteligente vc tambem ira boquear
virus sem sobrecarregar o seu servidor, oq sera preciso é somente
instalar o spamassassim e o clamav e chamar o filtro
dentro do master.cf. siga meu tutorial e veja os resultados...... um
forte abraco
link: http://www.unitednerds.org/thefallen/docs/index.php?area=Postfix&tuto=Clamav-gsoares

Gleydson Soares
Analista
gsoares em gmail.com | gsoares em nerdgroup.org | gsoares em fib.br
CTI - Coordenação de Tecnologia da Informação
FIB - Faculdade Integrada da Bahia
http://pgp.mit.edu keyID: 0xBFB24A32
_______________________________________________________________
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