Final pre-release cleanup for 2.002 release.

This commit is contained in:
Scott Kitterman 2007-02-20 10:51:21 +00:00
commit 90fa45972c
8 changed files with 100 additions and 9 deletions

View file

@ -4,8 +4,13 @@
# ! = Changed something significant, or removed a feature
# * = Fixed a bug, or made a minor improvement
--- 2.002 (2007-02-19 14:35)
! Only prepend SPF received header once for multi-recipient mail.
--- 2.002 (2007-02-20 05:45)
* Added Julian Menhle to copyright statement.
* Implemented results cache in order to prevent redundant SPF checks in
multiple invocations per message instance. This also enables us to prepend
a "Received-SPF" header only once per message instance (as opposed to once
per recipient address).
* Minor code and comments clean-up.
--- 2.001 (2007-02-08 00:36)
* Safer check for local connections.

5
README
View file

@ -1,7 +1,8 @@
postfix-policyd-spf-perl 2.002
A Postfix SMTPd policy server for SPF checking
(C) 2007 Scott Kitterman <scott@kitterman.com>
2003-2004 Meng Weng Wong <mengwong@pobox.com>
(C) 2007 Scott Kitterman <scott@kitterman.com> and Julian Mehnle
<julian@mehnle.net>
(C) 2003-2004 Meng Weng Wong <mengwong@pobox.com>
Thanks for contributions by various members of the SPF project
<http://www.openspf.org/Software#postfix-policyd-spf-perl>
==============================================================================

10
debian/changelog vendored
View file

@ -1,3 +1,13 @@
postfix-policyd-spf-perl (2.002-0ubuntu1) feisty; urgency=low
* New upstream release to prevent appending multiple SPF received headers to
multi-recipient mail..
* changed maintainer to back to MOTU.
* Added Julian Mehnle to debian/copyright.
* Updated man pages for upstream documentation updates.
-- Scott Kitterman <scott@kitterman.com> Tue, 20 Feb 2007 05:45:00 -0500
postfix-policyd-spf-perl (2.001-0ubuntu1) feisty; urgency=low
* New upstream release for RFC compliant SPF checking.

3
debian/control vendored
View file

@ -1,7 +1,8 @@
Source: postfix-policyd-spf-perl
Section: mail
Priority: extra
Maintainer: Scott Kitterman <scott@kitterman.com>
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
XBSC-Original-Maintainer: Scott Kitterman <scott@kitterman.com>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2

7
debian/copyright vendored
View file

@ -3,12 +3,13 @@ Thu, 11 Jan 2007 04:29:13 -0500.
It was downloaded from <http://www.openspf.org/Software#postfix-policyd-spf-perl>.
Upstream authors Meng Weng Wong <mengwong@pobox.com> and Scott Kitterman
<scott@kitterman.com>
Upstream authors Meng Weng Wong <mengwong@pobox.com>, Scott Kitterman
<scott@kitterman.com>, and Julian Mehnle <julian@mehnle.net>
Copyright:
(C) 2007 Scott Kitterman <scott@kitterman.com>
(C) 2007 Scott Kitterman <scott@kitterman.com> and Julian Mehnle
<julian@mehnle.net>
(C) 2003-2004 Meng Weng Wong <mengwong@pobox.com>
This is free software; you can redistribute it and/or modify it under the terms

View file

@ -257,6 +257,6 @@ libmail-spf-perl, <http://www.openspf.org>
.IX Header "AUTHORS"
This version of \fBpolicyd-spf-perl\fR was written by Meng Weng Wong
<mengwong+spf@pobox.com> and updated for libmail-spf-perl by Scott Kitterman
<scott@kitterman.com>.
<scott@kitterman.com> and Julian Mehnle <julian@mehnle.net>.
.PP
This man-page was written by Scott Kitterman <scott@kitterman.com>.

73
test_cases Normal file
View file

@ -0,0 +1,73 @@
#HELO and mfrom pass
request=smtpd_access_policy
client_address=72.81.252.18
helo_name=mailout02.controlledmail.com
sender=scott@kitterman.com
recipient=bogus@kitterman.org
queue_id=q1234
instance=1
#HELO fail and mfrom pass
request=smtpd_access_policy
client_address=72.81.252.18
helo_name=mailout00.controlledmail.com
sender=scott@kitterman.com
recipient=bogus@kitterman.org
queue_id=q1234
instance=2
#no HELO and mfrom pass
request=smtpd_access_policy
client_address=72.81.252.18
helo_name=mailout03.controlledmail.com
sender=scott@kitterman.com
recipient=bogus@kitterman.org
queue_id=q1234
instance=3
#helo pass and mfrom fail
request=smtpd_access_policy
client_address=72.81.252.19
helo_name=mailout00.controlledmail.com
sender=scott@kitterman.org
recipient=bogus@kitterman.org
queue_id=q1234
instance=4
#helo pass and mfrom none
request=smtpd_access_policy
client_address=72.81.252.18
helo_name=mailout02.controlledmail.com
sender=scott@yahoo.com
recipient=bogus@kitterman.org
queue_id=q1234
instance=5
#helo pass and mfrom null
request=smtpd_access_policy
client_address=72.81.252.18
helo_name=mailout02.controlledmail.com
sender=
recipient=bogus@kitterman.org
queue_id=q1234
instance=6
#helo fail and mfrom null
request=smtpd_access_policy
client_address=72.81.252.19
helo_name=mailout02.controlledmail.com
sender=
recipient=bogus@kitterman.org
queue_id=q1234
instance=7
#Multi-recipient dunno
request=smtpd_access_policy
client_address=72.81.252.18
helo_name=mailout03.controlledmail.com
sender=scott@kitterman.com
recipient=bogus2@kitterman.org
queue_id=q1234
instance=3