From 61b46bcc71da520c7a1964d2076447e673b30f4b Mon Sep 17 00:00:00 2001 From: Daniel Hartmeier Date: Tue, 26 Aug 2003 18:30:04 +0000 Subject: re-add logging of matched blacklists lost in previous commit, ok deraadt@ --- libexec/spamd/spamd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libexec/spamd') 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; -- cgit v1.2.3