ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Need EXIM expert to write a Router OR a Transport or both

    IT Discussion
    1
    1
    231
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JasGot
      last edited by

      I need to change the from address and the two address of specific email being handled by my EXIM service.

      My requirements are:

      • Determine if the message is from one of three allowed domains
      • If yes, then determine if the message is being sent to our fax software.
      • if yes, then
        change the from address to the address our fax software will respond to
        change the to address to the format our fax software knows how to handle
        add some headers for our own tracking.

      I've been trying with Router, but I think I may need to do it at transport or I may need both.

      This is what I have tried:

      my_router:
      driver = redirect
      domains = companya.org
      data = ${local_part}@companyb.com
      headers_remove = From
      headers_remove = to
      headers_add = "From: [email protected]"
      headers_add = "To: ${local_part}@companyb"

      It's not working how I want, it is showing up at [email protected] with a from address of the original sender and a to address of the original to:

      Help?!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post