Re: [exim] failed to expand ACL string missing or misplaced …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Graeme Fowler
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] failed to expand ACL string missing or misplaced { or }
On Wed, 2013-02-06 at 16:29 +0100, [Cardiff] Tugdual de LASSAT wrote:
> I've tried using this script in Exim in order to stop abusive mails received
> from ADSL senders : https://github.com/Exim/exim/wiki/Verification


It appears that the transposition of conditions from the old wiki to the
new might have spurious backslashes in a few places (and will therefore
need editing).

In your conditions, ensure you have no literal "\}" or "\{" inclusions -
they should be the braces only, unless the backslash prefixes a line
break.

In your case, like so:

         condition      = ${if match_ip{$sender_host_address}{${lookup
dnsdb{>: defer_lax,a=${lookup dnsdb{>:
defer_lax,mxh=$sender_address_domain}}\}}\}{no}{yes}}


becomes

         condition      = ${if match_ip{$sender_host_address}{${lookup
dnsdb{>: defer_lax,a=${lookup dnsdb{>:defer_lax,mxh=
$sender_address_domain}}}}}{no}{yes}}


all one the one line.

Graeme