Kyle Johnson wrote:
Kyle Johnson wrote:
John Peacock wrote:
Kyle Johnson wrote:
OK everyone, three problems:

  1. When attempting to release messages from the quarantine, dspam
     bails because it can not find the signature.  I checked the
signatures in the QueryString in the WebUI and I noticed something
     weird, that all of the signatures have %d added to the end, such
     as 1%2c45dcd611189996870116105_*%d*_ (The %2 is the comma, in
     HTML?).  I then tailed mail.log and did indeed see that the
     signature, with %d, was being queried, and of course, failing.

     I ran a manually query for the signature with and without the %d,
     and only the one without succeeded.  The actual messages in the
     user.mbox quarantine file do not have the %d, nor do the files in
system.log - they appear only on the quarantine page, not even the
     history page.  Ideas?

  1. On the quarantine page, when I click on a message's subject to
     preview the message, there is no text - just a blank gray box.

You are running CVS trunk using LMTP against a daemonized dspam, right? I just posted a bug to the dspam-dev list that has exactly this same behavior. Apply
the following patch:

Index: dspam.cgi
===================================================================
--- dspam.cgi   (revision 31)
+++ dspam.cgi   (revision 34)
@@ -843,7 +843,7 @@

   open(FILE, "<$MAILBOX");
   while(<FILE>) {
-    chomp;
+    s/\r?\n//;
     push(@buffer, $_);
   }
   close(FILE);
@@ -984,7 +984,7 @@
   $rowclass="rowEven";
   open(FILE, "<$MAILBOX");
   while(<FILE>) {
-    chomp;
+    s/\r?\n//;
     if ($_ ne "") {
       if ($mode eq "") {
         if ($_ =~ /^From /) {


and see if it doesn't take care of both of your issue #1's (I think you meant #1
and #2 ;).

John
Yup, right you are.
Oddly enough, though, your line 843 was my line 840, and your line 984 was my line 981. Regardless, I made the changes, and I can now see the message preview when I click on the subject (#2), and the signature does seem to be right (#1). Though, still, when I try to deliver the message, nothing happens - the page just reloads.

Getting somewhere,
Kyle
Still having problems.
I tried the WebUI from stable, and still, nothing happens when I click "Deliver Checked" - the page just posts back to itself. Nothing in the logs.

Ideas?
Kyle

OK, I might have found something.
The signature for the message in question is *1,c45ddac71189995904411086*. When I click on the Subject link on the quarantine page, my apache log shows 192.168.1.64 - [EMAIL PROTECTED] [23/Feb/2007:14:03:35 -0500] "GET /dspam.cgi?template=quarantine&user=kjohnson%40fixertec%2enet&signatureID=1%2_*c*_45ddac71189995904411086&command=viewMessage HTTP/1.1" 200 24777

OK, good.
However, when I click on the Deliver button, my log shows
192.168.1.64 - [EMAIL PROTECTED] [23/Feb/2007:14:03:43 -0500] "GET /dspam.cgi?signatureID=1%2*_C_*45ddac71189995904411086&command=processFalsePositive&template=quarantine&user=kjohnson%40fixertec.net HTTP/1.1" 302 244

See the difference? The c after %2 is being capitalized when the signature is being sent to the server to retrain. Think this could be the problem? The same thing happens when I try to deliver messages using the check boxes on the quarantine page, also.

Thoughts?
Kyle

Reply via email to