Re: [exim] PCRE virtual addresses

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] PCRE virtual addresses
On 2015-02-25, Jim Trigg <jtrigg@???> wrote:
> I'm switching from Postfix to Exim. The one facility that I use in
> Postfix that I haven't figured out how to implement in Exim is PCRE
> aliases. I include an example below. Any suggestions how to write a
> router for this in Exim? Also, is there a different syntax I should
> be using in the file?


[...]

> Munged example to elide actual domain names from my existing virtual.pcre:
> /^(abuse|policyd|root)@(anydomain).tld$/    blaise+${2}-${1}@localhost
> /^(host|list|post|web)master@(anydomain).tld$/    blaise+${2}-${1}@localhost
> /^jtrigg([-+].+)@(anydomain).tld$/        blaise+${2}${1}@localhost
> /^jtrigg@(anydomain).tld$/            blaise+${1}@localhost


www.exim.org/exim-html-current/doc/.../ch-address_rewriting.html

--
umop apisdn