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