> In other words, you are trying to do per-address processing. The best
> way to do this is not to use a filter file, but to use a
> director with
> the "unseen" option set.
Thanks for a hint, I realised that foranyaddress doesn't work, but I'm kind
of stuck here because I already have to test for allowed recipients and my
routers get a bit complicated. Can you please help me do it faster - I'm
loosing some important mails?
My router (no local deliveries) looks like this (and I have another few
simmilar to this one):
pbz_gw:
driver=domainlist
transport=remote_smtp
route_list="pbz.hr inter.pbz.hr byname"
fallback_hosts =199.11.11.2
condition = "${lookup{local_part}\
lsearch{/etc/exim/accepted}{yes}}"
bounce_pbz:
driver=domainlist
route_list="pbz.hr inter.pbz.hr byname"
transport= reject_user
no_verify
unseen
self = fail_hard
There is also a reject_user transport...
I realsie
Not all accepted recipients should have ther mail copied to other addresses,
so accepted file is quite different from duplicated file.
I know I should put a lookup for localpart and lsearch through duplicated
list somwhere here but - where??
Hana