summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/spamd/grey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/spamd/grey.c b/libexec/spamd/grey.c
index d417301f1d4..dd76fccf4f1 100644
--- a/libexec/spamd/grey.c
+++ b/libexec/spamd/grey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grey.c,v 1.34 2007/03/06 23:38:36 beck Exp $ */
+/* $OpenBSD: grey.c,v 1.35 2007/03/12 03:14:44 beck Exp $ */
/*
* Copyright (c) 2004-2006 Bob Beck. All rights reserved.
@@ -793,6 +793,8 @@ greyupdate(char *dbname, char *helo, char *ip, char *from, char *to, int sync,
spamtrap = 1;
lookup = ip;
expire = trapexp;
+ syslog_r(LOG_DEBUG, &sdata, "Trapping %s for tuple %s", ip,
+ key);
break;
default:
goto bad;