Gentoo Archives: gentoo-server

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Dspam Users, Stand Up Please
Date: Thu, 29 Sep 2005 02:52:51
Message-Id: 1127962222.2459.5.camel@neuromancer.home.net
In Reply to: Re: [gentoo-server] Dspam Users, Stand Up Please by theboywho
1 On Wed, 2005-09-28 at 14:15 +0100, theboywho wrote:
2 > Is there a way to DSPAM work with amavisd, but *without* spamassassin?
3
4 Not that I know of _yet_ :-)
5
6 >
7 > The sendmail binary in my dspam config is part of the Postfix install.
8
9 Ah..
10
11 > #!/bin/sh
12 >
13 > PATH=/usr/local/bin:/usr/bin:/bin
14 >
15 > # Get arguments
16 > class="$1"; shift
17 > user="$1"; shift
18 >
19 > dspam --user $user --class=$class --source=error
20
21 Hmm.. thanks, but for some reason, feeding it the entire message from
22 the cyrus mail spool doesn't work. I kept getting errors. In the end, I
23 choose to use the "--signature" instead.
24
25 So, what I did was essentially, retrain it sort of manually using
26
27 $ cat SPAM-Mail | grep -i dspam-signature | awk -F: '{print $2}'
28 > /tmp/dspam
29 $ for i in `cat /tmp/dspam`; do echo "Processing Signature $i"; dspam
30 --user amavis --source=error --class=spam --signature=$i ; done
31
32 That works
33
34
35
36
37 --
38 Ow Mun Heng
39 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
40 98% Microsoft(tm) Free!!
41 Neuromancer 10:50:21 up 4 days, 15:36, 7 users, load average: 0.22,
42 0.22, 0.34
43
44
45 --
46 gentoo-server@g.o mailing list