Ok, my setup is similar to yours, so maybe my rewrite rules will help. My
local hostname is shaitan and the email address I want displayed in the From:
field is [EMAIL PROTECTED]
Here is my rewrite rule from /etc/exim.conf:
[EMAIL PROTECTED] ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF
Just replace shaitan with your local host name, which should also be specified
in the qualify_domain variable in /etc/exim.conf.
My local username is 'rvf' (unrelated to my email address), so I have this my
/etc/email-addresses:
rvf: [EMAIL PROTECTED]
The format is 'local user name: email address'.
HTH
-Rob
On Thu, Dec 21, 2000 at 09:52:46PM -0600, Gregory Guthrie wrote:
> I have my system setup as a satellite, which forwards all email to a
> sh\marthost, who delivers it.
>
> But when it arrives, I'd like the addresses to show where they came from,
>
> e.g. From: [EMAIL PROTECTED]
> instead of
> From; user
>
> It looks to me like this rule in /etc/exim.conf is the key place to fix:
>
> ######################################################################
> # REWRITE CONFIGURATION #
> ######################################################################
>
> # These rewriters make sure the mail messages appear to have originated
> # from the real mail-reading host.
>
> ^(?i)(root|postmaster|mailer-daemon)@theta.cs.mum.edu [EMAIL PROTECTED]
> Ffr
> [EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
> ^(?i)(root|postmaster|mailer-daemon)@localhost [EMAIL PROTECTED] Ffr
> [EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
> [EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
>
>
> Hints?
>
> Thanks,
> Gregory
> --------------------------------------------------------
> Gregory Guthrie
> [EMAIL PROTECTED] (641)472-1125 Fax: -1103
> --------------------------------------------------------
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]