ban ip addresses from the entire server with the hosts.deny file and for just email, add the ip address to the black list in <SERVER><MAIL><Black List>
Does anyone know about wild card domains. Example I get lots of spam from XXX.XXX.XXX.XXX.blabla.fr or XXX.XXX.XXX.XXX.blabla.de.
I want to block the whole domain blabla.de. I'm pretty sure I cant do a wild card via plesk but I'm sure there's some qmail place I can. Anyone konw where off hand.?
Qmail uses a control file to filter domain names. The file is normally located at /var/qmail/control/badmailfrom, and will reject any email addresses or domain placed in this file.
You can block single email address or whole domain such as: [email protected]
@example.net
This will let me put one entry in to block subdomains sub1.blabla.de, sub2.blabla.de... and so on by just adding some similar to *blabla.com (I'll figure syntax later).