Hello,
i want to choice interface (in transport) depending on $sender_addres,
$sender_host_address.. from cdb-databases. In ACL set interface to acl_c0
and in TRANSPORT try to use it:
me_smtp:
driver = smtp
interface = $acl_c0
It does not work.
as for test in ACL do
exim-acl_data:
accept set acl_m5=$domain
set acl_c0=$local_part
delay = 5s
and in ROUTER add headers
route_to_me:
driver = dnslookup
headers_add = X-voodoo: ${acl_c0},
transport = me_smtp
But in received letter i get only
X-voodoo: ,
$acl_c0 is empty. from documentation :
"$acl_c0 - $acl_c9: Values can be placed in these variables by the "set"
modifier in an ACL....... When a message is received, the values of
these variables are saved with the message, and can be accessed by
filters,routers, and transports during subsequent delivery. "
why acl_cX does not work? or may be you can tell me some other way for
choice interface from cdb?
Thank You
----
voodoo people, magic people