Sendmail Configuration

From VVCWiki
Revision as of 20:00, 11 December 2008 by Vvc (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Makefile

SENDMAIL_CF_DIR=        /usr/samples/tcpip/sendmail

.SUFFIXES: .cf .mc
.MAIN: all

all:    sendmail.cf

.mc.cf:
        m4 -D_CF_DIR_=${SENDMAIL_CF_DIR}/ \
            ${SENDMAIL_CF_DIR}/m4/cf.m4 $< > $@

sendmail.mc

VERSIONID(`setup for SOA')dnl
OSTYPE(`aixsample')dnl
define(`SMART_HOST', `smtp.mcilink.com')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTO_IDENT', `0')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,nobodyreturn')dnl
undefine(`UUCP_RELAY')dnl
define(`confEIGHT_BIT_HANDLING',`pass8')dnl
FEATURE(`no_default_msa', `dnl')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
MAILER(smtp)dnl
LOCAL_RULESETS
SHdrFromSMTP
R$*                     $@ SOA-Server@verizonbusiness.com

SEnvFromSMTP
R$*                     $@ SOA-Server@verizonbusiness.com