Re: [exim] Problem with checking condition in acl section

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] Problem with checking condition in acl section
exim@??? wrote:
> is it possible to use in the DATA ACL the ip address over the email arrive the
> exim? so that i can do
>
> deny    message       = This message contains an attachment of a type which we
> do not accept (.$found_extension)
>             demime        = bat
>                 $incommingip  = 192.168.0.1

>
> if it is possible, how is the variablename?
>
> thx
>
> kai
>
>


$interface_address

See:
http://exim.org/exim-html-4.62/doc/html/spec_html/ch11.html#SECTexpvar

You'll need to use it in a "condition = ${if eq
and since it's a cheaper operation than mime-decoding,
you should place that before the demime line.

- Jeremy