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?