From owner-freebsd-ports@FreeBSD.ORG Tue Dec 14 16:01:56 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC74616A4CE for ; Tue, 14 Dec 2004 16:01:56 +0000 (GMT) Received: from p15140542.pureserver.info (papendorf-se.de [217.160.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 694FA43D49 for ; Tue, 14 Dec 2004 16:01:56 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by p15140542.pureserver.info (Postfix) with ESMTP id 6AC8B2F4117; Tue, 14 Dec 2004 17:01:55 +0100 (CET) Received: from p15140542.pureserver.info ([127.0.0.1]) by localhost (p15140542 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25914-08; Tue, 14 Dec 2004 17:01:54 +0100 (CET) Received: from cakebox.homeunix.net (unknown [217.188.227.224]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by p15140542.pureserver.info (Postfix) with ESMTP id 891562F405B; Tue, 14 Dec 2004 17:01:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 2201330296E; Tue, 14 Dec 2004 17:01:49 +0100 (CET) Received: from cakebox.homeunix.net ([127.0.0.1]) by localhost (cakebox.tis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55075-10; Tue, 14 Dec 2004 17:01:24 +0100 (CET) Received: from [10.1.1.4] (scorpio.tis [10.1.1.4]) by cakebox.homeunix.net (Postfix) with ESMTP id E9E923028F2; Tue, 14 Dec 2004 17:01:18 +0100 (CET) Message-ID: <41BF0E4D.9050305@nagilum.org> Date: Tue, 14 Dec 2004 17:01:17 +0100 From: Nagilum User-Agent: Mozilla Thunderbird 0.9 (Macintosh/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@freebsd.org, itetcu@people.tecnik93.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cakebox.homeunix.net X-Virus-Scanned: by amavisd-new at papendorf-se.de Subject: DSpam / Horde-IMP integration X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 16:01:56 -0000 Hi, I just finished a small script that might be helpful for people integrating dspam into horde/imp or maybe even other MTAs / spamfilter. In IMP you have just one button "Report as spam" which is fine as long as you don't get any false positives. For false positives you still have to log on and feed the error manually into your spamfilter to learn from it's mistake. This script is a wrapper for the spamfilter that looks at the message and depending on what the message has been classified by the spamfilter, teaches it to consider the mail as the opposite. So if you have a spam message that had been classified as innocent, it will feed the message to the spamfilter as spam. If the message has been classified as spam although it's innocent, it will teach the spamfilter the message as innocent. So now you just need one button which will toggle the spam-status of the mail, thus the name: http://www.nagilum.net/unix/dspam.toggle Instruction on how to integrate this into imp are provided in the file. I hope this will of use to some people, Kind regards, Alex.