The sendmail docs describe the feature "always_add_domain":

"Include the local host domain even on locally delivered mail.
Normally it is not added on unqualified names.  However, if you use a
shared message store but do not use the same user name space
everywhere, you may need the host name on local names."

So, the default (off) sounds like what you folks want.

On Sep 12, kmself@ix.netcom.com (kmself@ix.netcom.com) wrote:
 > On Tue, Sep 12, 2000 at 06:59:05PM +0200, Christian Pernegger ([EMAIL 
 > PROTECTED]) wrote:
 > > How can I prevent exim from rewriting addresses that do not go
 > > out over a smarthost?
 > > 
 > > Specifically:
 > > 
 > > If I send a mail from one LAN machine to another (using my debian/exim
 > > host as relay) the mail is delivered locally but the "from" field is
 > > rewritten to the external address of the user.
 > > 
 > > So if I hit reply on the target machine the mail will go over the
 > > smarthost, even though its target is practically local.
 > > 
 > > (Am I making enough sense?)
 > 
 > No more than me <g>
 > 
 > I've asked, and possibly answered (though I haven't implemented) this
 > question.  Quoting my own recent post here:
 > 
 >     I also just found this Exim FAQ, which appears to address the
 >     question I'm concerned with:
 >     http://exim.ping.uio.no/FAQ.html#SEC201
 > 
 >     Basically, it's this:
 > 
 >       o Rewrite all references to 'karsten' for mail being delivered
 >         outside the local network, changing them to 
 >      'kmself@ix.netcom.com'
 > 
 >       o Don't modify any references to 'karsten' for mail delivered on
 >         the local host or within the local network.
 > 
 >     ...I'm getting the impression this isn't the sort of rule Exim likes
 >     to have to deal with.  Is Sendmail a better option?
 > 
 > 
 > -- 
 > Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 >  Evangelist, Opensales, Inc.                    http://www.opensales.org
 >   What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
 >    http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
 > GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

-- 
Neil L. Roeth
[EMAIL PROTECTED]

Reply via email to