xref: /illumos-gate/usr/src/cmd/sendmail/cf/cf/sendmail.mc (revision e9af4bc0)
1divert(-1)
2#
3# Copyright (c) 1983 Eric P. Allman
4# Copyright (c) 1988, 1993
5#	The Regents of the University of California.  All rights reserved.
6#
7# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
8# Use is subject to license terms.
9#
10#  This is a configuration file for SunOS 5.8 (a.k.a. Solaris 8) and later
11#  subsidiary machines.  It has support for local and SMTP mail.  The
12#  confFALLBACK_SMARTHOST macro is enabled, which means that messages will
13#  be sent to that host (which is set to mailhost.$m [$m is the local domain])
14#  if MX records are unavailable.  A short-cut rule is also defined, which
15#  says if the recipient host is in the local domain, send to it directly
16#  instead of the smart host.
17#
18#  If you want to customize this further, copy it to a name appropriate
19#  for your environment and do the modifications there.
20#
21
22divert(0)dnl
23VERSIONID(`sendmail.mc (Sun)')
24OSTYPE(`solaris8')dnl
25DOMAIN(`solaris-generic')dnl
26define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
27MAILER(`local')dnl
28MAILER(`smtp')dnl
29
30LOCAL_NET_CONFIG
31R$* < @ $* .$m. > $*	$#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3
32