SpamAssassin – Filtro por Usuário

Dá peso 5 à mensagens enviadas por “contato@nickollas.com.br” para “nickollas@nickollas.com.br” e “carvalho@nickollas.com.br”

1 – Adicione a seguinte entrada no arquivo de regras do spamassassin

vi /etc/spamassassin/my_rules.cf

header CAPO_FILTER From =~ /contato\@nickollas\.com\.br|To =~ nickollas\@nickollas\.com\.br|carvalho\@wnetrj\.com\.br/
describe CAPO_FILTER Bloqueia e-mail de remetente -> destinatarios
score CAPO_FILTER 5

2 – Reinicie o spamassassin

/etc/init.d/spamassassin restart
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s