1. Callouts seem to lowercase the address they're verifying. We
shouldn't do this because it doesn't work if the remote has caseful
local parts (which I did in my SRS routers, but which I don't now.
Still, it should probably be fixed).
2. When verifying a sender address, for example in a MAIL ACL, we go
through all the routers with both $sender_address _and_ the destination
address set to the same thing. Shouldn't $sender_address be empty in
this case, for the same reason that we have it empty in the callouts?
The current behaviour means that if you have a router which is going to
reject bounces, or which is only going to _accept_ bounces, it behaves
wrongly.
Is there a better way to work around this than...
rpr_mark_sender_verify:
verify_only
verify_recipient = false
driver = redirect
data = ${quote_local_part:$local_part}@$domain
address_data = verifying sender
redirect_router = rpr_bounce
... followed by ...
{${if and {{!eq {$sender_address}{}} {!eq{$address_data}{verifying sender}}} \
{:fail: Invalid SRS bounce \
--
dwmw2