Re: [exim] ACL to allow differen users differnet message siz…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tim Wilde
Datum:  
To: Mark Ter Morshuizen
CC: exim-users
Betreff: Re: [exim] ACL to allow differen users differnet message sizes
Mark Ter Morshuizen wrote:
> Hi Edward,
>
> On Thursday 26 October 2006 16:16, Edward St Pierre wrote:
>> I think you would need to do a lookup like:
>>
>> condition = ${if > {$message_size}{${lookup{${lc:$local_part}} lsearch
>> {filename}}}{1}}
>
> I don't see how that addresses the default case where the user is not listed
> in the file.


Mark,

You could use "lsearch*" instead of lsearch, and put a "*: 256k" entry
at the end of your lookup file. That would probably be the simplest way
to take care of the default case.

Regards,
Tim