public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ow Mun Heng <Ow.Mun.Heng@wdc.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Dspam Users, Stand Up Please
Date: Thu, 29 Sep 2005 10:50:22 +0800	[thread overview]
Message-ID: <1127962222.2459.5.camel@neuromancer.home.net> (raw)
In-Reply-To: <200509281415.12359.theboywho@ruddyperl.com>

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 


-- 
gentoo-server@gentoo.org mailing list



  reply	other threads:[~2005-09-29  2:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-26  8:24 [gentoo-server] Dspam Users, Stand Up Please Ow Mun Heng
2005-09-26 10:22 ` theboywho
2005-09-27  1:13   ` Ow Mun Heng
2005-09-27  1:18     ` Kurt Lieber
2005-09-27  2:31       ` Ow Mun Heng
2005-09-28 13:15         ` theboywho
2005-09-29  2:50           ` Ow Mun Heng [this message]
2005-09-26 12:49 ` [gentoo-server] " Thomas Kirchner
2005-09-26 12:57   ` Jose Gonzalez Gomez
2005-09-26 13:33     ` [gentoo-server] " Thomas Kirchner
2005-09-26 20:14     ` [gentoo-server] " radu herinean
2005-09-27  1:11   ` Ow Mun Heng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1127962222.2459.5.camel@neuromancer.home.net \
    --to=ow.mun.heng@wdc.com \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox