Hello,

I hope I can get some help with the router configuration. This
configuration worked for previous versions of exim but not with the current
one.

I have been working on it for the past two weeks since updating the mail
server and have no success in finding more information of examples with
sender_address, sender_address_domains that I could work with.

The purpose of the router would be to send a copy of the email if a
forwarder with the suffix archive. (e.g.: [email protected]) is
present in the domain's aliases file (e.g.: etc/valiases/domain.tld).

archive_out:
  driver = redirect
  senders = ! :
  data = ${if
exists{/etc/valiases/$sender_address_domain}{${lookup{archive.$sender_address}lsearch{/etc/valiases/${sender_address_domain}}}}}
  unseen
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to