Re: [exim] conditional transport filters?

Top Page
Delete this message
Reply to this message
Author: Chris Siebenmann
Date:  
To: Jeremy Harris
CC: exim-users, cks
Subject: Re: [exim] conditional transport filters?
> On 06/05/16 15:42, Chris Siebenmann wrote:
> >> - Lose router "unseen"
> >
> > We have several routers that use 'unseen = true'. If this is now
> > considered a bad idea, what's the best mechanism to make copies of a
> > message on the way through and send them to specific destinations?
>
> A redirect router, with data of $local_part@$domain, <extra_copy_dest>
>
> (as to "why considered a bad idea" - functionality duplicated by
> the above, header-manipulation semantics oddities, delivery error
> semantics oddities)


The problem with a redirect router is that this becomes more
complicated. Because of permissions issues, we don't just need a
redirect router; we need a redirect router plus special additional
routers that will recognize the special extra copy destinations and
manage the permissions. Eg, we'd have to rewrite to say

    $local_part@$domain, $local_part+MAGIC-VACATION@$domain


and then have an additional router that grabbed addresses with
the +MAGIC-VACATION suffix, used check_local_user to set up the
right user permissions, etc etc.

    - cks