著者: Nico Erfurth 日付: To: Chris Thompson CC: exim-users 題目: Re: [exim] A weaker variant of check_spool_space
Chris Thompson wrote:
> The answer _ought_ to be to use check_spool_space (etc.), but there is
> a big flaw in that. We want to stop receiving messages via SMTP, but
> we certainly do _not_ want to stop local users from submitting mail.
> The consequences of that would be almost as bad as /var being full:
> e.g. lost output from jobs.
>
> 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.