If I try Tony's redirect router solution:

my_bounce:
  driver                = redirect
  domains               = mydomain.tld
  senders               = :
  data                  = ${if and{{ def:$authenticated_id } \
                                   { !eq{$local_part}{$authenticated_id} }}
\
                               {:fail: Forged bounce address} }
  allow_fail
  retry_use_local_part

I get errors like:

"variable name omitted after "def:" inside "and{...}" condition"
in the mainlog.

How can I fix it?


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to