Add to Favourites Add to Favourites    Print this Article Print this Article

Force immediate bounce of email if account is over quota

If you wish to immediately bounce emails that are sent to client who are over quota, you can edit your /etc/exim.conf file, and find this code at the bottom of the file:

begin retry
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h

and insert a new line, to make it look like:

begin retry
*                      quota
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h

This will force all emails to an over-quota account to be immediately bounced.
Note that the message is already accepted, as exim does not have a good smtp-time method of checking quotas.

Related: directadmin.com/forum/showthread.php?t=38915

Was this answer helpful?

Also Read