Block Spam for certain domains

Questions and answers about how to do stuff
Post Reply
shrf1973
Posts: 1
Joined: 05 Aug 2019 10:49

Block Spam for certain domains

Post by shrf1973 » 05 Aug 2019 10:57

Dears
I have several domains on my EFA ( example1.com , example2.com ,, .. )
All Spam detected emails have the "{Spam}" in the subject and it working fine.
I want the EFA to drop Spam emails for certain domain ( example2.com ) and deliver the rest of emails as it is doing now

Thanks for help

Sherif

nicola.piazzi
Posts: 284
Joined: 23 Apr 2015 09:45

Re: Block Spam for certain domains

Post by nicola.piazzi » 06 Aug 2019 09:36

vi /etc/postfix/sender_access
qq.com REJECT Your domain is not allowed
icu REJECT Your tld is not allowed

postmap /etc/postfix/sender_access
service postfix restart

usmaan.amin
Posts: 1
Joined: 08 Aug 2019 06:57

Re: Block Spam for certain domains

Post by usmaan.amin » 08 Aug 2019 07:17

this is not reply to the question infact.sorry for that

but i have an issue of spamming/phishing. we are getting hundred of emails on our email ID noreply@abc.com
i already have reported this to the concerned registrar.

pls guide how can i delete/block immediately all incoming emails to my email ID noreply@abc.com as soon as it arrives on EFA

pls guide

Post Reply