Home
Home
Downloads
Downloads
Links
Links
Forums
Forums
Conteúdo
Agendas
Busca
Busca
Contato
Contato
WebMail
WebMail
Curriculum Lattes
Curriculum Lattes
Your Account
Sua Conta
Compatível Internet ExplorerCompatível FirefoxCompatível Opera
Subscribe Share/Save/Bookmark
Menu Principal
house.gif PrincipalShow/Hide content
tree-T.gif Home
tree-T.gif Forums
tree-T.gif Conteúdo
tree-T.gif Agendas
tree-T.gif GuestBook
tree-T.gif Contato
tree-T.gif Curriculum_Lattes
tree-L.gif SitesShow/Hide content
tree-T.gif Filmes
tree-T.gif Portal_WAP
tree-T.gif Suporte
tree-T.gif Grupos
tree-T.gif Álbum_de_Fotos
tree-L.gif Webmail

icon_general.gif NotíciasShow/Hide content
Access restricted to our members Submeter
tree-T.gif Tópicos
tree-L.gif Arquivo
projetos.gif ProjetosShow/Hide content
tree-L.gif Projetos
lancamentos_geral.gif Downloads e LinksShow/Hide content
Access restricted to our members Submeter_Download
tree-T.gif Downloads
tree-L.gif Links

icon_community.gif UsuáriosShow/Hide content
Access restricted to our members Lista de Membros
tree-T.gif Sua Conta
tree-T.gif Perfil_do_Fórum
tree-T.gif Grupos_do_Fórum
tree-T.gif Indicação
tree-L.gif Mensagem_Privada
nuke.gif FerramentasShow/Hide content
tree-T.gif SCodeHL
tree-T.gif Encomendas
tree-T.gif Busca Filmes
tree-T.gif Cálculo_Downloads
tree-T.gif Endereçador
tree-T.gif Consulta_CEP
tree-L.gif Webmaster_Tools

som_downloads.gif ConectividadeShow/Hide content
tree-T.gif Extranet
tree-T.gif Intranet
tree-T.gif Remotely_Anywhere
tree-L.gif EmuleShow/Hide content
tree-T.gif Emule_Web
tree-L.gif MobileMule
favoritos.gif AdministraçãoShow/Hide content
tree-T.gif PHPNuke
tree-T.gif CPanel
tree-L.gif WHM

menu_pesquisa.gif PesquisaShow/Hide content
tree-T.gif Busca
tree-L.gif Busca Forum
icon_poll.gif EstatísticasShow/Hide content
tree-T.gif Estatísticas
tree-T.gif Pesquisas
tree-L.gif Top 10
menu_infos.gif AjudaShow/Hide content
tree-L.gif FAQ


Busca
Tipo de Busca


Busca Avançada

Daibert.net Webmail System
Login:
Senha:


Universal Module

Main IndexTop RatedRandom ItemMost Wanted

- Rejeitando Spam Através de Listas RBL: Configuração no WHM/Cpanel - EXIM4 -
Category: Tutoriais-Dicas/Servidor de Emails

From: MSDaibert
Author: Unknown
E-Mail: Send E-Mail
Added: Julho 21, 2006
Modified: Agosto 26, 2006
Views: 957
Votes: 1
Rating: 10

Related Links
No Related Links stored for this Item


Most Popular Item:
Instalação e Configuração do Apache Server, PHP e MySQL em Windows XP, 2000/2002 ou NT


Options

Printer Friendly Version  Printer Friendly Version

Send to a Friend  Send to a Friend

Submit Modification Request

Items for Rejeitando Spam Através de Listas RBL: Configuração no WHM/Cpanel - EXIM4:
Configurando o EXIM4 em Servidores Gerenciados pelo WHM/Cpanel para Rejeitar SPAMS de listas RBL.


As RBL, são listas que contem um TOP Servidores Spammers, ou seja, a qualquer envio ou recebimento de uma menssagem ele verifica se o servidor que está te enviando ou que você vai enviar um e-mail se ele está em alguma das listas, se estiver ele bloqueia a mensagem e apaga, a maioria dos administradores de redes evitam que seus servidores sejam listados nessas RBL, e para sair depois que está listado é muito difícil, cerca de 20 dias depois de notificada a RBL e depois de a RBL conferir se realmente ele resolveu o problema dos spams. Está técnica lhe ajudará bastante a evitar esses tipos de problemas.

