Re: CRM114 und Sylpheed Claws
On Mon, Jan 15, 2007 at 03:57:50PM +0100, Dirk Schleicher wrote:
> hat einer diese Kombination zu laufen gebracht und kann mir sagen wie?
Noch nicht persönlich, aber das kommt noch. Daher habe ich mich schonmal
mit der Materie beschäftigt. [1] führt zur kompletten Konversation, ich
hab mal die Lösung[2] hier her kopiert:
+---
|From: Hiroyuki Yamamoto <Hiroyuki Yamamoto <hiro-y@xxxxxxxxxx>>
|Date: Mon, 26 Sep 2005 14:37:03 +0900
|Subject: [sylpheed:25789] Re: Substitute bogofilter for crm114 as junk
|mail filter
|
|Hello,
|
|On Sun, 25 Sep 2005 10:30:34 +0200
|Velko Hristov <welko@xxxxxxxxxx> wrote:
|
|> Could somebody help me understand what happens and how I can
|> substitute bogofilter for crm114? Appologies for the long lines - I
|> preferred to not wrap them in order to make the commands more
|> comprehensible.
|
|The Junk mail command lines don't recognize shell commands (maybe some
|redirection commands in the Action should be implemented). So you must
|use wrapper scripts. Like this:
|
|learn spam:
|
|#!/bin/sh
|exec crm -u /home/velko/.crm114 /usr/share/crm114/mailfilter.crm
|--learnspam < $1
|
|learn ham:
|
|#!/bin/sh
|exec crm -u /home/velko/.crm114 /usr/share/crm114/mailfilter.crm
|--learnnonspam < $1
|
|classify:
|
|#!/bin/sh
|exec crm -u /home/velko/.crm114 /usr/share/crm114/mailfilter.crm < $1
|
|--
|Hiroyuki Yamamoto <hiro-y@xxxxxxxxxx>
+---
Frank
[1] http://www.tmtm.org/cgi-bin/w3ml/sylpheed/msg/25780
[2] http://www.tmtm.org/cgi-bin/w3ml/sylpheed/msg/25789
Reply to: