EXIM limit - drop not queue

Altegras

Verified User
Joined
Feb 22, 2013
Messages
11
Hello,

I guess every webhoster is using http://help.directadmin.com/item.php?id=81 - the problem we're facing at this point are the frozen messages:

# exim -bpc
5123199

I do have some clients who simply just don't want to secure their wordpress installations and they're hacked and used for spam over and over again, I've just disabled those clients adding a limit to 1 mail / day for their user, simple and efficient but I/O consuming for frozen messages.

Question: How can I set exim to automatically DROP (not store and freeze) mails over limit ?

Code:
lookuphost:
  driver = dnslookup
  domains = ! +local_domains
  ignore_target_hosts = 127.0.0.0/8
  condition = "${perl{check_limits}}"
  transport = remote_smtp
  no_more


I want to directly drop the email, dropping it will cause less I/O and less time consuming clearing the exim queue.
---

I know the other option is to suspend the client account or set sendmail_path to /dev/null in php, but I'm looking for a cleaner way to do it.


Thank you!
 
I think it's fixed in exim.conf 4.3.0+. Try upgrading it and see if that helps.
 
It doesn't mean you're using exim.conf 4.3. Installing server from the scratch also doesn't mean you're running all the latest versions of other software (MariaDB 10.1, PHP7 etc.). You need to set the versions in the options.conf file of CustomBuild, and for exim.conf you need to set eximconf option to "yes". Please check http://help.directadmin.com/item.php?id=576 for more information.
 
Back
Top