Hi,
Backstory: A user's login details were compromised the other day and their account was used to send 44,000 spam emails. It took about an hour and got me grey/blacklisted on dozens of servers.
I've since implemented RBL and set a maximum emails per domain per hour. I'd like to set a cron job to give me hourly exim queue reports (this won't be a problem). The problem is:
If exim can throw out thousands upon thousands of emails per hour, how can I catch it in time?
I'd like to force exim to either only relay x messages per hour to external smtp servers, or have a fixed sleep for every email. Any way of throttling it will do. I'd like the aforementioned 44,000 emails to have taken a day or two to process.
Any suggestions?
Backstory: A user's login details were compromised the other day and their account was used to send 44,000 spam emails. It took about an hour and got me grey/blacklisted on dozens of servers.
I've since implemented RBL and set a maximum emails per domain per hour. I'd like to set a cron job to give me hourly exim queue reports (this won't be a problem). The problem is:
If exim can throw out thousands upon thousands of emails per hour, how can I catch it in time?
I'd like to force exim to either only relay x messages per hour to external smtp servers, or have a fixed sleep for every email. Any way of throttling it will do. I'd like the aforementioned 44,000 emails to have taken a day or two to process.
Any suggestions?