I have an Exim router looking up a simple redirect from one domain to another:
db_routed:
driver = redirect
allow_defer
allow_fail
domains = +db_dns
data = ${lookup pgsql {REDIR_SQL}{$value}fail}
user = mailnull
group = mail
pipe_transport = address_pipe
file_transport = address_file
The query works, and returns:
[email protected]
However the "$local_part" is never expanded and is used literally... from the
log:
2012-11-20 15:45:57 1Taq1N-0000LE-1P ** [email protected]
<[email protected]>: No such mailbox
Does string expansion not happen on data returned by the database? ideas on
what to check?
TIA
--
Robert Blayzor
INOC, LLC
[email protected]
http://www.inoc.net/~rblayzor/
--
## List details at https://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/