[exim] Address rewrite (partial match of hostname)

Top Page
Delete this message
Reply to this message
Author: 3YSTech Services
Date:  
To: Exim-users
Subject: [exim] Address rewrite (partial match of hostname)
Hi,

I have several source servers that use EXIM as relay ..

I am trying to create 5 rewrite rules one for each group of servers
TEST|DEV|NP|POC|PRD.

What I have below is *NOT* working using wildcard for partial match of
hostname. All gets rewritten to *noreplay@domain*.com

*@np*.domain.com        noreply-np@???    Ffrs
*@test*.domain.com      noreply-test@???  Ffrs
*@dev*.domain.com      noreply-dev@???    Ffrs
*@poc*.domain.com      noreply-poc@???   Ffrs
*@prod*.domain.com      noreply-prod@???   Ffrs
root@*.domain.com         noreplay@???        Ffrs


Also how to increase logging level for address rewrite activities ..


Thanks