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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Mark Ter Morshuizen
Data:  
Para: exim-users
Asunto: Re: [exim] ACL to allow differen users differnet message sizes
Hi Edward,

Thanks for the reply.

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.

> Please be aware of the doc that specifies the following:
>
> hile running an ACL at the time of an SMTP RCPT command,
> *$message_size*contains the size supplied on the MAIL command, or -1
> if no size was given.
> The value may not, of course, be truthful.


Ja, I'm assuming that any competent mailer would specify this correctly. If
spammers don't then so much the better.

>
> So you might want to assign the local_part or users as a variable for use
> in the data acl stages.
>
>
> Ed


--
Mark Ter Morshuizen
mark@???
www.itbox.co.za
082 542 6484
2U Rackmount Casings: http://www.rackmount.co.za