[exim] Destination address in a transport

Top Page
Delete this message
Reply to this message
Author: Thomas Andrews
Date:  
To: exim-users
Subject: [exim] Destination address in a transport
Hi,

I need to find out how to put the destination email address into the my
transport. How do I do that?
Is that available in a ready-made variable?

my_router:
  driver = accept
  domains = ! +local_domains
  transport = my_transport
  no_more

my_transport:
  driver = pipe
  user = nobody
  command = /usr/bin/my_proggie - <destination-email-address>     <----
This is where I need to insert the recipient's email address
  return_fail_output

Thanks,
Thomas



--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/