How can I disable mail for a specific siteworx account?

I;m dealing with a client that has an outdated WordPress installation along with some outdated plugins. As a result spammers are using her site to send thousands of spam emails per minute, so I’m trying to find a way to disable all mail activity for that specific account until she upgrades her website.

I know that I can just disable the site but if I do that she wont be able to log in and update her installation.


Hi Onspot
vi /var/qmail/control/badmailfrom
save and restart qmail
Many thanks

Thanks John :slight_smile:
Can I use wildcards? something like *.domaintoblock.url?

Hi onspot

No need to use wildcards, the @domaintoblock.url covers the entire domain whereas someone@ covers specific user of the domain

Many thanks