From 5cfb5f200d6cc11dee933c9328fce74cd9b82ee5 Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Tue, 5 Oct 2004 21:04:37 +0000 Subject: 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@ --- libexec/spamd/grey.h | 4 ++-- libexec/spamd/spamd.8 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libexec/spamd') 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 -- cgit v1.2.3