Mail Queue Stacked Up With Spam Going to Spam Bots

Due to some client created subscription services trying to e-mail confirmations to spambots my mail queue is routinely full of crap.

I’m curious if there is a way to block or deny e-mails going to certain domains from my server.

Any ideas?

Im not 100% on this b/c i have never used it, but I think /var/qmail/control/badmailto should be able to block outgoing by email/domain similar to how /var/qmail/control/badmailfrom.

Just list one domain or email per line. You might have to restart SMTP after making this change.

Also on another note you can edit the badmailfrom file via NodeWorx on the “Mail Server Management :: MTA” settings page “MTA Level E-mail Address Blacklist: [?]
(One per Line)”.

Maybe adding the badmailto to this page would make sense?

That seems to be working quite well Justec; thanks for the info.

Yes, I also request that this be editable through NodeWorx.

Noted, and added. :slight_smile: