I'm using postfix, dovecot2 and the antispam plugin with dspam (installed using 
macports). I don't want the "[SPAM]" text in the Subject line.

I edited /opt/local/etc/dspam.conf to:
Preference "spamSubject="  but nothing changed, "[SPAM]" is still put into the 
Subject.

$ sudo dspam_admin li pref default
returns nothing.
$ sudo dspam_admin li pref <user>
returns nothing.

'AllowOverride spamSubject' is set in dspam.conf so I tried to set an override.

$ sudo dspam_admin add pref default spamSubject ""
operation successful.
$ sudo dspam_admin li pref default
spamSubject=

but then the mail.log shows dspam[12345]: Ignoring disallowed preference 
'spamSubject'
and "[SPAM]" is still in the Subject.

What am I missing?

Following are permissions and config of what I think is pertinent. I'm happy to 
supply more if needed.

$ ls -l /opt/local/etc/dspam.conf
-rw-r--r--  1 root mail 35901 Jul  5 15:08 dspam.conf

$ ls -l /opt/local/bin/{dspam,dspam}
-r-x--s---  1 root mail 94384 May  4 18:08 dspam*
-r-xr-xr-x  1 root mail 53320 May  4 18:08 dspamc*

$ grep -r dspam /opt/local/etc/postfix
(edited output)
dspam_filter_access:dspam_filter_access: /./    FILTER 
dspam-lmtp:unix:/tmp/dspam.sock
main.cf: check_client_access pcre:/opt/local/etc/postfix/dspam_filter_access
master.cf: dspam-lmtp   unix    -       -       n       -       -       lmtp

$ grep -r dspam /opt/local/etc/dovecot/conf.d/
90-plugin.conf: antispam_backend = dspam
90-plugin.conf: antispam_dspam_binary = /opt/local/bin/dspamc
90-plugin.conf: antispam_dspam_args = 
--user;%u;--deliver=;--source=error;--signature=%%s
90-plugin.conf: antispam_dspam_spam = --class=spam
90-plugin.conf: antispam_dspam_notspam = --class=innocent
90-plugin.conf: antispam_dspam_result_header = X-DSPAM-Result

$ sudo dspam --version
DSPAM Anti-Spam Suite 3.10.2 (agent/library)

Copyright (C) 2002-2012 DSPAM Project
http://dspam.sourceforge.net.

DSPAM may be copied only under the terms of the GNU Affero General Public
License, a copy of which can be found with the DSPAM distribution kit.

Configuration parameters:  '--prefix=/opt/local' '--sysconfdir=/opt/local/etc' 
'--mandir=/opt/local/share/man' '--with-logdir=/opt/local/var/log/dspam' 
'--enable-daemon' '--with-sqlite-libaries=/opt/local/lib' 'CC=/usr/bin/gcc-4.2' 
'CFLAGS=-pipe -O2 -arch x86_64' 'LDFLAGS=-L/opt/local/lib -arch x86_64' 
'CPPFLAGS=-I/opt/local/include'

Thanks,
-Terry

Terry Barnum
digital OutPost
http://www.dop.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to