Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 1998 10:55:38 +0100 (BST)
From:      Scott Mitchell <scott@dcs.qmw.ac.uk>
To:        george <kf7nn@ti.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mail question
Message-ID:  <199805210955.KAA12387@wax.dcs.qmw.ac.uk>
In-Reply-To: <110576127@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
george said:
>well it would be nice to run elm on the native machine to read your
>mail instead of having to telnet over to the registered machine.
>
>right now i just send the mail as uasual and the router takes care
>of al the rest.
>

Well, you could export /var/mail on the server and mount it on all your
other machines, or use fetchmail to suck the mail off the server and
deliver it locally.  In your situation I'd probably go the NFS route as it
will be less intrusive in operation.

	Scott

>Scott Mitchell wrote:
>> 
>> George Vagner said:
>> >i have 3 machines on my internal net and 1 router but i do not have
>> >seperate ip addresses for each of these machines i only have 1
>> >ip address that is registered so if i write a mail message on any of the other
>> >machines it is uasually rejected because they cant be looked up.
>> >
>> >is there a way to make the registered machine foward mail to the unregistered
>> >machines and provide a reply back to any queries for the unregistered
>> >machines?
>> >
>> >i am not sure if this is called spoofing or not..
>> >
>> >
>> >here is what i thought might work....
>> >
>> >making registered machine gateway=YES in rc.conf
>> >editing /etc/hosts to include these machines (already do)
>> >editing /etc/aliases to point to these machines somehow.
>> >
>> >what do you suggest. if possible?
>> 
>> The registered machine (I assume this sits between your private net and the
>> rest of the world) should also be running natd or something similar to hide
>> your unregistered addresses.
>> 
>> Set up sendmail on the other machines to do nothing but forward to the
>> gateway machine.  There is a 'null' config in the sendmail cf tree that
>> will do this for you.  You will probably want to set some/all of the
>> masquerading options on the gateway sendmail so that all mail goes out as
>> from that machine.
>> 
>> People outside of your private net will of course only be able to mail to
>> your gateway box, as they can't tell that the other machines exist.  Was
>> there a particular need for mail to be delivered to individual machines?
>> 
>> You really don't want any of your private IP's or unregistered names
>> leaking out into the Internet at large.  It tends to irritate people.
>> 
>> HTH,
>> 
>>         Scott.
>> 
>> --
>> ===========================================================================
>> Scott Mitchell          | PGP Key ID |"If I can't have my coffee, I'm just
>> <scott@dcs.qmw.ac.uk>   | 0x54B171B9 | like a dried up piece of roast goat"
>> QMW College, London, UK | 0xAA775B8B |     -- J. S. Bach.
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>

-- 
===========================================================================
Scott Mitchell          | PGP Key ID |"If I can't have my coffee, I'm just 
<scott@dcs.qmw.ac.uk>   | 0x54B171B9 | like a dried up piece of roast goat"
QMW College, London, UK | 0xAA775B8B |     -- J. S. Bach.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805210955.KAA12387>