Re: [EXIM] Use of header rewriting

Top Page
Delete this message
Reply to this message
Author: Aria Prima Novianto
Date:  
To: Michael Beattie
CC: exim-users
Subject: Re: [EXIM] Use of header rewriting
On Thu, Jul 16, 1998 at 10:32:56PM +1200, Michael Beattie wrote:
>
> I have successfully installed exim as my MTA on my Debian linux box (smail
> sucked.. :) ). But as I am a "dial-up" user, my hostname and email
> addresses dont quite match ( at all :) ), so I am using exim's header
> rewriting - so far so good. My only gripe is that exim will rewrite all
> message's headers, even if they are local messages. Is there a way to make
> exim only rewrite remote mail?
>


In debian I used eximconfig to run using smarthost. My real address and
smarthost is purdue.edu, my hostname is nonexistent.purdue.edu.
I only need to change these in main configuration:
qualify_domain = purdue.edu
qualify_recipient = nonexistent.purdue.edu
local_domains = nonexistent.purdue.edu

Then, every recipient address in the mail I send, that doesn't have
anything after @ (local?), will be qualified as nonexistent.purdue.edu,
and will be considered local.
and my From address will be qualified as purdue.edu.
HTH,
--
*) Aria


--
*** Exim information can be found at http://www.exim.org/ ***