Mercurial > dnsbl
diff test.mc @ 0:96a9758165cd original
Initial revision
author | carl |
---|---|
date | Tue, 20 Apr 2004 20:02:29 -0700 |
parents | |
children | 9bcd5ef11279 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test.mc Tue Apr 20 20:02:29 2004 -0700 @@ -0,0 +1,55 @@ +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/src/rh8/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.sock, F=T, T=S:30s;R:30s;E:30s') +MAILER(smtp) +MAILER(procmail)