divert(-1) # # This is base on the prototype for a "null client" -- that is, a client that # does nothing except forward all mail to a mail hub. # # Visit http://www.garg.com/bob/sendmail/ for more comments # # Replace DOMAINNAME.COM with your own domain information # Replace MAILHOST with the name of your internal mail hub # divert(0)dnl include(../m4/cf.m4)dnl VERSIONID(`$Id: client.mc,v 1.8 1998/04/03 14:54:05 LT vancleef Exp $') OSTYPE(sunos4.1)dnl DOMAIN(DOMAINNAME.COM)dnl MASQUERADE_AS(`DOMAINNAME.COM')dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`always_add_domain')dnl FEATURE(`nocanonify')dnl FEATURE(nouucp)dnl FEATURE(nullclient, MAILHOST.$m) MAILER(local)dnl MAILER(smtp)dnl undefine(`UUCP_RELAY')dnl undefine(`FAX_RELAY')dnl undefine(`DECNET_RELAY')dnl undefine(`BITNET_RELAY')dnl LOCAL_NET_CONFIG R$* < @ $* . > $* $#smtp $@ $2. $: $1 < @ $2. > $3 # That is, send directly only to things you found in your DNS lookup; # anything else goes through SMART_HOST.