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