From owner-freebsd-questions@FreeBSD.ORG Wed Apr 4 20:09:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7D8216A405 for ; Wed, 4 Apr 2007 20:09:25 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6EDB113C44C for ; Wed, 4 Apr 2007 20:09:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l34K994g002868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 4 Apr 2007 15:09:09 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l34K97Ct002733; Wed, 4 Apr 2007 15:09:07 -0500 (CDT) (envelope-from dan) Date: Wed, 4 Apr 2007 15:09:07 -0500 From: Dan Nelson To: Gary Kline Message-ID: <20070404200907.GA45237@dan.emsphone.com> References: <0875b56eeca4d320fd9fa7b0d940fce2@uni-svishtov.bg> <20070403044918.GH72689@dan.emsphone.com> <20070404032432.GA13302@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070404032432.GA13302@thought.org> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Angelin Lalev , freebsd-questions@freebsd.org Subject: Re: advice on anti-spam tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 20:09:25 -0000 In the last episode (Apr 03), Gary Kline said: > I've been experimenting with greylisting for months. Not sure the > regular mail filter installs or not, but the devel version installed > just now perfectly. > > Is there any tutorial on this or should I just re-read the man pages > and other docs a few more times! From llooking at the config file in > /usr/local/etc/mail, the "retry" seems to default to a #commented-out > 1h. Sorry, but I have trouble parsing this kind of grammar: > > > # How long a client has to wait before we accept > # the messages it retries to send. Here, 1 hour. > # May be overridden by the "-w greylist_delay" command line argument. > #greylist 1h > I didn't have any problems reading the config file myself. All the config file options are also listed in the "greylist.conf" manpage, too. Here's what the manpage has to say about the "greylist" keyword: greylist The argument sets how much time milter-greylist(8) will want the client to wait between the first attempt and the time the message is accepted. The time is given in seconds, except if a unit is given: m for minutes, h for hours, and d for days. The greylist keyword is equivalent to the -w option. Here is an example that sets the delay to 45 minutes: greylist 45m A 1 hour timeout could be "too long" for an impatient end-user, so I have lowered that to 10 minutes. Most external servers retry at 15 or 30-minute intervals. I also set the autowhite value much higher than the default of 3 days (2 weeks), so frequent sending machines never leave the whilelist. -- Dan Nelson dnelson@allantgroup.com