[dspam-users] Re: Dspam dies with 3.6.0 Floating Point exception

From: <jpublic@usermail.com>
Date: Thu Nov 03 2005 - 19:40:14 EST

Here is an example of the error output from the console:

[root@R5K0232 dspam]# /usr/local/shadow/dspam/bin/dspam --debug --daemon &
[1] 32659
[root@R5K0232 dspam]# 32659: [11/03/2005 12:22:13] Daemon process starting
32659: [11/03/2005 12:22:13] spawning daemon listener
32659: [11/03/2005 12:22:13] Creating local domain socket /tmp/dspam.sock

[root@R5K0232 dspam]# 32669: [11/03/2005 12:22:54] SEND: 220 DSPAM LMTP
3.6.0 Ready
32669: [11/03/2005 12:22:54] SRECV: LHLO mailtest.domain.tld

32669: [11/03/2005 12:22:54] SEND: 250-mailtest.domain.tld
32669: [11/03/2005 12:22:54] SEND: 250-PIPELINING
32669: [11/03/2005 12:22:54] SEND: 250-ENHANCEDSTATUSCODES
32669: [11/03/2005 12:22:54] SEND: 250 SIZE
32669: [11/03/2005 12:22:54] SRECV: MAIL FROM:<joe@domain.tld> SIZE=2684

32669: [11/03/2005 12:22:54] SEND: 250 2.1.0 OK
32669: [11/03/2005 12:22:54] SRECV: RCPT TO:<jpublic@localhost.qc.8e6.com>

32669: [11/03/2005 12:22:54] SEND: 250 2.1.5 OK
32669: [11/03/2005 12:22:54] SRECV: DATA

32669: [11/03/2005 12:22:54] No QuarantineAgent option found. Using
standard quarantine.
32669: [11/03/2005 12:22:54] SEND: 354 Enter mail, end with "." on a line
by itself
32669: [11/03/2005 12:22:54] SRECV: Received: from localhost
(localhost.localdomain [127.0.0.1])

32669: [11/03/2005 12:22:54] SRECV: by mailtest.domain.tld (Postfix)
with ESMTP id 100C31812D

32669: [11/03/2005 12:22:54] SRECV: for <jpublic@localhost>; Thu, 3
Nov 2005 12:22:54 -0800 (PST)

32669: [11/03/2005 12:22:54] SRECV: X-Spam-Checker-Version: SpamAssassin
3.1.0 (2005-09-13) on

32669: [11/03/2005 12:22:54] SRECV: customs.usermail.com

32669: [11/03/2005 12:22:54] SRECV: X-Spam-Status: No, score=0.9
required=5.2 tests=DATE_IN_PAST_12_24=0.881

32669: [11/03/2005 12:22:54] SRECV: autolearn=no version=3.1.0

32669: [11/03/2005 12:22:54] SRECV: Received: from mail.usermail.com
[216.150.205.170]

32669: [11/03/2005 12:22:54] SRECV: by localhost with POP3
(fetchmail-6.2.5)

32669: [11/03/2005 12:22:54] SRECV: for jpublic@localhost
(single-drop); Thu, 03 Nov 2005 12:22:54 -0800 (PST)

32669: [11/03/2005 12:22:54] SRECV: Received: from gateway.usermail.com
(gateway.usermail.com [216.150.205.179])

32669: [11/03/2005 12:22:54] SRECV: by usermail.com (8.13.2/8.13.2)
with ESMTP id jA3LD5L5026305

32669: [11/03/2005 12:22:54] SRECV: for <jpublic@usermail.com>; Thu, 3
Nov 2005 14:13:05 -0700

32669: [11/03/2005 12:22:54] SRECV: X-ASG-Debug-ID: 1131052386-26241-77-0

32669: [11/03/2005 12:22:54] SRECV: X-Barracuda-URL:
http://216.150.205.179:8000/cgi-bin/mark.cgi

32669: [11/03/2005 12:22:54] SRECV: Received: from mail.domain.tld
(mail.domain.tld [10.10.10.10])

32669: [11/03/2005 12:22:54] SRECV: by gateway.usermail.com (Spam
Firewall) with ESMTP id A1C64B7DF

32669: [11/03/2005 12:22:54] SRECV: for <jpublic@usermail.com>; Thu,
3 Nov 2005 14:13:06 -0700 (MST)

32669: [11/03/2005 12:22:54] SRECV: Received: from MACHINE
(machine2.domain.tld [10.10.10.10])

32669: [11/03/2005 12:22:54] SRECV: by mail.domain.tld (8.11.1/8.11.1)
with SMTP id jA3LD4L05456

32669: [11/03/2005 12:22:54] SRECV: for <jpublic@usermail.com>; Thu, 3
Nov 2005 13:13:04 -0800 (PST)

32669: [11/03/2005 12:22:54] SRECV: From: "Joe" <joe@domain.tldt>

32669: [11/03/2005 12:22:54] SRECV: To: <jpublic@usermail.com>

32669: [11/03/2005 12:22:54] SRECV: X-ASG-Orig-Subj: RE: Dspam test message

32669: [11/03/2005 12:22:54] SRECV: Subject: RE: Dspam test message

32669: [11/03/2005 12:22:54] SRECV: Date: Wed, 2 Nov 2005 14:49:19 -0800

32669: [11/03/2005 12:22:54] SRECV: Message-ID:
<005501c5e0bb$67d3d810$5014a8c0@8e6.com>

32669: [11/03/2005 12:22:54] SRECV: MIME-Version: 1.0

32669: [11/03/2005 12:22:54] SRECV: Content-Type: text/plain;

32669: [11/03/2005 12:22:54] SRECV: charset="iso-8859-1"

32669: [11/03/2005 12:22:54] SRECV: Content-Transfer-Encoding: 7bit

32669: [11/03/2005 12:22:54] SRECV: X-Priority: 3 (Normal)

32669: [11/03/2005 12:22:54] SRECV: X-MSMail-Priority: Normal

32669: [11/03/2005 12:22:54] SRECV: X-Mailer: Microsoft Outlook CWS, Build
9.0.6604 (9.0.2911.0)

32669: [11/03/2005 12:22:54] SRECV: X-MimeOLE: Produced By Microsoft
MimeOLE V6.00.2900.2180

32669: [11/03/2005 12:22:54] SRECV: Importance: Normal

32669: [11/03/2005 12:22:54] SRECV: In-Reply-To:

32669: [11/03/2005 12:22:54] SRECV: X-Virus-Scanned: by Barracuda Spam
Firewall at usermail.com

32669: [11/03/2005 12:22:54] SRECV: X-Barracuda-Bayes: INNOCENT GLOBAL
0.3884 1.0000 -0.0685

32669: [11/03/2005 12:22:54] SRECV: X-Barracuda-Spam-Score: 0.81

32669: [11/03/2005 12:22:54] SRECV: X-Barracuda-Spam-Status: No,
SCORE=0.81 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=7.0
KILL_LEVEL=5.0 tests=DATE_IN_PAST_12_24

32669: [11/03/2005 12:22:54] SRECV: X-Barracuda-Spam-Report: Code version
3.02, rules version 3.0.5024

32669: [11/03/2005 12:22:54] SRECV: Rule breakdown below pts rule name
             description

32669: [11/03/2005 12:22:54] SRECV: ---- ----------------------
--------------------------------------------------

32669: [11/03/2005 12:22:54] SRECV: 0.88 DATE_IN_PAST_12_24 Date:
is 12 to 24 hours before Received: date

32669: [11/03/2005 12:22:54] SRECV: X-Usermail-MailScanner-Information:
Please contact the ISP for more information

32669: [11/03/2005 12:22:54] SRECV: X-Usermail-MailScanner: Found to be clean

32669: [11/03/2005 12:22:54] SRECV: X-MailScanner-From: joe@domain.tld

32669: [11/03/2005 12:22:54] SRECV:

32669: [11/03/2005 12:22:54] SRECV:

32669: [11/03/2005 12:22:54] SRECV:

32669: [11/03/2005 12:22:54] SRECV: -----Original Message-----

32669: [11/03/2005 12:22:54] SRECV: From: Joe[mailto:joe@domain.tld]

32669: [11/03/2005 12:22:54] SRECV: Sent: Wednesday, November 02,
2005 2:32 PM

32669: [11/03/2005 12:22:54] SRECV: To: 'jpublic@usermail.com'

32669: [11/03/2005 12:22:54] SRECV: Subject: Dspam test message

32669: [11/03/2005 12:22:54] SRECV:

32669: [11/03/2005 12:22:54] SRECV:

32669: [11/03/2005 12:22:54] SRECV:

32669: [11/03/2005 12:22:54] SRECV: .

[1]+ Floating point exception/usr/local/shadow/dspam/bin/dspam --debug
--daemon

> I am attempting to setup dspam 3.6.0 under RH linux 9.0.
>
> My general mail setup is:
>
> External Pop mail - Fetchmail - Postfix - LMTP - Dspam - SMTP - Postfix -
> LDA
>
> Posfix is configured to use a UNIX domain socket to connect to dspam.
>
> I had everything delivering normally before attempting to install dspam as
> a content filter in Postfix. When an incoming message is recieved postfix
> successfully connects and transmits the message, but dspam dies with a
> floating point error, causing postfix to complain that the connection
> died.
>
> (lost connection with /tmp/dspam.sock[/tmp/dspam.sock] while sending end
> of data -- message may be sent more than once)
>
> By enableing the verbose debugging I can see that dspam initially accepts
> the connection over the socket then keels after the message is recieved.
>
> I fear I may have borked the permissions and/or the conf file settings.
>
> Other potentially usefull information:
>
> Configure command string:
>
> ./configure --sysconfdir=/usr/local/shadow/etc/dspam
> --prefix=/usr/local/shadow/dspam --with-storage-driver=hash_drv
> --enable-clamav --enable-daemon --enable-verbose-debug
>
>
> attached is the dspam.conf file
>
>
>
>
>
> verified virus free by Usermail.com

verified virus free by Usermail.com
Received on Thu Nov 3 19:41:57 2005

This archive was generated by hypermail 2.1.8 : Fri Nov 04 2005 - 00:00:01 EST