On Jul 6, 2012, at 10:21 AM, Stevan Bajić wrote: > On 06.07.2012 19:03, Terry Barnum wrote: >> 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'
Hi Stevan. Thank you for your help. > What storage backend are you using? SQLite? Yes. > Could you post the whole dspam.conf?
dspam.conf.gz
Description: GNU Zip compressed data
This is odd. I still see "Ignoring disallowed preference" in the mail.log but I just received a spam email with the Subject unchanged. The only thing I did this morning was use dspam_admin to remove the default preference and then added it (spamSubject "") back a few minutes later. > Are you using domain scale or large scale? I'm not sure. I don't believe this configuration option is set in the macports dspam compile. How can I tell? > Where is DSPAM home? /opt/local/var/dspam $ sudo ls -l /opt/local/var/dspam drwxrwx--- 3 root mail 102 Jun 8 09:50 data -rw-r--r-- 1 root mail 13 Jul 6 09:52 default.prefs drwxr-xr-x 9 root mail 306 May 4 18:08 mysql drwxr-xr-x 6 root mail 204 May 4 18:08 pgsql drwxr-xr-x 5 root mail 170 May 4 18:08 samples drwxr-xr-x 4 root mail 136 May 4 18:08 sqlite -rw-rw---- 1 root mail 204 Jul 6 11:17 system.log drwxr-xr-x 4 root mail 136 May 4 18:08 webui >> Thanks, >> -Terry > -- > Kind Regards from Switzerland, > > Stevan Bajić
------------------------------------------------------------------------------ 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