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

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to