I notice that a lot of spam which makes it to my personal mailbox (getting past Easy Spam Fighter and SpamAssassin) is from the same network—that is, from a range of IP addresses where only the last octet changes. If only we could easily block a range of IP addresses from sending us mail. It turns out we can…
While DA doesn't have a specific option to allow a user to block mail from a given IP address, it does have an option for blocking messages that contain certain text strings, or 'stop words'. Log in as the user and go to E-mail Manager > SPAM Filters. Under E-mail Filters, choose 'Block By Stop word' from the drop-down, enter the IP address in the text field, and click Block. Or if, like me, you're getting spam from a whole range of IP addresses, just enter the common octets. For example, I have these entries:
Stop word 91.151.90.
Stop word 170.130.165.
The filter evidently searches the message headers as well as the body, which works to block all mail from the dodgy networks. There's a chance, I suppose, that a legitimate subnet gets blocked too, but I'd guess the risk is very small. It has certainly been a breath of fresh air through my mailbox! Just thought I'd share in case it helps anyone else.
Update: Doesn't work. See comment below.
While DA doesn't have a specific option to allow a user to block mail from a given IP address, it does have an option for blocking messages that contain certain text strings, or 'stop words'. Log in as the user and go to E-mail Manager > SPAM Filters. Under E-mail Filters, choose 'Block By Stop word' from the drop-down, enter the IP address in the text field, and click Block. Or if, like me, you're getting spam from a whole range of IP addresses, just enter the common octets. For example, I have these entries:
Stop word 91.151.90.
Stop word 170.130.165.
The filter evidently searches the message headers as well as the body, which works to block all mail from the dodgy networks. There's a chance, I suppose, that a legitimate subnet gets blocked too, but I'd guess the risk is very small. It has certainly been a breath of fresh air through my mailbox! Just thought I'd share in case it helps anyone else.
Update: Doesn't work. See comment below.
Last edited: