summaryrefslogtreecommitdiff
path: root/libexec/spamd/grey.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2007-03-06 23:38:37 +0000
committerBob Beck <beck@cvs.openbsd.org>2007-03-06 23:38:37 +0000
commit0faf0a7e0f270ec94f2e707486b64c78f5f65d13 (patch)
tree1a4d633670ae77e2f1522c650acedf3c5464ccb2 /libexec/spamd/grey.h
parentb13a2c5c1515c9cc3845bf96cf25ef822e3192af (diff)
Add -M option to specify a local address that is a lower priority MX
address than the primary one. spamd will trap hosts that contact this address first without first contacting the primary. - get it in, deraadt@
Diffstat (limited to 'libexec/spamd/grey.h')
-rw-r--r--libexec/spamd/grey.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/spamd/grey.h b/libexec/spamd/grey.h
index b355818ac07..c76e4e95297 100644
--- a/libexec/spamd/grey.h
+++ b/libexec/spamd/grey.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grey.h,v 1.8 2007/03/04 03:19:41 beck Exp $ */
+/* $OpenBSD: grey.h,v 1.9 2007/03/06 23:38:36 beck Exp $ */
/*
* Copyright (c) 2004 Bob Beck. All rights reserved.
@@ -24,6 +24,7 @@
#define PATH_PFCTL "/sbin/pfctl"
#define PATH_SPAMD_ALLOWEDDOMAINS "/etc/mail/spamd.alloweddomains"
#define DB_SCAN_INTERVAL 60
+#define DB_TRAP_INTERVAL 60 * 10
#define PATH_SPAMD_DB "/var/db/spamd"
struct gdata {
@@ -35,4 +36,4 @@ struct gdata {
};
extern int greywatcher(void);
-extern int greyupdate(char *, char *, char *, char *, char *, int);
+extern int greyupdate(char *, char *, char *, char *, char *, int, char *);