components/sendmail/files/cf/cf/sendmail.mc
changeset 3649 4006eaaa7d29
equal deleted inserted replaced
3648:29c40c98aad3 3649:4006eaaa7d29
       
     1 divert(-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 (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
       
     8 #
       
     9 #  This is a configuration file for SunOS 5.8 (a.k.a. Solaris 8) and later
       
    10 #  subsidiary machines.  It has support for local and SMTP mail.  The
       
    11 #  confFALLBACK_SMARTHOST macro is enabled, which means that messages will
       
    12 #  be sent to that host (which is set to mailhost.$m [$m is the local domain])
       
    13 #  if MX records are unavailable.  A short-cut rule is also defined, which
       
    14 #  says if the recipient host is in the local domain, send to it directly
       
    15 #  instead of the smart host.
       
    16 #
       
    17 #  If you want to customize this further, copy it to a name appropriate
       
    18 #  for your environment and do the modifications there.
       
    19 #
       
    20 
       
    21 divert(0)dnl
       
    22 VERSIONID(`sendmail.mc (Sun)')
       
    23 OSTYPE(`solaris11')dnl
       
    24 DOMAIN(`solaris-generic')dnl
       
    25 define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
       
    26 MAILER(`local')dnl
       
    27 MAILER(`smtp')dnl
       
    28 
       
    29 LOCAL_NET_CONFIG
       
    30 R$* < @ $* .$m. > $*	$#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3