[6816] in RedHat Linux List
Re: Network configuration troubles.
daemon@ATHENA.MIT.EDU (David Coder)
Sun Dec 1 13:48:23 1996
From: "David Coder" <dacoder@netcom.com>
To: "redhat-list@redhat.com" <redhat-list@redhat.com>
Date: Sun, 01 Dec 96 11:44:36
Reply-To: "David Coder" <dacoder@netcom.com>
Resent-From: redhat-list@redhat.com
On Wed, 27 Nov 1996 22:05:30 -0500 (EST), Michael Mc Neil wrote:
>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.
>
Thanks for the suggestions. I am on my way towards getting things
straightened out.
dacoder@netcom.com
--
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