On Tue, Sep 12, 2000 at 06:59:05PM +0200, Christian Pernegger (pernegger@chello.at) 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
Attachment:
pgpy9ktTv3tq6.pgp
Description: PGP signature