Roland> I have a small problem with my "sendmail" setup in Solaris
Roland> 11/B48/SPARC and can't make heads or tails out of the problem...

First, you should not be editing sendmail.cf directly, but instead you
should take a copy of the .mc file, modify that, then build the .cf from
the .mc and install the .cf in /etc/mail:

* cd /etc/mail/cf/cf
* cp sendmail.mc foo.mc
  Pick whatever value you want for "foo"; `hostname` is often useful.
* Edit foo.mc
* make foo.cf
* cp foo.cf /etc/mail/sendmail.cf
* svcadm restart sendmail


Roland> ... does anyone know what may be wrong in this case ?

For your particular mod, you want the SMART_HOST macro:

define(`SMART_HOST', `mailout.uni-giessen.de')dnl

in your .mc file.  Note that using the SMART_HOST macro tends to punt
everything to the smart host instead of trying MX records first, then
punting to the smart host only as a fall-back.  Since MX records are an
Internet standard, the latter behavior is the default in Solaris; see
http://blogs.sun.com/jbeck/entry/no_more_main_vs_subsidiary for details.

-- John
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to