On Thu, 1 Apr 2010 11:14:32 -0700
Terry Barnum <te...@dop.com> wrote:

> 
> On Mar 31, 2010, at 11:42 PM, Stevan Bajić wrote:
> 
> > Here everything looks okay. But you probably have preference extension 
> > enabled
> 
> You are correct. Here are the compiler directives I used:
> 
> export MACOSX_DEPLOYMENT_TARGET=10.6
> ./autogen.sh
> CFLAGS="-g -arch x86_64" CXXFLAGS="-arch x86_64" LDFLAGS="" \
> ./configure \
>   --with-storage-driver=hash_drv,mysql_drv \
>   --with-mysql-includes=/usr/local/mysql/include/mysql \
>   --with-mysql-libraries=/usr/local/mysql/lib/mysql \
>   --enable-preferences-extension \
>   --with-dspam-home-owner=_dspam \
>   --with-dspam-home-group=_postfix \
>   --with-dspam-home=/usr/local/var/dspam \
>   --enable-long-usernames \
>   --with-dspam-group=postfix \
>   --enable-domain-scale \
>   --enable-virtual-users \
>   --enable-debug \
>   --enable-daemon \
>   --enable-syslog \
>   --disable-large-scale \
>   --disable-external-lookup \
>   --disable-clamav \
>   --disable-homedir \
>   --disable-bnr-debug
> 
> > and need to disable the signature in the body on a per user basis:
> > dspam_admin change preference te...@dop.com signatureLocation headers
> > 
> > Or globaly:
> > dspam_admin change preference default signatureLocation headers
> 
> That worked! Thank you Stevan. It took effect without having to restart the 
> daemon, which surprised me.
> 
The preference extensions has some benefits compared to the file based 
preferences.


> I did a 'sudo dspam_admin list preference default' and it returns just 
> signatureLocation=headers.
> 
> Do I need to set the other preferences this way (like trainingMode TEFT, 
> spamAction tag, etc.) or are they picked up from the dspam.conf file?
> 
You have to understand the way how the preferences are handled in DSPAM. I 
could go on and write now a long text how it is handled but everything is 
written in the DSPAM documentation.

Anyway... yes. If you want to have preferences active on a global scale then do 
it with the preference extension. It's the easiest way IMHO. Use "default" as 
username if you want the preference to be active for all users. Off course you 
can overwrite individual entries on a per user basis as well.


> -Terry
> 

-- 
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to