[exim] 4.94 router configuration

Góra strony
Delete this message
Reply to this message
Autor: a. roars
Data:  
Dla: exim-users
Temat: [exim] 4.94 router configuration
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.: archive.user@???) 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