Re: [exim] SMTP-Auth, specific users addicted to specific em…

Pàgina inicial
Delete this message
Reply to this message
Autor: Raphael Reich
Data:  
A: exim-users
Assumpte: Re: [exim] SMTP-Auth, specific users addicted to specific email adresses
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?