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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Raphael Reich
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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?