~ubuntu-branches/ubuntu/trusty/pypolicyd-spf/trusty-backports

« back to all changes in this revision

Viewing changes to test_suite/test_cases

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman, Sandro Tosi, Scott Kitterman
  • Date: 2010-01-07 01:23:58 UTC
  • mfrom: (1.1.12 upstream) (10.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100107012358-ahvb2au0soi0hjap
[ Sandro Tosi ]
* debian/control
  - switch Vcs-Browser field to viewsvn

[ Scott Kitterman ]
* New upstream release
  - Works with Python 2.4 now
* debian/control
  - Update homepage for new upstream location
  - Update XS/XB-Python-Version due to deprecation of current
  - Improve package description
* Add upstream changelog (CHANGES) to postfix-policyd-spf-python.docs
* Update debian/watch for the new upstream location

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#HELO and mfrom pass
 
2
request=smtpd_access_policy
 
3
client_address=72.81.252.18
 
4
helo_name=mailout02.controlledmail.com
 
5
sender=scott@kitterman.com
 
6
recipient=bogus@kitterman.org
 
7
instance=1
 
8
 
 
9
#HELO fail and mfrom pass
 
10
request=smtpd_access_policy
 
11
client_address=72.81.252.18
 
12
helo_name=mailout00.controlledmail.com
 
13
sender=scott@kitterman.com
 
14
recipient=bogus@kitterman.org
 
15
instance=2
 
16
 
 
17
#no HELO and mfrom pass
 
18
request=smtpd_access_policy
 
19
client_address=72.81.252.18
 
20
helo_name=72.81.252.18
 
21
sender=scott@kitterman.com
 
22
recipient=bogus@kitterman.org
 
23
instance=3
 
24
 
 
25
#helo pass and mfrom fail
 
26
request=smtpd_access_policy
 
27
client_address=72.81.252.19
 
28
helo_name=mailout00.controlledmail.com
 
29
sender=scott@fail.kitterman.org
 
30
recipient=bogus@kitterman.org
 
31
instance=4
 
32
 
 
33
#helo pass and mfrom none
 
34
request=smtpd_access_policy
 
35
client_address=72.81.252.18
 
36
helo_name=mailout02.controlledmail.com
 
37
sender=scott@yahoo.com
 
38
recipient=bogus@kitterman.org
 
39
 
 
40
#helo pass and mfrom null
 
41
request=smtpd_access_policy
 
42
client_address=72.81.252.18
 
43
helo_name=mailout02.controlledmail.com
 
44
sender=
 
45
recipient=bogus@kitterman.org
 
46
 
 
47
#helo fail and mfrom null
 
48
request=smtpd_access_policy
 
49
client_address=72.81.252.19
 
50
helo_name=fail.kitterman.org
 
51
sender=
 
52
recipient=bogus@kitterman.org
 
53
 
 
54
#Multi-recipient dunno
 
55
request=smtpd_access_policy
 
56
client_address=72.81.252.18
 
57
helo_name=mailout04.controlledmail.com
 
58
sender=scott@kitterman.com
 
59
recipient=bogus2@kitterman.org
 
60
instance=3
 
61
 
 
62
#localhost bypass
 
63
request=smtpd_access_policy
 
64
client_address=127.0.0.1
 
65
helo_name=mailout03.controlledmail.com
 
66
sender=scott@kitterman.com
 
67
recipient=bogus2@kitterman.org
 
68
 
 
69
#Helo Neutral and mfrom pass
 
70
request=smtpd_access_policy
 
71
client_address=72.81.252.18
 
72
helo_name=neutral.kitterman.org
 
73
sender=scott@kitterman.com
 
74
recipient=bogus2@kitterman.org
 
75
 
 
76
#Whitelist
 
77
request=smtpd_access_policy
 
78
client_address=192.168.0.1
 
79
helo_name=mailout03.controlledmail.com
 
80
sender=scott@kitterman.com
 
81
recipient=bogus2@kitterman.org
 
82
 
 
83
# multi-recipient mfrom fail
 
84
request=smtpd_access_policy
 
85
client_address=72.81.252.19
 
86
helo_name=mailout00.controlledmail.com
 
87
sender=scott@fail.kitterman.org
 
88
recipient=bogus2@kitterman.org
 
89
instance=4
 
90
 
 
91
# multi-recipient HELO fail and mfrom pass
 
92
request=smtpd_access_policy
 
93
client_address=72.81.252.18
 
94
helo_name=fail.kitterman.org
 
95
sender=scott@kitterman.com
 
96
recipient=bogus2@kitterman.org
 
97
instance=2
 
98
 
 
99
# No SPF
 
100
request=smtpd_access_policy
 
101
client_address=72.81.252.18
 
102
helo_name=mailout00.yahoo.com
 
103
sender=scott@yahoo.com
 
104
recipient=bogus2@kitterman.org
 
105
 
 
106
# Permerror reject
 
107
request=smtpd_access_policy
 
108
client_address=72.81.252.18
 
109
helo_name=permerror.kitterman.org
 
110
sender=scott@permerror.kitterman.org
 
111
recipient=bogus2@kitterman.org
 
112
 
 
113
# None and None
 
114
request=smtpd_access_policy
 
115
client_address=71.17.127.27
 
116
helo_name=71-17-127-27.estv.hsdb.sasknet.sk.ca
 
117
sender=dalbecbhoj@accessamericatransport.com
 
118
recipient=hostmaster@jamux.com
 
119
 
 
120
# None and None
 
121
request=smtpd_access_policy
 
122
client_address=200.120.31.84
 
123
helo_name=autohaus-knabe.de
 
124
sender=daniel.hahnomjy@autohaus-knabe.de
 
125
recipient=jam@jamux.com
 
126
 
 
127
# mfrom softfail and helo pass
 
128
request=smtpd_access_policy
 
129
client_address=72.81.252.19
 
130
helo_name=mailout00.controlledmail.com
 
131
sender=scott@softfail.kitterman.org
 
132
recipient=bogus@kitterman.org
 
133
 
 
134
# mfrom neutral and helo pass
 
135
request=smtpd_access_policy
 
136
client_address=72.81.252.19
 
137
helo_name=mailout00.controlledmail.com
 
138
sender=scott@neutral.kitterman.org
 
139
recipient=bogus@kitterman.org
 
140
 
 
141
# mfrom none and helo softfail
 
142
request=smtpd_access_policy
 
143
client_address=72.81.252.19
 
144
helo_name=softfail.kitterman.org
 
145
sender=scott@yahoo.com
 
146
recipient=bogus@kitterman.org
 
147
 
 
148
# mfrom none and helo neutral
 
149
request=smtpd_access_policy
 
150
client_address=72.81.252.19
 
151
helo_name=neutral.kitterman.org
 
152
sender=scott@yahoo.com
 
153
recipient=bogus@kitterman.org
 
154
 
 
155
#HELO none and mfrom fail
 
156
request=smtpd_access_policy
 
157
client_address=204.15.80.0
 
158
helo_name=mailout09.controlledmail.com
 
159
sender=scott@kitterman.com
 
160
recipient=bogus@kitterman.org
 
161
 
 
162
#HELO Nomail and mfrom Nomail
 
163
request=smtpd_access_policy
 
164
client_address=204.15.80.0
 
165
helo_name=kitterman.biz
 
166
sender=scott@kitterman.biz
 
167
recipient=bogus@kitterman.org
 
168
 
 
169
# mfrom MAILER-DAEMON and helo pass
 
170
request=smtpd_access_policy
 
171
client_address=72.81.252.19
 
172
helo_name=mailout00.controlledmail.com
 
173
sender=MAILER-DAEMON
 
174
recipient=bogus@kitterman.org
 
175
 
 
176
.