summaryrefslogtreecommitdiff
path: root/libexec/spamd
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-08-26 18:30:04 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-08-26 18:30:04 +0000
commit61b46bcc71da520c7a1964d2076447e673b30f4b (patch)
tree3c0489486aeb68ce1d7225a681bf64980600a485 /libexec/spamd
parent321c5db5387746f549a9a6948c1809b3f7877841 (diff)
re-add logging of matched blacklists lost in previous commit, ok deraadt@
Diffstat (limited to 'libexec/spamd')
-rw-r--r--libexec/spamd/spamd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index c398af9ffc1..cde045ccba0 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.39 2003/08/24 23:20:19 dhartmei Exp $ */
+/* $OpenBSD: spamd.c,v 1.40 2003/08/26 18:30:03 dhartmei Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -679,6 +679,9 @@ nextstate(struct con *cp)
done:
case 98:
cp->lists = strdup(doreply(cp));
+ if (cp->lists != NULL)
+ syslog_r(LOG_INFO, &sdata, "%s: matched lists: %s",
+ cp->addr, cp->lists);
cp->op = cp->obuf;
cp->ol = strlen(cp->op);
cp->w = t + stutter;