[Pkg-dspam-misc] Bug#632799: dspam: signature always appended to body

Ian Zimmerman itz at buug.org
Wed Jul 6 05:56:31 UTC 2011


On Wed, 6 Jul 2011 06:03:10 +0200
Julien Valroff <julien at debian.org> wrote:

Ian> In --stdout mode, the signature seems to always be appended to
Ian> _both_ headers and body.

Julien> Would you please describe your setup and give the result of
Julien> `dspam_admin aggregate preference <your-dspam-user>'

It's too late for the latter, but I can try to do the former.

My goal was to minimize any disruption to the existing configuration.
In particular, I wanted to avoid any reconfiguration of the MTA (exim).
Therefore, both the responsibility of calling dspam (actually dspamc)
and actual disposition of emails was left to the delivery agent.  The
delivery agent is my homemade one [1] but you can just imagine procmail
in its place, as the functionality is very similar.

The MDA called dspamc with the email on stdin and with the --stdout
option, and it replaced its in-memory image of the email with the stdout
from dspamc.  In a procmailrc, it would look somewhat like this:

 :0fw: /tmp/.dspamc-itz.lock
 | dspamc --mode=toe --deliver=innocent,spam --feature=chain,noise,whitelist --stdout

Then the MDA would dispose of the email based on its headers (once it
has been through the above filter and so presumably has the X-DSPAM-*
headers).  I never got to reconfigure that part, but it works fine with
spamassassin/spamc.

[1]

https://github.com/nobrowser/sortmail

-- 
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.





More information about the Pkg-dspam-misc mailing list