[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Setting Reply-To: using exim?



> 
> My alternative is to configure a "Reply-To:" field so that people
> reply to the correct address, even when the email comes "From:"
> somewhere different.  But what is the best way of doing this?  It
> would be nice to do this at the exim layer, independent of MUA, but I
> can't find any information on how to do it.  Is it possible?  If not,
> what is the best way of doing it?
> 

enable /etc/email-address use.  I use this so that mail from
shaleh@mymachine.whereiam.foo becomes shaleh@whatIwant.com.

$ cat /etc/email-addresses
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: someone@isp.com
#otheruser: someoneelse@anotherisp.com
shaleh: shaleh@valinux.com

$ tail -15 /etc/exim/exim.conf
######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# There are no rewriting specifications in this default configuration file.


# This is an example of a useful rewriting rule---it looks up the real
# address of all local users in a file

*@mymachine.subnet.valinux.com    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} bcfrF



Reply to: