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

Re: exim outgoing addresses...



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 rvf@linux.wku.edu.

Here is my rewrite rule from /etc/exim.conf:
*@shaitan    ${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: rvf@linux.wku.edu

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:  user@mylinux.whatever
>   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 ${1}@in.limbo Ffr
> 	*@theta.cs.mum.edu ${1}@mail.mum.edu Ffr
> 	^(?i)(root|postmaster|mailer-daemon)@localhost ${1}@in.limbo Ffr
> 	*@localhost ${1}@mail.mum.edu Ffr
> 	*@in.limbo guthrie@mail.mum.edu Ffr
> 
> 
> Hints?
> 
> Thanks,
> Gregory
> --------------------------------------------------------
> Gregory Guthrie
> guthrie@mum.edu         (641)472-1125    Fax: -1103
> --------------------------------------------------------
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: