Re: [exim] A weaker variant of check_spool_space

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Nico Erfurth
CC: exim-users, Chris Thompson
Subject: Re: [exim] A weaker variant of check_spool_space
On Mon, 15 Nov 2004, Nico Erfurth wrote:

> > It would seem that what is needed is to be able to test filing system
> > space/inodes free in a suitable ACL. In theory, of course, we can do
> > that already via a ${run{...}}, but that's awfully heavyweight for
> > something to be done for every SMTP call.
>
> IMHO, the best way would be to make check_spool_space a expanded variable.
> That would allow your to add the appropiate checks.


I had thought of implementing (e.g.)

verify = spool_space=100M

where "=" means "is at least", but maybe a variable is better, because
it is more flexible, though it is more clumsy to say

condition = ${if ge{$spool_space}{100M}{yes}{no}}

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book