Re: [exim] PCRE virtual addresses

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Viktor Dukhovni
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] PCRE virtual addresses
On Wed, Feb 25, 2015 at 12:57:20AM -0500, Jim Trigg 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?


Here's my best advice. Change your approach. Do something that's
*natural* in Exim. If there is no natural translation of your
Postfix methodology in Exim, rethink the problem from scractch in
terms of the tools at hand.

Do not try to coerce Exim to run complex potentially security
sensitive code fragments to emulate Postfix pcre lookup tables.

Maybe you can just machine generate a static list of addresses that
does the job.

If this feature is truly a show-stopper, you can retain a Postfix
server in front of Exim to do the rewrites, then let Exim do all
of the built-in content inspection it offers.

The only down-side is that spam *rejection* in Exim downstream of
Postfix would generate backscatter, so you'd need to quarantine
rather than reject any junk that Postfix fails to filter.

Good luck with whatever set of of MTAs you end up using. Don't
get adventurous with subtle Perl code handling untrusted content.

-- 
    Viktor.