On tisdagen den 18 december 2007, Marcin Krol wrote:
> Hello everyone,
>
> ..so I have those two unseen routers (below) for sending to some address a
> copy of outgoing and incoming mail, respectively.
>
> It works, but when the forward address (say, "[EMAIL PROTECTED]") is located
> within the same domain that is forwarded (say, "da7.promo.pl"), it
> obviously starts a loop.
>
> Now Exim detects that:
>
> [EMAIL PROTECTED] is a duplicate address: discarded
>
> But in debug log I see there are several loops done that might be avoided
> and I don't like implicit depending on Exim for detection of potential
> infinite loop.

I'd say that it's perfectly safe and even natural to do that.

> Is there a way to explicitly detect that unseen router for an address has
> already sent a copy of this mail before and skip this router explicitly in
> "condition"?

It's possible that you can use the redirect_router option (chapter 15) to 
short-circuit the routing.

By the way, you can omit {$value} in your lookups. It's the default.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to