I'm presuming you're not interested in keeping domains separate within
sendmail (that is, set up virtual domains within sendmail). If that
assumption is correct, simply add all hostnames, hostname and
hostname+domain (ie., fully qualified) to the sendmail.cw file.
Sendmail will then happily act as the final delivery agent for the
those hosts. Sendmail can also, I believe, be configured to include
that information directly in the sendmail.cf file, but my book with the
m4 macros for building sendmail.cf is at my other office so I can't
give you syntax if you prefer to not include the sendmail.cw file.
-- Rob
--On 09/22/00 11:58:32 AM -0500 Jonathan Wilson <[EMAIL PROTECTED]>
wrote:
> Howdy,
>
> We now have several domain names pointing to our main Red Hat server.
> Most of them are for various web sites and are only used by Apache.
> However we do have this situation: our original intention was to name
> this box newhostname.our_domain.our_tld and we did, and that's what's
> in /etc/hosts however we can't send mail to that box because all mail
> going to our domain is snarfed up by our NT mail server :-/ which my
> boss doesn't want to change.
>
> So he bought a new domain name today, just for the Linux server, the
> primary reason being that we should now be able to send and receive
> mail there.
>
> So my question is, do I need to put the new domain name in
> /etc/hosts, or anywhere else? If not will it affect sendmail? Will
> sendmail pick up mail sent to that domain simply because the DNS and
> MX record point there? And how will it know to put "from:
> *@newdomain.com" on outgoing mail?
>
> Basically I've never dealt with multiple host/domain names and I'm
> not sure what to do :-)
>
>
> JW
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
Rob Tanner
McMinnville, Oregon
[EMAIL PROTECTED]
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list