Sync usage with man page.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / smtpd / smtpd_exp.in
blobe60ed878a40606795eb594ed10880cfb11ba3944
2 # Initialize.
4 #! ../bin/postmap smtpd_check_access
5 #msg_verbose 1
6 smtpd_delay_reject 0
7 mynetworks 127.0.0.0/8,168.100.189.0/28
8 relay_domains porcupine.org
9 maps_rbl_domains dnsbltest.porcupine.org
10 rbl_reply_maps hash:smtpd_check_access
11 helo foobar
13 # RBL
15 mail sname@sdomain
16 recipient_restrictions reject_maps_rbl
17 client spike.porcupine.org 168.100.189.2
18 rcpt rname@rdomain
19 client foo 127.0.0.2
20 rcpt rname@rdomain
22 recipient_restrictions reject_rbl_client,dnsbltest.porcupine.org
23 client spike.porcupine.org 168.100.189.2
24 rcpt rname@rdomain
25 client foo 127.0.0.2
26 rcpt rname@rdomain
27 recipient_restrictions reject_rbl_client,dnsbltest.porcupine.org=127.0.0.2
28 client foo 127.0.0.2
29 rcpt rname@rdomain
30 client foo 127.0.0.1
31 rcpt rname@rdomain
33 # RHSBL sender domain name
35 recipient_restrictions reject_rhsbl_sender,dsn.rfc-ignorant.org
36 client spike.porcupine.org 168.100.189.2
37 mail sname@example.tld
38 rcpt rname@rdomain
39 mail sname@sdomain
40 rcpt rname@rdomain
42 # RHSBL client domain name
44 recipient_restrictions reject_rhsbl_client,dsn.rfc-ignorant.org
45 client example.tld 1.2.3.4
46 mail sname@sdomain
47 rcpt rname@rdomain
49 # RHSBL recipient domain name
51 recipient_restrictions reject_rhsbl_recipient,dsn.rfc-ignorant.org
52 client spike.porcupine.org 168.100.189.2
53 mail sname@sdomain
54 rcpt rname@rdomain
55 rcpt rname@example.tld
57 # RHSBL helo domain name
59 recipient_restrictions reject_rhsbl_helo,abuse.rfc-ignorant.org
60 helo example.tld
61 mail sname@sdomain
62 rcpt rname@rdomain
64 # Check MX access
66 helo_restrictions check_helo_mx_access,hash:smtpd_check_access
67 #helo verisign-wildcard.com
68 helo verisign.com
69 helo example.tld
70 sender_restrictions check_sender_mx_access,hash:smtpd_check_access
71 mail foo@pls.net.au
72 #mail foo@verisign-wildcard.com
73 mail foo@verisign.com
74 recipient_restrictions check_recipient_mx_access,hash:smtpd_check_access
75 #rcpt foo@verisign-wildcard.com
76 rcpt foo@verisign.com
77 rcpt foo@1.2.3.porcupine.org
79 # Check NS access
81 helo_restrictions check_helo_ns_access,hash:smtpd_check_access
82 helo email-publisher.com
83 helo ns1.topica.com
84 #helo verisign-wildcard.com
85 helo example.tld
86 sender_restrictions check_sender_ns_access,hash:smtpd_check_access
87 mail foo@email-publisher.com
88 mail foo@ns1.topica.com
89 #mail foo@verisign-wildcard.com
90 recipient_restrictions check_recipient_ns_access,hash:smtpd_check_access
91 rcpt foo@email-publisher.com
92 rcpt foo@ns1.topica.com
93 #rcpt foo@verisign-wildcard.com
94 rcpt foo@1.2.3.porcupine.org