Sendmail question

From: Jason Wood (borris_8@yahoo.com)
Date: Fri Aug 30 2002 - 11:05:13 EDT


I've been noticing that various Solaris patch bundles have been updating
sendmail and replacing the sendmail.cf file. This is a pain because we have a
smart host set up and it gets altered. What I want to do is put an entry in
/etc/hosts for the "mailhost" but I'm not sure what the entry expands to.

Entry from sendmail.cf:
DSmailhost$?m.$m$.

In my /etc/hosts:
xx.xx.xx.xx mailhost mailhost.internal.domain.com fred

The company has a machine with a DNS entry of mailhost.internal.domain.com but
I want this to go to a department smart host and not the company one. My
nsswitch.conf has: "hosts files dns" but if I use "sendmail -v" to test it
goes via the company mailhost and not to the address I want. If I force
"DSfred" then it goes out to the depart smart host.

Anyone able to help here?

=====
Pinky: What will we do tonight Brain?
Brain: Same thing we do every night Pinky..try to install Windows NT!
(Saw it the other day and thought it was funny)
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:51 EDT