Postfix blacklist

Criando uma lista negra no postfix para rejeitar domínios ou emails.

No arquivo de configurações main.cf adicione a seguinte linha no smtpd_sender_restrictions =

  check_sender_access hash:/etc/postfix/blacklist,

Crie o arquivo /etc/postfix/blacklist com o seguinte conteúdo no
formato DOMINIO/EMAIL REJECT  MENSAGEM DE BLOQUEIO

dominiospam.com.br REJECT Blacklist
entregueimx.info REJECT Blacklist
mktphone.com.br REJECT Blacklist
bounces.paineldeenvio.com REJECT Blacklist
marketingalves.com.br REJECT Blacklist
hffix.com.br REJECT Blacklist
mktlionbrasil113.info REJECT Blacklist
cartaexpressa.info REJECT Blacklist
vendamais.com.br REJECT Blacklist
vistamail.com.br REJECT Blacklist

Execute

      postmap /etc/postfix/blacklist

Recarregar as configurações do postfix:

      /etc/init.d/postfix reload

 

One thought on “Postfix blacklist

  1. Howdy very nice website!! Guy .. Excellent .. Wonderful
    .. I’ll bookmark your blog and take the feeds additionally? I’m happy to search out so many helpful info right here
    in the submit, we need develop more strategies on
    this regard, thank you for sharing. . . . . .

Deixe uma resposta

Or