Package: dspam
Version: 3.10.1+dfsg-6
Severity: important

Dear Maintainer,

When releasing mail from quarantine, dspam corrupts the FROM part in the
SMTP/LMTP handshake (normal spam filter workflow works fine, this only affects
the release process).
The released email gets bounced and this leads to data loss, rendering the
quarantine useless as false positives can't be recovered.

please implement the following upstream patch that fixes the problem:
http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commit;h=cbed19764df8ecc1469f739ca33eb92aa3f67584

After applying the patch dspam works as intended.



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- dspam-3.10.1+dfsg.orig/src/dspam.c
+++ dspam-3.10.1+dfsg/src/dspam.c
@@ -499,7 +499,7 @@ process_message (
         }
 
         /* Change also the mail recipient */
-        ATX->recipient = CTX->username;
+        strcpy(ATX->recipient, CTX->username);
 
       }
     }

Reply via email to