> Hi, > > I have been googling for a week, and I can't seem to find a resolution > to this problem. > > This does not work: > /usr/local/bin/dspam --user group1 --class=spam --source=error < 17. > 76666: [03/08/2008 10:39:39] Unable to find a valid signature. Aborting. > 76666: [03/08/2008 10:39:39] process_message returned error -5. > dropping message. > > But, this does: > /usr/local/bin/dspam --user milano --class=spam --source=error > --signature="47d29416539452471913244" > > The e-mail contains this line, but it is not the last line in the e-mail: > !DSPAM:47d29416539452471913244! > > My DSpam group file has this entry: > group1:shared,managed:* > > This is in the MySQL database: > mysql> select uid, signature, length, created_on from > dspam_signature_data where signature = "47d29416539452471913244"; > +-----+-------------------------+--------+------------+ > | uid | signature | length | created_on | > +-----+-------------------------+--------+------------+ > | 1 | 47d29416539452471913244 | 7908 | 2008-02-08 | > +-----+-------------------------+--------+------------+ > 1 row in set (53.48 sec) > > mysql> select * from `dspam_virtual_uids` where uid=1; > +-----+----------+ > | uid | username | > +-----+----------+ > | 1 | group1 | > +-----+----------+ > 1 row in set (0.00 sec) >
Is dspam set to put the sig. in the email or in the headers? also.. is there something making your file 17? I had an issue with my web mail client that 'copys' the email message to a temp directory and then runs dspam. The issue was it was putting junk in the email it's self... something i did not notice until i vi'ed the message it was trying to process and found it full if % and & at the end of some lines or start of others. It was enough for dspam to miss it's sig. and return the error code of not being able to find it's sig.
