Changing From in exim
Hello.
|> I have configured Exim. Only one thing does not work the way I want
|> it to. When I send a message, my local username is filled in in
|> the From: line instead of my username at my ISP
|> (robert@kabelfoon.nl instead of kuijf@kabelfoon.nl).
In the file /etc/exim.conf (at the very end of the file), there should
be a section called `Rewrite Configuration'. If you have only one or
two users, you can simply list the relevant rewrite information like
this:
######################################################################
# REWRITE CONFIGURATION #
######################################################################
localname@localnet ispname@internet frs
(where the first address is your `private' one, so to speak, and the
second is the one that you want people outside your local setup to
use)
The flags determine which fields are rewritten. F means that the
envelope From field is rewritten; f rewrites the From header; r
rewrites the Reply-to header; s rewrites the Sender header.
For systems with more users, there are cleverer automated ways (using
pattern-matching) to achieve rewriting. All of this is documented
clearly and thoroughly in section 33 of /usr/doc/exim/spec.txt.)
Jim
Reply to: