On Thu, 16 Jun 2011 18:17:18 +0300
[email protected] wrote:

> Hi.
> 
Hello Serge,


> i have installed dspam from deb package and after some time i've receive 
> email from cron about error in cssclean.
> 
> dspam is installed from kirya.net:
> # apt-cache policy dspam
> dspam:
>   Installed: 3.9.1~rc1+git20110514.347379b+dfsg-1~bpo60+1
>   Candidate: 3.9.1~rc1+git20110514.347379b+dfsg-1~bpo60+1
> 
> 
> An example of error:
> 
> /etc/cron.daily/dspam
> /usr/bin/dspam_maintenance: line 530: 23521 Floating point exception
> ${DSPAM_BIN_DIR}/cssclean "${name}" > /dev/null 2>&1
> 
aggrr... the Hash driver has serious issues and needs a major rework/recoding.


> i'm use storage hash_drv.
> .css and .sig files stored in /var/spool/dspam/
> 
> How to fix this issue ?
> Same error i got on few other servers, also Debian Squeeze.
> 
Has nothing to do with Debian. The problem is that the Hash driver is not 32/64 
Bit safe nor is it little/big endian safe.

If no one is going to invest major coding time behind the Hash driver then I 
will probably go after 3.9.1 to look closer into the whole problem with the 
Hash driver.


> # dspam --version
> 
> DSPAM Anti-Spam Suite GIT (agent/library)
> 
> Copyright (c) 2002-2010 DSPAM Project
> http://dspam.sourceforge.net.
> 
> DSPAM may be copied only under the terms of the GNU General Public License,
> a copy of which can be found with the DSPAM distribution kit.
> 
> Configuration parameters:  '--prefix=/usr' '--includedir=${prefix}/include' 
> '--mandir=${prefix}/share/man'
>   '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' 
> '--libexecdir=${prefix}/lib/dspam'
>   '--disable-maintainer-mode' '--build=i486-linux-gnu' 
> '--sysconfdir=/etc/dspam' '--disable-dependency-tracking'
>   '--enable-split-configuration' '--enable-static' '--enable-external-lookup' 
> '--enable-syslog'
>   '--with-logdir=/var/log/dspam/' '--with-dspam-home=/var/spool/dspam' 
> '--enable-domain-scale' 
>   '--with-delivery-agent=/usr/bin/procmail' '--enable-daemon' 
> '--with-mysql-includes=/usr/include/mysql'
>   '--with-pgsql-includes=/usr/include/postgresql' 
> '--with-storage-driver=mysql_drv,pgsql_drv,sqlite3_drv,hash_drv'
>   '--enable-debug' '--enable-virtual-users' '--enable-preferences-extension' 
> '--enable-clamav' 
>   'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 
>   'LDFLAGS= -Wl,-z,defs -Wl,--as-needed -Wl,-z,defs -Wl,--as-needed' 
> 'CPPFLAGS='
> 
> # uname -a
> Linux server 2.6.32-5-amd64 #1 SMP Wed May 18 08:00:46 UTC 2011 x86_64 
> GNU/Linux
> 
> /etc/dspam/dspam.d/hash.conf:
> 
> HashRecMax              393241
> HashAutoExtend          on
> HashMaxExtents          0
> HashExtentSize          49157
> HashPctIncrease         5
> HashMaxSeek             10
> HashConnectionCache     10
> 
> 
> /etc/dspam/dspam.conf:
> 
> Home /var/spool/dspam
> StorageDriver /usr/lib/dspam/libhash_drv.so
> Notifications   off
> PurgeSignatures 14      # Stale signatures
> PurgeNeutral    90      # Tokens with neutralish probabilities
> PurgeUnused     90      # Unused tokens
> PurgeHapaxes    30      # Tokens with less than 5 hits (hapaxes)
> PurgeHits1S     15      # Tokens with only 1 spam hit
> PurgeHits1I     15      # Tokens with only 1 innocent hit
> 
> 
> 
> Thanks.
> 
> -- 
> Serge
> 
-- 
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to