This version fixes a bug in the address parser that was preventing some sender/recipient whitelist/blacklist entries from matching. Thanks to John Devenport for reporting this one. This version also fixes a bug in the "config-test" feature that prevented spamdyke from finding its own binary when the file is not in the current directory. Thanks to John Hallam for reporting this one.
13 lines
666 B
Text
13 lines
666 B
Text
$NetBSD: patch-aa,v 1.10 2008/12/02 16:24:58 schmonz Exp $
|
|
|
|
--- spamdyke.h.orig 2008-11-28 13:02:32.000000000 -0500
|
|
+++ spamdyke.h
|
|
@@ -93,7 +93,7 @@
|
|
#define STRINGIFY(X) _STRINGIFY(X)
|
|
|
|
#define DEFAULT_REMOTE_IP "0.0.0.0"
|
|
-#define DEFAULT_PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/var/qmail/bin:/home/vpopmail/bin"
|
|
+#define DEFAULT_PATH "/bin:/usr/bin:@LOCALBASE@/bin:@QMAILDIR@/bin:/home/vpopmail/bin"
|
|
#define DEFAULT_NIHDNS_RESOLVER_FILENAME "/etc/resolv.conf"
|
|
#define DEFAULT_NIHDNS_PORT 53
|
|
#define DEFAULT_TIMEOUT_NIHDNS_TOTAL_SECS 30
|