Re: [exim] use system filter to create a copy of each outgoi…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Martin Kaiser
Date:  
À: Exim users
Sujet: Re: [exim] use system filter to create a copy of each outgoingmessage
Dear all,

Thus wrote Martin Kaiser (lists@???):

> Do you have a recommendation how to create a copy and ensure that
> there's the usual retries when the copy can't be delivered?


The recommendation I got was to use a redirect router instead of the
system filter.

That's what I came up with

begin routers

...

copyAll:
driver = redirect
data = redirect@???
condition = ${if eq{$authenticated_id}{martin}}
unseen = yes

...
[routers to handle alias files etc]


When I send a mail to external@??? a copy to
redirect@??? is created. However, when mails to
external@??? can be delivered but mails to redirect@???
can't (temporary problem), the entire mail ends up in the queue.

When redirect@??? becomes available some time later, the entire
mail is re-sent. In other words, external@??? receives the mail
twice.

Is there anything I can do to make sure that each address is delivered
(and retried) individually?

Thanks,

Martin