LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   POSTFIX and blocking domain name (e.g fundscave.com or "encirc" from encirc.iloantoday.com) (https://www.linuxquestions.org/questions/linux-software-2/postfix-and-blocking-domain-name-e-g-fundscave-com-or-encirc-from-encirc-iloantoday-com-4175700570/)

igandrew 09-13-2021 08:52 AM

POSTFIX and blocking domain name (e.g fundscave.com or "encirc" from encirc.iloantoday.com)
 
Hi everyone,

I'm getting spammed again and just wondering how to block spam from a domain name. I thought I could do it through main.cf via rejected_domains but that's for TLD. Any ideas on blocking domain names?

e.g. fundscave.com
& this culprit...

encirc" from encirc.iloantoday.com

cheers,
Andrew

TB0ne 09-14-2021 07:50 AM

Quote:

Originally Posted by igandrew (Post 6283803)
Hi everyone,
I'm getting spammed again and just wondering how to block spam from a domain name. I thought I could do it through main.cf via rejected_domains but that's for TLD. Any ideas on blocking domain names? e.g. fundscave.com & this culprit... encirc" from encirc.iloantoday.com

Numerous ways to accomplish this; a search for "how to block domains in postfix" yields a lot. Some good suggestions:
https://www.interserver.net/tips/kb/...x-smtp-server/

..along with using the sender_access file, but the blacklists are probably the best way to go, if you want to block spammers wholesale. If it's only two domains, then sender_access might be better.


All times are GMT -5. The time now is 03:22 AM.