Bug Tracker item #2842677, was opened at 2009-08-22 19:47
Message generated for change (Tracker Item Submitted) made by garsy020
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2842677&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: v3.9.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: sylvain garcia (garsy020)
Assigned to: Nobody/Anonymous (nobody)
Summary: external lookup LDAP problem

Initial Comment:
I configured dspam in server mode with external lookup, to match with only 2 
user. At start my dspam backend database (postgresql) is empty. But after few 
hours on test, i have 7 users on DB. Before Start i had add by hand one user to 
train.
I don't understand this because external lookup mustn't create user if ldap 
filter does'nt match.

dspam=# select * from dspam_virtual_uids;
 uid |        username         
-----+-------------------------
   1 | dspamtrain
   2 | sylva...@aliasource.fr
   3 | ma...@aliasource.fr
   4 | tho...@aliasource.fr
   5 | +m...@aliasource.fr
   6 | a...@aliasource.fr
   7 | delphi...@aliasource.fr

Here my configuration of external lookup:
ExtLookup               on  
ExtLookupMode           strict
ExtLookupDriver         ldap 
ExtLookupServer         127.0.0.1
ExtLookupPort           389
ExtLookupDB             "dc=local"
ExtLookupQuery          
"(|(&(uid=sylvaing)(mailBox=%u))(&(uid=thomas)(mailBox=%u)))"
ExtLookupLDAPAttribute  "mailBox"

I use debian Lenny 32 with package of julien:

#dspam --version

DSPAM Anti-Spam Suite GIT (agent/library)

Copyright (c) 2002-2009 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:  '--build' 'i486-linux-gnu' '--host=i486-linux-gnu' 
'--prefix=/usr' '--disable-dependency-tracking' '--includedir=/usr/include' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' 
'--enable-split-configuration' '--enable-static' '--enable-external-lookup' 
'--with-logdir=/var/log/dspam/' '--localstatedir=/var' 
'--libexecdir=/usr/lib/dspam' '--srcdir=./' 
'--with-dspam-home=/var/spool/dspam' '--sysconfdir=/etc/dspam' 
'--enable-domain-scale' '--enable-signature-headers' 
'--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' 'host_alias=i486-linux-gnu' 
'CFLAGS=-g -O2 -O2' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2'


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

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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to