Page 1 of 1

Block Spam for certain domains

Posted: 05 Aug 2019 10:57
by shrf1973
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

Re: Block Spam for certain domains

Posted: 06 Aug 2019 09:36
by nicola.piazzi
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

Re: Block Spam for certain domains

Posted: 08 Aug 2019 07:17
by usmaan.amin
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