On Thu, Apr 11, 2002 at 09:49:42AM -0700, Jason C. Leach wrote:
| hi,
|
| Is it possible to have Exim re-write a users name on outgoing
| posts mail?
If you're talking about the envelope sender, this snippet generated by
'eximconfig' on debian does the job (for exim3) :
~~~~~~~
######################################################################
# REWRITE CONFIGURATION #
######################################################################
# This rewriting rule is particularly useful for dialup users who
# don't have their own domain, but could be useful for anyone.
# It looks up the real address of all local users in /etc/email-addresses
*@dman.ddts.net ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} frFs
~~~~~~~
Replace "dman.ddts.net" with your local hostname, and create
/etc/email-addresses like
~~~~
local_username: public_address@public_domain.com
local_username2: public_address2@public_domain.com
~~~~
It won't change the From: header that the recipient sees, though.
-D
--
"He is no fool who gives up what he cannot keep to gain what he cannot lose."
--Jim Elliot