On 01/05/2018 03:46 PM, Stevan Bajić via Dspam-user wrote:
> Assuming the mail you try to reclassify is for your own account (aka:
> i...@itwrx.org) then the following lines inside the plugin configuration:
>
>     antispam_dspam_binary = /usr/bin/dspam
>     antispam_dspam_args = --user;%u;--source=error;--signature=%%s
>     antispam_dspam_spam = --class=spam
>     antispam_dspam_notspam = --class=innocent
>
>
> and the fact that the mail is inside your spam folder and you move it
> to the inbox folder, would result in the following command being
> executed:
>
> /usr/bin/dspam --user i...@itwrx.org --source=error
> --signature=a441081121917356521135 --class=innocent
>
>
> What happens when you execute this? What entries do you get in your
> syslog? Can you post them here?
>
>
>
when i try your example manually in the terminal i get:

> Signature retrieval for 'a441081121917356521135' failed
> Jan 05 16:59:26 email.itwrx.org dspam[25337]: Unable to find a valid
> signature. Aborting.
> Jan 05 16:59:26 email.itwrx.org dspam[25337]: process_message returned
> error -5.  dropping message.
no such message exists...

------------------------------------

when i reclassify+move a real email i get:

> Signature retrieval for '%s' failed
> dspam[25001]: Unable to find a valid signature. Aborting.
> dspam[25001]: process_message returned error -5.  dropping message.

the signature is always shown as '%s' in the log (for all messages i
move). so, either there is no signature being assigned or dspam is not
being passed the signature?


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to