view test.mc @ 430:69d33c034a8e stable-6-0-62

include arpa/nameser.h earlier
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Oct 2017 09:59:54 -0700
parents e107ade3b1c0
children
line wrap: on
line source

divert(-1)
dnl This is the sendmail macro config file. If you make changes to this file,
dnl you need the sendmail-cf rpm installed and then have to generate a
dnl new /etc/mail/sendmail.cf by running the following command:
dnl
dnl        m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for Red Hat Linux')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`ALIAS_FILE', /etc/mail/aliases)
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')
define(`confAUTH_OPTIONS', `A')
define(`confBAD_RCPT_THROTTLE', 2)
define(`confCONNECTION_RATE_THROTTLE', 1)
define(`confCR_FILE', `/etc/mail/relay-domains')
define(`confCT_FILE', `/etc/mail/sendmail.ct')
define(`confCW_FILE', `/etc/mail/sendmail.cw')
define(`confDEF_USER_ID',``8:12'')
define(`confDONT_PROBE_INTERFACES',true)
define(`confDOUBLE_BOUNCE_ADDRESS', `')
define(`confLOG_LEVEL', `20')
define(`confMAX_DAEMON_CHILDREN', `20')
define(`confMAX_MESSAGE_SIZE', 30000000)
define(`confME_TOO', true)
define(`confPID_FILE', `/var/run/sm-test.pid')
define(`confPRIVACY_FLAGS', `goaway,nobodyreturn,noreceipts')
define(`confQUEUE_LA', 12)
define(`confREFUSE_LA', 8)
define(`confTO_CONNECT', `1m')
define(`confTO_IDENT', `0')
define(`MAIL_SETTINGS_DIR', `/etc/mail/')
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
define(`STATUS_FILE', /usr/usr/cvs/gpl/dnsbl/sendmail.st)
define(`MILTER', 1)
DAEMON_OPTIONS(`port=26')dnl
FEATURE(always_add_domain)
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl The '-t' option will retry delivery if e.g. the user runs over his quota.
FEATURE(redirect)
FEATURE(use_ct_file)
FEATURE(use_cw_file)
FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')
FEATURE(`delay_checks', `friend')
FEATURE(`relay_hosts_only')
FEATURE(`mailertable',`hash /etc/mail/mailertable.db')
FEATURE(`virtusertable',`hash /etc/mail/virtusertable.db')
FEATURE(`genericstable',`hash /etc/mail/genericstable.db')
FEATURE(`no_default_msa',`dnl')
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-host-domains')
TRUST_AUTH_MECH(`LOGIN PLAIN')
INPUT_MAIL_FILTER(`dnsbl',         `S=local:/var/run/dnsbl/dnsbl.sock2, F=T, T=S:30s;R:30s;E:30s')
MAILER(smtp)
MAILER(procmail)