Hey All, My mail server copped a spam flood last night to most of domains I host, it brought the mail server down with 10's of thousands of spamcrap in the mailq. After I reboot and emptied the mailq it is working again and the spam flood has stopped. What can I do in the future to mitigate this situation ? Thanks, Mister Richard
If you can find out why your server sent spam, you can fix that and try to prevent same happening again. Usual best practices apply: keep all software updated, use strong passwords, scan for malware (ISPProtect for example), etc.
It is important that you check the headers of the spam mails in the mailqueue to find out how they got send, you can do that with the postcat command, before you remove them.