diff options
author | schmonz <schmonz@pkgsrc.org> | 2012-01-17 00:21:16 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2012-01-17 00:21:16 +0000 |
commit | 2c48b959588da4a5ace68b99028df6e05d5762b2 (patch) | |
tree | 85cf282b6202888dbe75204b595636bb859c28d4 /mail/spamdyke | |
parent | 0660851b1f713c26d44ca65f7219cd5c1a175e49 (diff) | |
download | pkgsrc-2c48b959588da4a5ace68b99028df6e05d5762b2.tar.gz |
Update to 4.3.0. From the changelog:
This version adds the ability to filter messages based on the content
of their headers. Please note that enabling this feature should
be accompanied by disabling the use of the "softlimit" program. In
addition to fixing some small bugs and a compiling error on Debian
7, it also fixes a series of major bugs that could lead to buffer
overflows. Depending on spamdyke's configuration, these could cause
remotely exploitable security holes. Please upgrade immediately!
Looks like there's a bug in the header blacklist filter. Don't
enable that filter yet.
Fixed config-test message for a graylist domain folder when the domain is not
in the list of local domains from ERROR to INFO. Thanks to Eric Shubert
for reporting this one.
Fixed a bunch of copy-and-paste errors in the option_list array in
prepare_settings() where options were designated
CONFIG_TYPE_STRING_SINGLETON instead of CONFIG_TYPE_OPTION_SINGLETON or
CONFIG_TYPE_STRING_ARRAY instead of CONFIG_TYPE_OPTION_ARRAY.
Fixed configure script errors and compilation warnings on Debian 7, which
enables the new GCC flags -Waddress and -Wunused-but-set-variable by
default. Thanks to Steve Cole for reporting this one.
Added some explanitory comments to spamdyke.h and spamdyke.c.
Added FILTER_FLAG_RETAIN and modified middleman() to buffer any data as long
as it is given.
Added FILTER_FLAG_CHILD_RESPONSE_INTERCEPT and modified middleman() to discard
any input from qmail when it is given.
Added FILTER_FLAG_DATA_CAPTURE and modified middleman() to capture qmail's
response to the end of the message data when it is given.
Fixed output_writeln() to send the data in bursts if more than one line is
given and no CRs need to be inserted. Previously, all data was sent
line-by-line, even though middleman() was trying to send bursts of data when
possible.
Changed middleman() to buffer the names of the accepted recipients until after
the message data is sent, then check qmail's response to the message body
and print ALLOWED/DENIED for each recipient accordingly, along with the text
of qmail's response.
Added the options header-blacklist-entry and header-blacklist-file to block
messages based on the contents of their headers.
Added the option rejection-text-header-blacklist to control the message from
the header blacklist filter.
Added a flag to smtpdummy to force it to reject all message content with an
error.
Added a more complete usage message to smtpdummy.
Fixed a number of very serious errors in the usage of snprintf()/vsnprintf().
The return value was being used as the length of the string printed into
the buffer, but the return value really indicates the length of the string
that *could* be printed if the buffer were of infinite size. Because the
returned value could be larger than the buffer's size, this meant remotely
exploitable buffer overflows were possible, depending on spamdyke's
configuration.
Added options to smtpdummy to make it appear to process authentication (and
unconditionally succeed or fail).
Changed the ALLOWED log message to show the text given by qmail when the
message is accepted.
Diffstat (limited to 'mail/spamdyke')
-rw-r--r-- | mail/spamdyke/Makefile | 4 | ||||
-rw-r--r-- | mail/spamdyke/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile index 25a3735174f..5a3df0e474b 100644 --- a/mail/spamdyke/Makefile +++ b/mail/spamdyke/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.27 2012/01/17 00:15:24 schmonz Exp $ +# $NetBSD: Makefile,v 1.28 2012/01/17 00:21:16 schmonz Exp $ # -DISTNAME= spamdyke-4.2.1 +DISTNAME= spamdyke-4.3.0 CATEGORIES= mail MASTER_SITES= ${HOMEPAGE}releases/ EXTRACT_SUFX= .tgz diff --git a/mail/spamdyke/distinfo b/mail/spamdyke/distinfo index 77ec2376211..4a68b10623c 100644 --- a/mail/spamdyke/distinfo +++ b/mail/spamdyke/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.26 2012/01/05 00:53:19 schmonz Exp $ +$NetBSD: distinfo,v 1.27 2012/01/17 00:21:16 schmonz Exp $ -SHA1 (spamdyke-4.2.1.tgz) = 827981420c9cee470172be44325c3af84f503b6d -RMD160 (spamdyke-4.2.1.tgz) = 34b7d1c24b3d397aa414e11e60d336970b495dba -Size (spamdyke-4.2.1.tgz) = 511744 bytes +SHA1 (spamdyke-4.3.0.tgz) = 709febd5eb5852d21e8189a496d9c16120aaaee2 +RMD160 (spamdyke-4.3.0.tgz) = cbe6007ed7022e2546078ea06a7fd1f3425c50a0 +Size (spamdyke-4.3.0.tgz) = 525399 bytes SHA1 (patch-aa) = 2c8e0bfc746540942d1e05d7253e3b54e4ecb487 |