From owner-freebsd-questions@FreeBSD.ORG Sat May 30 11:23:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2DE81065674 for ; Sat, 30 May 2009 11:23:45 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id ABA018FC20 for ; Sat, 30 May 2009 11:23:45 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 2229A7E837; Sat, 30 May 2009 03:23:44 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 30 May 2009 13:23:42 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <200905292311.58235.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A20EC36.6080003@locolomo.org> In-Reply-To: <4A20EC36.6080003@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905301323.42406.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Greylisting and new posters 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: Sat, 30 May 2009 11:23:46 -0000 On Saturday 30 May 2009 10:20:06 Erik Norgaard wrote: > Mel Flynn wrote: > > Is it possible to: > > a) Put a big-red-blink-popup-attentiongrabbing monster text into the > > subscription page about first posts being delayed with a link to > > greylisting? b) Hash the bodies of greylisted messages and reject / > > discard if the same body with a different msg id is being received? > > > > I'd be happy to contribute to b) if it is thought that the incoming > > mailer can handle the hashing and storage of this information. > > Hi, ok sorry about that mail yesterday :) I've been off the list for > some time. Don't be. It's been bothering me for a while and you weren't even the trigger. Ironically the trigger was the endless and rather pointless discussions about list moderation. The thing with double posts like these is that they are more frequent as of late and sometimes lead to 2 seperate threads about the same thing, where I already have half a reply ready only to notice that it was already covered "in the other one". > Your option b) won't work: you propose to reply with a 2XX (OK) or 5XX > (rejected, don't try again) if subscriber sends the message again. > > Problem is that the server after receiving the 450 error will retry > after some time and this may be before the sender is white listed. So if > you implement the solution you propose you risk that the original > message is either discarded or rejected. Not unless the retrying mailer is really broken. > So, you need to come up with an idea of how to distinguish between the > server resending the same message and the subscriber resending the same > message. If anything, I believe it's most likely that the subscriber > will not send the exact same message, missing some blanks or double > signature line etc... Most of the time it's identical, but I haven't investigated white-space differences. And like I mentioned in the original email, the msg id is the identifier. md5(body) as key generates msg-id foo, this message has msg-id bar, so redirect bar to /dev/null. Once foo delivered delete from state table. > Question: Did grey listing actually reduce the amount of spam on the > list? I eventually dumped it as it caused more problems than it solved. It does marginally for me, for the list I have no idea. It seems to be more effective with viruses then "professional spam". -- Mel