So DSPAM can not find the signature in the db. Are you sure that the
signature is inside the db?
When you run this against the DSPAM database (I assume the email address
you use is i...@itwrx.org. If not, change it to whatever your email is):
select uid,signature from dspam_signature_data where uid=(select uid
from dspam_virtual_uids where username='i...@itwrx.org') and signature
like '%a441081121917356521135';
What do you get?
Do you have an user id for your email? What do you get when you run this
here:
select uid from dspam_virtual_uids where username='i...@itwrx.org';
What do you get when you run this here:
select uid,signature,length,created_on from dspam_signature_data where
signature like '%a441081121917356521135';
What are your user preferences? Can your run this here and post the
output (if i...@itwrx.org is not your email address then change it to
whatever you use):
dspam_admin list pref i...@itwrx.org
--
Kind Regards from Switzerland,
Stevan Bajić
On 06.01.2018 00:05, ITwrx.org wrote:
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
------------------------------------------------------------------------------
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