[ dspam-Bug Tracker-3489939 ] BUG in DSPAM?

SourceForge.net <[email protected]> Tue, 21 Feb 2012 03:41:53 -0800
Newsgroups gmane.mail.spam.dspam.devel
Message-ID <[email protected]>
Bug Tracker item #3489939, was opened at 2012-02-21 03:41
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3489939&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: daemon
Group: GIT
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Norbert ()
Assigned to: Nobody/Anonymous (nobody)
Summary: BUG in DSPAM?

Initial Comment:
Hi there,

today I was debugging some problems with DSPAM and I found this:

BUG in DSPAM. Please report this bug:
  --> Skipping merged group spam: user [dspam-user] is already in merged group

I'm using DSPAM in daemon mode with PostgreSQL server - latest GIT version. Here is my configuration string: ./configure --prefix=/usr --sysconfdir=/etc --with-dspam-home=/var/dspam --with-logdir=/var/log --with-storage-driver=pgsql_drv --with-pgsql-includes=/usr/include/postgresql --enable-preferences-extension --enable-large-scale --enable-daemon --enable-virtual-users

My group file has only one line: 
spam:merged:*

Here is a full debug from an example connection:
13440: [02/21/2012 11:17:40] DSPAM Instance Startup
13440: [02/21/2012 11:17:40] input args: dspam --deliver=innocent,spam
13440: [02/21/2012 11:17:40] pass-thru args:
13440: [02/21/2012 11:17:40] processing user [dspam-user]
13440: [02/21/2012 11:17:40] uid = 0, euid = 0, gid = 0, egid = 8
13440: [02/21/2012 11:17:40] loading preferences for user [dspam-user]
13440: [02/21/2012 11:17:40] _pgsql_drv_getpwnam: successful returning struct for name: [dspam-user]
13440: [02/21/2012 11:17:40] Loading preferences for uid 1655
13440: [02/21/2012 11:17:40] Loading preferences for uid 0
13440: [02/21/2012 11:17:40] Loading preferences for uid 0
13440: [02/21/2012 11:17:40] default preferences empty. reverting to dspam.conf preferences.
13440: [02/21/2012 11:17:40] Loading preferences from dspam.conf
13440: [02/21/2012 11:17:40] using /var/dspam/opt-in/[dspam-user].dspam as path
13440: [02/21/2012 11:17:40] using /var/dspam/opt-out/[dspam-user].nodspam as path
13440: [02/21/2012 11:17:40] BUG in DSPAM. Please report this bug:
13440: [02/21/2012 11:17:40]  --> Skipping merged group spam: user [dspam-user] is already in merged group
13440: [02/21/2012 11:17:40] sedation level set to: 5
13440: [02/21/2012 11:17:40] _pgsql_drv_getpwnam: successful returning struct for name: [dspam-user]
13440: [02/21/2012 11:17:40] _pgsql_drv_getpwnam: returning cached name '[dspam-user]'
13440: [02/21/2012 11:17:42] Loading 3 BNR patterns
13440: [02/21/2012 11:17:42] _pgsql_drv_getpwnam: returning cached name '[dspam-user]'
13440: [02/21/2012 11:17:42] Whitelist threshold: 10
...
13440: [02/21/2012 11:17:42] Graham-Bayesian Probability: 0.000000 Samples: 15
13440: [02/21/2012 11:17:42] Burton-Bayesian Probability: 0.000000 Samples: 27
13440: [02/21/2012 11:17:42] no factors specified; using default
13440: [02/21/2012 11:17:42] Result Confidence: 0.99
13440: [02/21/2012 11:17:42] auto-whitelisting this message
13440: [02/21/2012 11:17:42] _pgsql_drv_getpwnam: returning cached name '[dspam-user]'
13440: [02/21/2012 11:17:42] Control: [10 10] [10 11] Delta: [0 1]
13440: [02/21/2012 11:17:42] total processing time: 2.46797s
13440: [02/21/2012 11:17:42] _pgsql_drv_getpwnam: returning cached name '[dspam-user]'
13440: [02/21/2012 11:17:42] saving signature as 4f436f46134401406812574
13440: [02/21/2012 11:17:42] _pgsql_drv_getpwnam: returning cached name '[dspam-user]'
13440: [02/21/2012 11:17:42] libdspam returned probability of 0.000000
13440: [02/21/2012 11:17:42] message result: NOT SPAM
13440: [02/21/2012 11:17:42] _pgsql_drv_getpwnam: returning cached name '[dspam-user]'
13440: [02/21/2012 11:17:42] delivering message
13440: [02/21/2012 11:17:42] Establishing connection to /var/imap/socket/lmtp:0
13440: [02/21/2012 11:17:42] Connection established
13440: [02/21/2012 11:17:42] DSPAM Instance Shutdown.  Exit Code: 0

>From time to time I am experiencing lots of "Broken pipe"s error messages in my sendmail daemon (sendmail <-> DSPAM). Then messages are not being sent - sendmail holds them in a queue. When I exclude DSPAM from my configuration, messages are sent directly to LMTP server and queue is emtied. Just after that I rollback the configuration to sendmail -> DSPAM -> LMTP server (Cyrus) and everything goes back to normal. I assume this "BUG" is not a cause of this problem. I will try to debug it soon.

Does this "BUG" can cause real problems?

Norbert

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3489939&group_id=250683

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d