diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2004-10-05 21:04:37 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2004-10-05 21:04:37 +0000 |
commit | 5cfb5f200d6cc11dee933c9328fce74cd9b82ee5 (patch) | |
tree | 40bd738bf2f4c5bca4f250e664a69a00056f25b8 /libexec/spamd | |
parent | 1d3535b22d9b69a0dbb0d2506940a6601f4f530c (diff) |
Change the default passtime to 25 minutes,
MTA's with a quadratic retry schedule have a retry after 26 minutes, and
then again after an hour, so this probably makes a lot more sense than the
old 30 minute default.
ok henning@
Diffstat (limited to 'libexec/spamd')
-rw-r--r-- | libexec/spamd/grey.h | 4 | ||||
-rw-r--r-- | libexec/spamd/spamd.8 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/spamd/grey.h b/libexec/spamd/grey.h index ba305a6d5e5..2d6ae43c92b 100644 --- a/libexec/spamd/grey.h +++ b/libexec/spamd/grey.h @@ -1,4 +1,4 @@ -/* $OpenBSD: grey.h,v 1.3 2004/02/26 08:30:01 beck Exp $ */ +/* $OpenBSD: grey.h,v 1.4 2004/10/05 21:04:36 beck Exp $ */ /* * Copyright (c) 2004 Bob Beck. All rights reserved. @@ -17,7 +17,7 @@ */ #define MAX_MAIL 1024 /* how big an email address will we consider */ -#define PASSTIME (60 * 30) /* pass after first retry seen after 30 mins */ +#define PASSTIME (60 * 25) /* pass after first retry seen after 25 mins */ #define GREYEXP (60 * 60 * 4) /* remove grey entries after 4 hours */ #define WHITEEXP (60 * 60 * 24 * 36) /* remove white entries after 36 days */ #define PATH_PFCTL "/sbin/pfctl" diff --git a/libexec/spamd/spamd.8 b/libexec/spamd/spamd.8 index 5b52ef5dacd..e6b0a012fa8 100644 --- a/libexec/spamd/spamd.8 +++ b/libexec/spamd/spamd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: spamd.8,v 1.50 2004/10/05 15:20:30 beck Exp $ +.\" $OpenBSD: spamd.8,v 1.51 2004/10/05 21:04:36 beck Exp $ .\" .\" Copyright (c) 2002 Theo de Raadt. All rights reserved. .\" @@ -252,7 +252,7 @@ A previously unseen tuple is added to the database, recording the time an initial connection attempt was seen. After .Em passtime -minutes (by default 30) if +minutes (by default 25) if .Nm sees a retried attempt to deliver mail for the same tuple, .Nm |