Exim Email Quotas Not Working

Richpark

Verified User
Joined
Sep 25, 2014
Messages
56
I have a domain that's managed to rack up 25GB of email. Our system imposed a quota, but this apparently no longer works.

The file we modify is:

/etc/virtual/DOMAIN/quota

An example entry in the file would be:

USER:1

When their overall account usage is over a certain limit, we set the value to 1, then reset it to 0 when they're back under. In the past, this worked.

Now, even with 1 set, the email just continues to come in.

In my exim.conf, I see the following, unmodified:

Code:
#COMMENT#57:
virtual_localdelivery:
  driver = appendfile
  create_directory
  delivery_date_add
  directory_mode = 770
  envelope_to_add
  directory = "${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}}lsearch{/etc/passwd}{$value}}}}/imap/${domain_da
ta}/${local_part_data}/Maildir"
  maildir_format
  group = mail
  mode = 660
  return_path_add
  user = "${lookup{$domain_data}lsearch*{/etc/virtual/domainowners}{$value}}"
  quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain_data}/quota}{$value}{0}}}{0}}
  .include_if_exists /etc/exim/virtual_localdelivery.conf.post

At the bottom I see:

Code:
begin retry
.include_if_exists /etc/exim.retry.conf
*                      quota
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h

I reported this to DA but they just told me I don't have an active support contract anymore. I guess the days of John helping everyone are gone.
 
Back
Top