On Wed, 6 Jul 2011 09:08:30 +0200
Julien Valroff <jul...@debian.org> wrote:

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

Julien> Too bad as I think it is either a problem in your configuration
Julien> / preferences or a bug in dspam which would cause the signature
Julien> to be added in both the headers and the body of the email.

Julien> Do you remember how you had configured the signature location
Julien> option?

Oh sorry, I didn't realize reportbug skipped the conffiles.  I attach
a complete diff from the original configuration to mine.

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

Julien> If I am right, we are pretty sure in that case that the email is
Julien> only sent once to dspam before being delivered to the final
Julien> mailbox/maildir?

Yes, pretty sure.  Unless dspamc itself sends it to the daemon twice :-P

-- 
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.
diff --git a/default/dspam b/default/dspam
index 3f247c3..4f7d2d5 100644
--- a/default/dspam
+++ b/default/dspam
@@ -1,7 +1,7 @@
 # Variables for dspam.
 #
 # Do not start dspam.
-START=no
+START=yes
 
 # User that runs dspam.
 USER=dspam
diff --git a/dspam/dspam.conf b/dspam/dspam.conf
index eb0a187..a90e975 100644
--- a/dspam/dspam.conf
+++ b/dspam/dspam.conf
@@ -290,7 +290,7 @@ Preference "spamSubject=[SPAM]"		# { string } -> default:[SPAM]
 Preference "statisticalSedation=5"	# { 0 - 10 } -> default:0
 Preference "enableBNR=on"		# { on | off } -> default:off
 Preference "enableWhitelist=on"		# { on | off } -> default:on
-Preference "signatureLocation=message"	# { message | headers } -> default:message
+Preference "signatureLocation=headers"	# { message | headers } -> default:message
 Preference "tagSpam=off"		# { on | off }
 Preference "tagNonspam=off"		# { on | off }
 Preference "showFactors=off"		# { on | off } -> default:off
@@ -598,7 +598,7 @@ Opt out
 #  standard: Standard LMTP server, for communicating with Postfix or other MTA
 #      auto: Speak both DLMTP and LMTP; auto-detect by ServerPass.IDENT
 #
-#ServerMode dspam
+ServerMode auto
 
 # If supporting DLMTP (dspam) mode, dspam clients will require authentication
 # as they will be passing in parameters. The idents below will be used to
@@ -607,7 +607,7 @@ Opt out
 # than the server's hostname below (which will be sent by the MTA during a
 # standard LMTP LHLO).
 #
-#ServerPass.Relay1	"secret"
+ServerPass.Relay1	"Chi3Eede"
 #ServerPass.Relay2	"password"
 
 # If supporting standard LMTP mode, server parameters will need to be specified
@@ -626,15 +626,15 @@ Opt out
 # you are running the client and server on the same machine, as it eliminates
 # much of the bandwidth overhead.
 #
-#ServerDomainSocketPath	"/var/run/dspam/dspam.sock"
+ServerDomainSocketPath	"/var/run/dspam/dspam.sock"
 
 #
 # Client Mode: If you are running DSPAM in client/server mode, uncomment and
 # set these variables. A ClientHost beginning with a / will be treated as
 # a domain socket.
 #
-#ClientHost	/var/run/dspam/dspam.sock
-#ClientIdent	"secret@Relay1"
+ClientHost	/var/run/dspam/dspam.sock
+ClientIdent	"Chi3Eede@Relay1"
 #
 #ClientHost	127.0.0.1
 #ClientPort	2424

Reply via email to