17c478bd9Sstevel@tonic-gatedivert(-1) 27c478bd9Sstevel@tonic-gate# 37c478bd9Sstevel@tonic-gate# Copyright (c) 1983 Eric P. Allman 47c478bd9Sstevel@tonic-gate# Copyright (c) 1988, 1993 57c478bd9Sstevel@tonic-gate# The Regents of the University of California. All rights reserved. 67c478bd9Sstevel@tonic-gate# 7*e9af4bc0SJohn Beck# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 87c478bd9Sstevel@tonic-gate# Use is subject to license terms. 97c478bd9Sstevel@tonic-gate# 107c478bd9Sstevel@tonic-gate# This is a configuration file for SunOS 5.8 (a.k.a. Solaris 8) and later 117c478bd9Sstevel@tonic-gate# subsidiary machines. It has support for local and SMTP mail. The 127c478bd9Sstevel@tonic-gate# confFALLBACK_SMARTHOST macro is enabled, which means that messages will 137c478bd9Sstevel@tonic-gate# be sent to that host (which is set to mailhost.$m [$m is the local domain]) 147c478bd9Sstevel@tonic-gate# if MX records are unavailable. A short-cut rule is also defined, which 157c478bd9Sstevel@tonic-gate# says if the recipient host is in the local domain, send to it directly 167c478bd9Sstevel@tonic-gate# instead of the smart host. 177c478bd9Sstevel@tonic-gate# 187c478bd9Sstevel@tonic-gate# If you want to customize this further, copy it to a name appropriate 197c478bd9Sstevel@tonic-gate# for your environment and do the modifications there. 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate 227c478bd9Sstevel@tonic-gatedivert(0)dnl 23*e9af4bc0SJohn BeckVERSIONID(`sendmail.mc (Sun)') 247c478bd9Sstevel@tonic-gateOSTYPE(`solaris8')dnl 257c478bd9Sstevel@tonic-gateDOMAIN(`solaris-generic')dnl 267c478bd9Sstevel@tonic-gatedefine(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl 277c478bd9Sstevel@tonic-gateMAILER(`local')dnl 287c478bd9Sstevel@tonic-gateMAILER(`smtp')dnl 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gateLOCAL_NET_CONFIG 317c478bd9Sstevel@tonic-gateR$* < @ $* .$m. > $* $#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3 32