On Wed, 2005-09-28 at 14:15 +0100, theboywho wrote:
> Is there a way to DSPAM work with amavisd, but *without* spamassassin?
Not that I know of _yet_ :-)
>
> The sendmail binary in my dspam config is part of the Postfix install.
Ah..
> #!/bin/sh
>
> PATH=/usr/local/bin:/usr/bin:/bin
>
> # Get arguments
> class="$1"; shift
> user="$1"; shift
>
> dspam --user $user --class=$class --source=error
Hmm.. thanks, but for some reason, feeding it the entire message from
the cyrus mail spool doesn't work. I kept getting errors. In the end, I
choose to use the "--signature" instead.
So, what I did was essentially, retrain it sort of manually using
$ cat SPAM-Mail | grep -i dspam-signature | awk -F: '{print $2}'
> /tmp/dspam
$ for i in `cat /tmp/dspam`; do echo "Processing Signature $i"; dspam
--user amavis --source=error --class=spam --signature=$i ; done
That works
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!!
Neuromancer 10:50:21 up 4 days, 15:36, 7 users, load average: 0.22,
0.22, 0.34
--
[email protected] mailing list