Mail quota is full and new incoming mails are queued
One of my clients receive lots of mails for invalid users. He insists to keep catchall working and pointing to an mail account (invalid@hesdomain) that is limited to 20MBs. So this is what happening:
hundred of trashmail comes to invalid@hesdomain and his quota becomes full in no time. Once the quota is full the new trashmail is queued, making exim queue reach about 25,000 emails waiting for delivery.
Theres someway to just do not accept new mail ou drop it to /dev/null when mail quota is full?
He is a VIP Client and just dont wants to make any changes on his domain/account configs.
Reject mail for users over quota at SMTP time. (CPU Expensive)
We have used this option and did not notice a load increase. I was concerned about doing it, but it seems to work well.
Then, the next thing is to delete frozen messages or ones with no return address. These are spam messages and can be deleted. Google "crontab exim frozen" for some suggestions on how to set this up.