Martin Windfuhr wrote:
> Hello,
>
>
> I use
> - exim 4.63-17
> - clam 0.94
> - courier 0.58-4+etch3
> with vexim and splittet exim4 configuration files.
>
> In exim4.conf I use the following router:
>
> copy:
> driver = redirect
> senders = *@mydomain.de
> data = sent@???
> # headers_add = "gesendet von ${local_part}"
> headers_remove = "subject"
> headers_add = "Subject: [Kopie] $h_subject: gesendet von $header_from an
> ${local_part}@$domain"
> unseen
> no_verify
>
> The router should copy all outgoing emails fromm my domain and send me back
> on sent@???.
> On my older Exim4 system (on a lycos server :-) ) this router works fine,
> but now it doesnt work.
> The E-Mail address sent@??? exists. Mainlog logs no errormessage
> about routererror.
>
> What is going wrong?
>
> Thanks Martin
>
>
Try - in order:
exim -bt <any email address>
If unclear, consider adding to each router these two lines, at the end,
or just above an 'unseen' where such is used:
debug_print = <your name or code for the router, eg: 'copy'>
cannot_route_message = <name or code> No match here.
(w/o a 'custom' error message, Exim gives the same message for ANY point
routing fails, and you won't know which one)
And try 'exim -bt <address>' gain.
Similar logging messages can be applied to transports.
====
CAVEATS:
Take care to keep your use of 'unseen' within intended 'sets' or routers
as well as in the desired sequence.
- A missing 'unseen' ahead of a router that should be part of a 'set'
can trigger the bahaviour you report, even when overall order is correct.
- An extra, or stray 'unseen', OTOH, can cause traversal of routers that
will fail and create a spurious 'bounce' even when other routers HAVE
triggered a successful delivery, ELSE make an unintended extra delivery.
HTH,
Bill