[Exim] Quota block after RCPT TO

Top Page
Delete this message
Reply to this message
Author: I. Forbes
Date:  
To: exim-users
Old-Topics: Re: [Exim] Follow-up: Urgent: Exim failing on production server
Subject: [Exim] Quota block after RCPT TO
Hello All

I have been looking into setting up quota's on our exim server.

My concern regards saving incoming bandwidth which for us is very
expensive, rather than disk space, which is very cheap these days.
(We had one occasion where a single very broken server sent
1500 copies of the same 800k message. As I see it, the "normal"
quota mechanism would accept all of these, hold them for a while
and then send out truncated bounce messages.)

I would like to block incoming mail with a 500 error message after
the RCPT TO command and a "no room in user's mailbox"
message, after the quota limit of say 10 mB + one message has
been reached.

Looking through the documentation this appears to be in the FAQ
as Q0821 and the answer is to use a Perl script.

Has anybody tried this before, if so can you make your
configuration details available?

What are the overheads of running a perl interpreter? I estimate
that we will need to handle 5000 to 10000 messages per day, on a
Pentium 3 server.

We are also looking at moving to Maildir's with Courier IMAP,
POP3 and maybe Sqwebmail. There will be no direct local access
to the mailboxes. The new "quota_size_regex" feature looks tailor
made for this.

Thanks

Ian

---------------------------------------------------------------------
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388 Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
---------------------------------------------------------------------