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

Top Pagina
Delete this message
Reply to this message
Auteur: Graeme Fowler
Datum:  
Aan: exim-users
Onderwerp: 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