*BSD News Article 99623


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!infeed2.internetmci.com!newsfeed.internetmci.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!shift.utell.net!nobody
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Hostname for box w/ part time internet connection
Date: Mon, 14 Jul 1997 09:49:28 +0100
Organization: Awfulhak Ltd.
Lines: 41
Message-ID: <o6pcq5.tte.ln@shift.utell.net>
References: <33B462A3.C9A68B9C@auburn.campus.mci.net>
    <5pknen$l9c$1@the-fly.zip.com.au> <38gqp5.rqd.ln@shift.utell.net>
    <ly90zjdqa0.fsf@dxca0n.bn.DeTeMobil.de>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44391


In article <ly90zjdqa0.fsf@dxca0n.bn.detemobil.de>,
	Stefan Moeding <moeding@dxca0n.bn.detemobil.de> writes:
> 
> Hi!
> 
> brian@shift.utell.net (Brian Somers) writes:
> 
>> [...]
>>
>> With a "dynamic" IP number, you have to get creative.  You have to
>> think of a machine name (the most tricky bit).  Think of a name that's
>> not likely to be used in the real world - say ending in .lan.  Once
>> you've done this (say it's "flacid.twinkletoes.lan"), your mailer
>> will use this name by default.  You've got to make it use
>> "myname@myisp.net", otherwise people that reply to your mail will
>> fail to resolve "flacid".  Now you're into the "sendmail" world
>> (unless you know of a better mailer, in which case you don't need
>> to be reading this - go away).
>  
> I'm just working on the same problem. There is one thing I'm not
> certain about:
> 
> If I let sendmail create the "Message-ID" and "Received" headers
> (which it should according to the book), they contain references
> to an "imaginary" host/domain. Is this really ok?
> A "Received: by mybox.europe.earth.universe" doesn't really give a
> hint where the message came from.
> 
> I was hacking leafnode over the weekend to strip the Path-header from
> my posts, but now it looks like I can ignore my second thoughts
> and just let sendmail/leafnode slam my private domain onto my posts.

You can probably affect the message id if you specify
FEATURE(masquerade_envelope) with my previous example.

> Stefan

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !