Here are more details about this little unseen + prefix director bug.
They key seems to be that when DELIVERING it generates the following
after the first director match, and doesn't allow the address past:
remote%troy@??? is a duplicate address: discarded
Details:
Simplistic directors setup:
director_one:
unseen,
prefix=remote%,
driver=smartuser;
new_address=${local_part}@???
director_two:
prefix=remote%,
driver=smartuser;
new_address=${local_part}@???
end
Appropriate results from "-d9 -bt remote%troy"
(note: the "really did catch unseen" message was a debug one added by
me)
directing remote%troy@???
stripped prefix remote%
calling director_one director
director_one director called for remote%troy@???
generated new address: troy@???
really did catch unseen, replicated remote%troy@???
director_one director succeeded for troy
transport: <none>
"unseen" set: replicated remote%troy@???
address remote%troy@???
local_part=remote%troy domain=mydomain.com local=1
>>>>>>>>>>>>>>>>>>>>>>>>
directing remote%troy@???
stripped prefix remote%
director_one director skipped: previously directed
remote%troy@???
stripped prefix remote%
calling director_two director
director_two director called for remote%troy@???
generated new address: troy@???
director_two director succeeded for troy
transport: <none>
address troy@???
local_part=troy domain=solve.com local=0
Okay, that looked good, now here's the result from delivering with "-d9
remote%troy":
directing remote%troy@???
stripped prefix remote%
calling director_one director
director_one director called for remote%troy@???
generated new address: troy@???
really did catch unseen, replicated remote%troy@???
director_one director succeeded for troy
transport: <none>
"unseen" set: replicated remote%troy@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = remote%troy@???
remote%troy@??? is a duplicate address: discarded
unique = troy@???
dbfn_read: key=R:staff.circle.net
troy@???: queued for routing
After directing:
Local addresses:
Remote addresses:
Failed addresses:
Addresses to be routed:
troy@???
Deferred addresses:
>>>>>>>>>>>>>>>>>>>>>>>>
routing troy@???, domain staff.circle.net
--
*** Exim information can be found at
http://www.exim.org/ ***