From 90fa45972c45d4e33fabe5ab77d84e8d3ee04fe7 Mon Sep 17 00:00:00 2001 From: Scott Kitterman <> Date: Tue, 20 Feb 2007 10:51:21 +0000 Subject: [PATCH] Final pre-release cleanup for 2.002 release. --- CHANGES | 9 ++- README | 5 +- debian/{README.Debian => INSTALL.Debian} | 0 debian/changelog | 10 ++++ debian/control | 3 +- debian/copyright | 7 ++- debian/postfix-policyd-spf-perl.8 | 2 +- test_cases | 73 ++++++++++++++++++++++++ 8 files changed, 100 insertions(+), 9 deletions(-) rename debian/{README.Debian => INSTALL.Debian} (100%) create mode 100644 test_cases diff --git a/CHANGES b/CHANGES index ed5987e..847422f 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/README b/README index f3b3378..9a386ae 100644 --- a/README +++ b/README @@ -1,7 +1,8 @@ postfix-policyd-spf-perl 2.002 A Postfix SMTPd policy server for SPF checking -(C) 2007 Scott Kitterman - 2003-2004 Meng Weng Wong +(C) 2007 Scott Kitterman and Julian Mehnle + +(C) 2003-2004 Meng Weng Wong Thanks for contributions by various members of the SPF project ============================================================================== diff --git a/debian/README.Debian b/debian/INSTALL.Debian similarity index 100% rename from debian/README.Debian rename to debian/INSTALL.Debian diff --git a/debian/changelog b/debian/changelog index e073f73..998e876 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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. diff --git a/debian/control b/debian/control index b04b78a..e384ef9 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,8 @@ Source: postfix-policyd-spf-perl Section: mail Priority: extra -Maintainer: Scott Kitterman +Maintainer: Ubuntu MOTU Developers +XBSC-Original-Maintainer: Scott Kitterman Build-Depends: debhelper (>= 5) Standards-Version: 3.7.2 diff --git a/debian/copyright b/debian/copyright index 3a5ecdc..13a4e65 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,12 +3,13 @@ Thu, 11 Jan 2007 04:29:13 -0500. It was downloaded from . -Upstream authors Meng Weng Wong and Scott Kitterman - +Upstream authors Meng Weng Wong , Scott Kitterman +, and Julian Mehnle Copyright: -(C) 2007 Scott Kitterman +(C) 2007 Scott Kitterman and Julian Mehnle + (C) 2003-2004 Meng Weng Wong This is free software; you can redistribute it and/or modify it under the terms diff --git a/debian/postfix-policyd-spf-perl.8 b/debian/postfix-policyd-spf-perl.8 index 89dd8ae..9ea5b0b 100644 --- a/debian/postfix-policyd-spf-perl.8 +++ b/debian/postfix-policyd-spf-perl.8 @@ -257,6 +257,6 @@ libmail-spf-perl, .IX Header "AUTHORS" This version of \fBpolicyd-spf-perl\fR was written by Meng Weng Wong and updated for libmail-spf-perl by Scott Kitterman -. + and Julian Mehnle . .PP This man-page was written by Scott Kitterman . diff --git a/test_cases b/test_cases new file mode 100644 index 0000000..6d9e0a7 --- /dev/null +++ b/test_cases @@ -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 + +