On 2/14/24 4:18 AM, Nikolai Lusan via Postfix-users wrote:
On Wed, 2024-02-07 at 10:51 -0500, Phil Stracchino via Postfix-users
wrote:
> On 2/7/24 10:41, John Hill via Postfix-users wrote:
>> Good info.
>>
>> This site sends nothing but junk. IN fact the domain is known for
>> it.
>> I tried just rejecting the email address. But they just change it.
>> So I blocked the IP, they have several.

> Have you considered blocking the *domain* with a 50x error (permanent
> fail)?

Amen.  My blocklist contains a mix of domains and individual addresses
(predominately gmail/outlook/hotmail/yahoo). Blocking the whole domain
can be more effective than blocking the individual addresses (which can
theoretically be a long list). Unless you have certain email addresses
from that domain you _need_ to receive mail from either whitelist just
the addresses you know are legit and block the domain (assuming there is
more than one address sending spam/virus/garbage). Or you could go down
the path most MS hosted domains do, and send everything to SPAM folders
unless the address/domain is in someones contact list (probably means
writing a filter that can communicate with a CardDAV server).


I used an access list to redirect all email from them to a spam folder.

Turns out I was asked to block the emails users had subscribed to.

I broke my rule of never unsubscribing email and did each one.

To my surprise they went away.

The redirect access list is a great tool I will use often.

--john


_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to