~ubuntu-branches/ubuntu/trusty/postfix/trusty-proposed

« back to all changes in this revision

Viewing changes to src/smtpd/smtpd_exp.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-02-27 09:33:07 UTC
  • Revision ID: james.westby@ubuntu.com-20050227093307-cn789t27ibnlh6tf
Tags: upstream-2.1.5
ImportĀ upstreamĀ versionĀ 2.1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Initialize.
 
3
#
 
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 relays.mail-abuse.org
 
10
rbl_reply_maps hash:smtpd_check_access
 
11
helo foobar
 
12
#
 
13
# RBL
 
14
#
 
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
 
21
#
 
22
recipient_restrictions reject_rbl_client,relays.mail-abuse.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,relays.mail-abuse.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
 
32
#
 
33
# RHSBL sender domain name
 
34
#
 
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
 
41
#
 
42
# RHSBL client domain name
 
43
#
 
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
 
48
#
 
49
# RHSBL recipient domain name
 
50
#
 
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
 
56
#
 
57
# RHSBL helo domain name
 
58
#
 
59
recipient_restrictions reject_rhsbl_helo,abuse.rfc-ignorant.org
 
60
helo example.tld
 
61
mail sname@sdomain
 
62
rcpt rname@rdomain
 
63
#
 
64
# Check MX access
 
65
#
 
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
 
78
#
 
79
# Check NS access
 
80
#
 
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