I am using this setup in my postfix main.cf. [obfuscated] is my actual key for spamhaus.

smtpd_recipient_restrictions =
    check_sender_access regexp:/etc/postfix/sender_access
    permit_mynetworks
    permit_auth_destination
    permit_sasl_authenticated
    reject_rbl_client [obfuscated].zen.dq.spamhaus.net=127.0.0.[2..11]
    reject_rhsbl_sender [obfuscated].dbl.dq.spamhaus.net=127.0.1.[2..99]
    reject_rhsbl_helo [obfuscated].dbl.dq.spamhaus.net=127.0.1.[2..99]
reject_rhsbl_reverse_client [obfuscated].dbl.dq.spamhaus.net=127.0.1.[2..99]
    reject_rhsbl_sender [obfuscated].zrd.dq.spamhaus.net=127.0.2.[2..24]
    reject_rhsbl_helo [obfuscated].zrd.dq.spamhaus.net=127.0.2.[2..24]
reject_rhsbl_reverse_client [obfuscated].zrd.dq.spamhaus.net=127.0.2.[2..24]
    reject

I was still getting a TON of junk from onmicrosoft.com. I blocked the domain many months ago... Do you recommend I let that back open? I definitely don't want to miss emails from folks who use outlook.com (although, not gonna lie, it feels nice to raise a middle finger to Microsoft for their terrible email practices).

--
Thomas

On 3/19/24 09:02, Marc wrote:
I am using spamcop and spamhaus to block. There are indeed outlook.com ip 
addresses that bounce.


Does anyone else just block all traffic from *.onmicrosoft.com? I have
literally NEVER gotten anything from that domain which is not obvious junk.

I set up postfix to just flat out refuse anything from that domain.[1]
If I get any complaints, I may ease it up, but I was getting TONS of
spam messages from that domain and I figured it was easiest to just
block it.

Reply via email to