diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2007-03-12 03:14:45 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2007-03-12 03:14:45 +0000 |
commit | a5db54e13f20a11c5cbff2a73990b825b6ce056a (patch) | |
tree | e1bf79eeca1d7dd567b4b2d4eeb0a77a13b6c3d1 /libexec/spamd | |
parent | 25322855d58fdf27412f41ee9897cc84043a947b (diff) |
log when we trap a host.
Diffstat (limited to 'libexec/spamd')
-rw-r--r-- | libexec/spamd/grey.c | 4 |
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; |