On 8/10/07, Bartłomiej Rutkowski <[EMAIL PROTECTED]> wrote:

>
> Well, I am not concerned about installation, as it is very simple process, but
> I am worried about usage really - this seems to be one of least documented
> functions in amavisd-new. I cant find any info how to use it, if to use it, 
> and
> if not, then why not to use it. Nothing, silence, beside the fact, that there 
> is
> the functionality.
>
> I am not sure If I want to use something, that I dont really know how it 
> works.
>
> And still, I havend found a solution, to leave Dspam signature in headers.
> Anybody with any clues? Mark?
>
> Kind regards,
>
> --
> Bartłomiej Rutkowski <[EMAIL PROTECTED]>

amavisd-new feeds message to dspam and dspam writes a header:
X-DSPAM-Result: Innocent
or
X-DSPAM-Result: Spam

Then a SpamAssassin rule is applied (and the spam score is added to or
subtracted from):

header DSPAM_SPAM X-DSPAM-Result =~ /^Spam$/
describe DSPAM_SPAM DSPAM claims it is spam
score DSPAM_SPAM 0.5

header DSPAM_HAM X-DSPAM-Result =~ /^Innocent$/
describe DSPAM_HAM DSPAM claims it is ham
score DSPAM_HAM -0.1

If spamassassin scores a message over 7.0, and dspam says the message
is Innocent, amsvisd-new will feed the message back to dspam -
instructing it to learn it as spam.

If spamassassin scores a message at 0.5 or under, and dspam says the
message is Spam, amavisd-new will feed the message back to dspam -
instructing it to learn it as ham.

AFAIK, dspam needs the X-DSPAM-Signature: header so it recognizes the
message as having been scanned. I don't know why your version of dspam
is not writing headers. What version of amavisd-new are you using?

There is not much more than that (that I am aware of).

again:
http://marc.info/?l=amavis-user&m=112870508426015

-- 
Gary V
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to