[6529] in RedHat Linux List
Re: Network configuration troubles.
daemon@ATHENA.MIT.EDU (Michael Mc Neil)
Wed Nov 27 22:07:36 1996
Date: Wed, 27 Nov 1996 22:05:30 -0500 (EST)
From: Michael Mc Neil <kludge@clark.net>
To: David Coder <dacoder@netcom.com>
cc: redhat-list@redhat.com, dc-linux@wauug.erols.com
In-Reply-To: <Pine.SUN.3.95.961126123940.16511B-100000@netcom17>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Wed, 27 Nov 1996, David Coder wrote:
> Here's the setup: SCO box ethernetworked to RedHat box, RedHat box
> linked to ISP via dialup ppp. I've got my own static IP & domain name on
> the internet.
>
> Here's the problem. If I mail out from my RedHat box, the mail from
> address reads username@nameofRedHatbox. So I need to set the host name
> of the RedHat box to my internet domain name. Trouble is, SCO box wants
> a simple name to talk to. Can I finesse this with aliases in /etc/hosts
> on the RedHat box?
>
You probably only want to add an alias for your domain name
in your hosts file on the Redhat box. Set the SCO box to forward email to
the Redhat box.
So on the Redhat box add an alias to your hosts file. Something like:
123.123.123.123 host.domain.com host domain.com
Then you'll want to tweak your sendmail.cf file on the Redhat box to
accept email for the domain as well as email to the host.
Set the Cw macro to be:
Cwlocalhost domain.com
And you'll also want to masquerade as your domain name for all outgoing
email. ie. Email from user@host.domain.com becomes user@domain.com. That
way people can send email back to you just by hitting reply.
Set DM to:
DMdomain.com
Kill and restart sendmail and test it. This should get you closer to
solving your email problem.
> Also, my ISP-assigned userid begins with a capital letter, but SCO
> OpenServer will not accpt userids that begin with capital letters. Is
> there any way I can finesse this from the Linux side?
>
>
> David Coder
> <dacoder@netcom.com>
>
>
>
kludge@clark.net - kludgio ergo sum -
"Computers save time like kudzu prevents soil erosion."
Commercial email will be charged $500 per message
see USC 47.227 http://www.law.cornell.edu/scode/47.227.html
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null