1º - Logue-se no SSH, e crie os arquivos:

/etc/rblblacklist # Rejeita alguns domínios especificados no arquivo.
/etc/rblbypass # Dominios que devem solicitar o SPAM ASSASSIN para verificar
/etc/rblwhitelist # Lista de servidores que podem lhe enviar e-mails sem verificação

Os arquivos acima devem contar 1 domínio por linha, também é permitido usar o *

Para criar os arquivos o comando é "touch".

No caso:

touch /etc/rblblacklist
touch /etc/rblbypass
touch /etc/rblwhitelist


2º - Para quem usa o WHM, entre como "root" clique no menu "Exim Configuration Editor", depois em "Switch to Advanced Mode" (Ele vai abrir o editor das configurações do Exim). Ou você pode fazer isso pelo shell (Editar o arquivo /etc/exim.conf).

Bem no começo do arquivo de configuração (na segunda linha), acrescente:

domainlist rbl_blacklist = lsearch;/etc/rblblacklist
domainlist rbl_bypass = lsearch;/etc/rblbypass
hostlist rbl_whitelist = lsearch;/etc/relayhosts : partial-lsearch;/etc/rblwhitelist


Depois procure por "begin acl", logo após em "accept hosts = :" Acrescente:

#**#
#**# RBL List Begin
#**#
#
# Always accept mail to postmaster & abuse for any local domain
#
accept domains = +local_domains
local_parts = postmaster:abuse
#
# Check sending hosts against DNS black lists.
# Accept all locally generated messages
# Reject message if address listed in blacklist.
deny message = Mesagem rejeitada porque $sender_fullhost
esta listado em $dnslist_domain veja $dnslist_text
!hosts = +relay_hosts
!authenticated = *
dnslists = dnsbl.njabl.org :
bl.spamcop.net :
sbl.spamhaus.org :
list.dsbl.org :
cbl.abuseat.org :
relays.ordb.org
# RBL Bypass Local Domain List
!domains = +rbl_bypass
# RBL Whitelist incoming hosts
!hosts = +rbl_whitelist
#**#
#**# RBL List End
#**#


Novamente procure pela sequencia
require verify = sender
accept domains = +local_domains
endpass

Essa sequencia também está em ACL

E após essa linha acrescente:

#**#
#**# Reject Email to Invalid Recipient
#**#
endpass
message = unknown user
verify = recipient
#**#


Depois vá para a seção "ROUTERS CONFIGURATION", utilize a busca novamente.
Logo no começo da seção acrescente:

# Deny and send notice to list of rejected domains.
reject_domains:
driver = redirect
# RBL Blacklist incoming hosts
domains = +rbl_blacklist
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.


Após isso salve e reinicie o EXIM.


Para testar se está funcionando, apenas envie um e-mail para "nelson-sbl-test@crynwr.com", o e-mail deve partir de uma conta que esteja em seu servidor, se você receber um e-mail do tipo:

Testing your SBL block. See http://www.crynwr.com/spam/ for more info.
Please note that this test will not tell you if your server is open for
relaying. Instead, it tests to see if your server blocks email from IP
addresses listed in various blocking lists; in this case, the SBL list.

Here's how the conversation looked from sbl.crynwr.com.
Note that some sites don't apply the SBL block to postmaster, so
I use your envelope sender as the To: address.

I connected to XXX.XXX.XXX.XXX and here's the conversation I had:

220-XZY.XXXXXX.com ESMTP Exim 4.24 #1 Thu, 16 Oct 2005 08:23:23 -0700
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
helo sbl.crynwr.com
250 XZY.XXXXXX.com Hello sbl.crynwr.com [XXX.XXX.XXX.XXX]
mail from:<>
250 OK
rcpt to:
550-Message rejected because sbl.crynwr.com [XXX.XXX.XXX.XXX] is blacklisted at
550 sbl.spamhaus.org see http://www.spamhaus.org/SBL/sbl.lasso?query=SBLTEST
Terminating conversation

Está funcionando, caso receba 2 e-mails de nelson-sbl-test@crynwr.com, é por que não está funcionando.

Para verificar, logue no ssh e faça:

Verificar erros do Exim:
tail -50 /var/log/exim_paniclog

Verificar os SPAM:
tail -50 /var/log/exim_rejectlog





Comment Posting has been disabled the site administrator.


Powered by  MyPagerank.Net  


Tempo para gerar esta página: 0.14 segundos