[exim] lists & string expansions

Top Page
Delete this message
Reply to this message
Author: Oleg
Date:  
To: exim-users
Subject: [exim] lists & string expansions
Hello.

I use the next acl for MAIL FROM:

  deny  message = You must authenticate youself before using this domain
        condition = ${if inlist{$sender_address_domain}{LOCALDOMAIN}}
        ! authenticated = *


I use macros LOCALDOMAIN because a domains list isn't expanded. E.g.:

  deny  message = You must authenticate youself before using this domain
        condition = ${if inlist{$sender_address_domain}{+local_domains}}
        ! authenticated = *


doesn't work.

Do anybody know how use lists in string expansions?