Mercurial > dnsbl
annotate test.mc @ 92:505e77188317
optimize verification step, cleanup documentation
author | carl |
---|---|
date | Wed, 21 Sep 2005 08:00:08 -0700 |
parents | 962a1f8f1d9f |
children | e107ade3b1c0 |
rev | line source |
---|---|
90
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
1 divert(-1) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
2 dnl This is the sendmail macro config file. If you make changes to this file, |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
3 dnl you need the sendmail-cf rpm installed and then have to generate a |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
4 dnl new /etc/mail/sendmail.cf by running the following command: |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
5 dnl |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
6 dnl m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
7 dnl |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
8 include(`/usr/share/sendmail-cf/m4/cf.m4') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
9 VERSIONID(`linux setup for Red Hat Linux') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
10 OSTYPE(`linux') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
11 undefine(`UUCP_RELAY') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
12 undefine(`BITNET_RELAY') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
13 define(`ALIAS_FILE', /etc/mail/aliases) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
14 define(`confAUTH_MECHANISMS', `LOGIN PLAIN') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
15 define(`confAUTH_OPTIONS', `A') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
16 define(`confBAD_RCPT_THROTTLE', 2) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
17 define(`confCONNECTION_RATE_THROTTLE', 1) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
18 define(`confCR_FILE', `/etc/mail/relay-domains') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
19 define(`confCT_FILE', `/etc/mail/sendmail.ct') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
20 define(`confCW_FILE', `/etc/mail/sendmail.cw') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
21 define(`confDEF_USER_ID',``8:12'') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
22 define(`confDONT_PROBE_INTERFACES',true) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
23 define(`confDOUBLE_BOUNCE_ADDRESS', `') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
24 define(`confLOG_LEVEL', `20') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
25 define(`confMAX_DAEMON_CHILDREN', `20') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
26 define(`confMAX_MESSAGE_SIZE', 30000000) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
27 define(`confME_TOO', true) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
28 define(`confPID_FILE', `/var/run/sm-test.pid') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
29 define(`confPRIVACY_FLAGS', `goaway,nobodyreturn,noreceipts') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
30 define(`confQUEUE_LA', 12) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
31 define(`confREFUSE_LA', 8) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
32 define(`confTO_CONNECT', `1m') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
33 define(`confTO_IDENT', `0') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
34 define(`MAIL_SETTINGS_DIR', `/etc/mail/') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
35 define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
36 define(`STATUS_FILE', /usr/usr/cvs/gpl/dnsbl/sendmail.st) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
37 define(`MILTER', 1) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
38 DAEMON_OPTIONS(`port=26')dnl |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
39 FEATURE(always_add_domain) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
40 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. |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
41 FEATURE(redirect) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
42 FEATURE(use_ct_file) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
43 FEATURE(use_cw_file) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
44 FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
45 FEATURE(`delay_checks', `friend') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
46 FEATURE(`relay_hosts_only') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
47 FEATURE(`mailertable',`hash /etc/mail/mailertable.db') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
48 FEATURE(`virtusertable',`hash /etc/mail/virtusertable.db') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
49 FEATURE(`genericstable',`hash /etc/mail/genericstable.db') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
50 FEATURE(`no_default_msa',`dnl') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
51 VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-host-domains') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
52 TRUST_AUTH_MECH(`LOGIN PLAIN') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
53 INPUT_MAIL_FILTER(`dnsbl', `S=local:/var/run/dnsbl/dnsbl.sock2, F=T, T=S:30s;R:30s;E:30s') |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
54 MAILER(smtp) |
962a1f8f1d9f
add verify statement to verify addresses with better mx host
carl
parents:
59
diff
changeset
|
55 MAILER(procmail) |