John Beck wrote: > > 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.
I already tried "define(`SMART_HOST', `mailout.uni-giessen.de')dnl" and "define(`confFALLBACK_SMARTHOST', `mailout.uni-giessen.de')dnl" with zero effect. The B48 machine still tries to deliver the emails directly (which works but the accepting host is in fact our firewall which captures all emails send by internal hosts this way (some kind of spamtrap) ; the only official way to get emails delivered to the world outside is that all email MUST be send to "mailout.uni-giessen.de"). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-discuss mailing list [email protected]
