Re: [exim] A weaker variant of check_spool_space

Góra strony
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Dla: exim-users
CC: Chris Thompson
Temat: Re: [exim] A weaker variant of check_spool_space
Philip Hazel wrote:

>>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}}


Sorry, I meant "expanded option" like:

check_spool_space = ${lookup {$sender_host_address}\
                        iplsearch {/file} {$value} {100M}}


But maybe its better to move more things inside the acls.

Nico