Bug Tracker item #3489939, was opened at 2012-02-21 03:41
Message generated for change (Comment added) 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

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

>Comment By: Norbert ()
Date: 2012-02-22 00:21

Message:
Thanks I though so looking at the code...

[dspam-user] is just a common reference to real user - I simply replace the
real one with this. :)

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

Comment By: Stevan Bajic (sbajic)
Date: 2012-02-21 04:06

Message:
> Does this "BUG" can cause real problems?

Not really. It is more or less informational. The code is not doing any
harm. Just printing that this (in theory) should not happen and therefore
it must be a bug in DSPAM.

I will need to look into that later.

btw: Have you really named your DSPAM User "[dspam-user]"? Why? Why the
brackets and especially why that dash?

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

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

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to