lkundrak / rpms / sendmail

Forked from rpms/sendmail 4 years ago
Clone
cvsdist 53226c2
divert(-1)
cvsdist 83f6af4
dnl This is the sendmail macro config file. If you make changes to this file,
cvsdist 83f6af4
dnl you need the sendmail-cf rpm installed and then have to generate a
cvsdist 83f6af4
dnl new /etc/sendmail.cf by running the following command:
cvsdist 53226c2
dnl
cvsdist 83f6af4
dnl        m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
cvsdist 53226c2
dnl
cvsdist 53226c2
include(`@@PATH@@/m4/cf.m4')
cvsdist 53226c2
VERSIONID(`linux setup for Red Hat Linux')dnl
cvsdist 53226c2
OSTYPE(`linux')
cvsdist 05fa9f4
dnl Uncomment and edit the following line if your mail needs to be sent out
cvsdist 05fa9f4
dnl through an external mail server:
cvsdist 05fa9f4
dnl define(`SMART_HOST',`smtp.your.provider')
cvsdist 53226c2
define(`confDEF_USER_ID',``8:12'')dnl
cvsdist 53226c2
undefine(`UUCP_RELAY')dnl
cvsdist 53226c2
undefine(`BITNET_RELAY')dnl
cvsdist 53226c2
define(`confAUTO_REBUILD')dnl
cvsdist 53226c2
define(`confTO_CONNECT', `1m')dnl
cvsdist 53226c2
define(`confTRY_NULL_MX_LIST',true)dnl
cvsdist 53226c2
define(`confDONT_PROBE_INTERFACES',true)dnl
cvsdist 53226c2
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
cvsdist 83f6af4
define(`ALIAS_FILE', `/etc/aliases')dnl
cvsdist e63041c
dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl
cvsdist 53226c2
define(`UUCP_MAILER_MAX', `2000000')dnl
cvsdist 53226c2
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
cvsdist 83f6af4
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
cvsdist 83f6af4
define(`confAUTH_OPTIONS', `A')dnl
cvsdist 83f6af4
dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
cvsdist 83f6af4
dnl define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
cvsdist 53226c2
dnl define(`confTO_QUEUEWARN', `4h')dnl
cvsdist 53226c2
dnl define(`confTO_QUEUERETURN', `5d')dnl
cvsdist 53226c2
dnl define(`confQUEUE_LA', `12')dnl
cvsdist 53226c2
dnl define(`confREFUSE_LA', `18')dnl
cvsdist 83f6af4
dnl FEATURE(delay_checks)dnl
cvsdist 83f6af4
FEATURE(`no_default_msa',`dnl')dnl
cvsdist 53226c2
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
cvsdist 101e095
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
cvsdist 101e095
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
cvsdist 53226c2
FEATURE(redirect)dnl
cvsdist 53226c2
FEATURE(always_add_domain)dnl
cvsdist 53226c2
FEATURE(use_cw_file)dnl
cvsdist 83f6af4
FEATURE(use_ct_file)dnl
cvsdist 98c3f09
dnl The '-t' option will retry delivery if e.g. the user runs over his quota.
cvsdist 101e095
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
cvsdist 101e095
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl
cvsdist 53226c2
FEATURE(`blacklist_recipients')dnl
cvsdist 83f6af4
EXPOSED_USER(`root')dnl
cvsdist 83f6af4
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
cvsdist 83f6af4
dnl and not on any other network devices. Comment this out if you want
cvsdist 83f6af4
dnl to accept email over the network.
cvsdist 83f6af4
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
cvsdist 101e095
dnl NOTE: binding both IPv4 and IPv6 daemon to the same port requires
cvsdist 101e095
dnl       a kernel patch
cvsdist 101e095
dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')
cvsdist 53226c2
dnl We strongly recommend to comment this one out if you want to protect
cvsdist 53226c2
dnl yourself from spam. However, the laptop and users on computers that do
cvsdist 83f6af4
dnl not have 24x7 DNS do need this.
cvsdist 53226c2
FEATURE(`accept_unresolvable_domains')dnl
cvsdist 53226c2
dnl FEATURE(`relay_based_on_MX')dnl
cvsdist 53226c2
MAILER(smtp)dnl
cvsdist 53226c2
MAILER(procmail)dnl
cvsdist 101e095
Cwlocalhost.localdomain