~ubuntu-branches/ubuntu/saucy/postfix/saucy

« back to all changes in this revision

Viewing changes to src/smtpd/smtpd_dnswl.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2011-02-22 11:20:43 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222112043-c34ht219w3ybrilr
Tags: 2.8.0-2
* a little more lintian cleanup
* Fix missing format strings in smtp-sink.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Initialize.
 
3
#
 
4
#msg_verbose 1
 
5
smtpd_delay_reject 0
 
6
mynetworks 127.0.0.0/8,168.100.189.0/28
 
7
mydestination porcupine.org
 
8
relay_domains porcupine.org
 
9
helo foobar
 
10
 
 
11
#
 
12
# DNSWL (by IP address)
 
13
#
 
14
 
 
15
# Whitelist overrides reject.
 
16
client_restrictions permit_dnswl_client,wild.porcupine.org,reject
 
17
client spike.porcupine.org 168.100.189.2
 
18
 
 
19
# Whitelist does not fire - reject.
 
20
client_restrictions permit_dnswl_client,porcupine.org,reject
 
21
client spike.porcupine.org 168.100.189.2
 
22
 
 
23
# Whitelist does not override reject_unauth_destination.
 
24
client_restrictions permit
 
25
recipient_restrictions permit_dnswl_client,wild.porcupine.org,reject_unauth_destination
 
26
# Unauthorized destination - reject.
 
27
rcpt rname@rdomain
 
28
# Authorized destination - accept.
 
29
rcpt wietse@porcupine.org
 
30
 
 
31
#
 
32
# RHSWL (by domain name)
 
33
#
 
34
 
 
35
# Whitelist overrides reject.
 
36
client_restrictions permit_rhswl_client,dsn.rfc-ignorant.org,reject
 
37
# Non-whitelisted client name - reject.
 
38
client spike.porcupine.org 168.100.189.2
 
39
# Whitelisted client name - accept.
 
40
client example.tld 168.100.189.2
 
41
 
 
42
# Whitelist does not override reject_unauth_destination.
 
43
client_restrictions permit
 
44
recipient_restrictions permit_rhswl_client,dsn.rfc-ignorant.org,reject_unauth_destination
 
45
# Non-whitelisted client name.
 
46
client spike.porcupine.org 168.100.189.2
 
47
# Unauthorized destination - reject.
 
48
rcpt rname@rdomain
 
49
# Authorized destination - accept.
 
50
rcpt wietse@porcupine.org
 
51
# Whitelisted client name.
 
52
client example.tld 168.100.189.2
 
53
# Unauthorized destination - reject.
 
54
rcpt rname@rdomain
 
55
# Authorized destination - accept.
 
56
rcpt wietse@porcupine.org