On 2015-09-21 16:47 -0600, The Doctor wrote:

> Many a customer is complaining their their outbound e-mail is changing
> to 
> 
> from : user@name-of-oubound-server
> 
> instead of
> 
> from / Reply-to : user @assigneddomain .
> 
> I use authentication on the outbound e-mail.
> 
> How can this be rectified?

Look at the return_path generic transport option (Manual chapter 24).

How you actually set it to the right value for each customer is up to
you. 

I have the following, which is probably too simplistic for your case:


######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################

# A transport is used only when referenced from a router that
  successfully
# handles an address.

begin transports


# This transport is used for delivering messages over SMTP connections.

remote_smtp:
  driver = smtp
  return_path = 
${lookup{${sender_address_local_part}}lsearch{/etc/email-addresses}{$value}fail}

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

-- 
## 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/

Reply via email to