Want Exim to reject mail if mailbox quota has been met or exceeded not bounce

scrupul0us

Verified User
Joined
Jan 8, 2011
Messages
135
Location
New York
I would like to edit my exim.conf such that mail is rejected if a users box is full instead of keeping the bounce in the queue for days on end.

I've seen suggestions to override the quota for the user or even delete the user all together but I'd rather keep the seal of integrity and just not allow mail if the box is full.

Didn't see anything in the KB section.

Any help would be graciously appreciated.

Thank you
 
Update begin retry section in /etc/exim.conf to feet your needs:

Here's my example:

Code:
...
.... skipped ....
...

begin retry

# That is, provide no retry timings for over quota errors.
# They will then bounce immediately. Alternatively, you can
# set up retries for a short time only, which bounces immediately
# if the user's mailbox hasn't been read for 7 days, but otherwise
# tries for up to 3 days after the first quota failure.
##-- SPECIAL rules
##-- by Alex $ 2010-02-07
*@domain.ru              quota           F,1h,15m;
info@*                      quota           F,2h,15m;
*                             quota           F,3h,15m;
##-- by Alex $ 2010-02-07
...
.... skipped ....
...
 
zEitEr:

Thanks! I ended up using:

Code:
*                      quota
*                      *           F,1h,15m; G,2h,1h,1.5; F,1d,3h

It has trimmed our queues down considerably =)
 
Back
Top