Hi, I have just nuked my whole database to switch to the osb tokenizer.
I haven't changed any other settings compared to what was already set up, and realised that users weren't created automatically if the external lookup is on: 2123: [07/31/2010 14:54:02] DSPAM Instance Startup 2123: [07/31/2010 14:54:02] input args: dspam --deliver=innocent -d %u 2123: [07/31/2010 14:54:02] pass-thru args: /usr/lib/dovecot/deliver -d %u -d %u 2123: [07/31/2010 14:54:02] processing user jul...@kirya.net 2123: [07/31/2010 14:54:02] uid = 108, euid = 108, gid = 111, egid = 111 2123: [07/31/2010 14:54:02] loading preferences for user jul...@kirya.net 2123: [07/31/2010 14:54:02] _mysql_drv_getpwnam: returning NULL for query on name: jul...@kirya.net 2123: [07/31/2010 14:54:02] _ds_pref_load: unable to _mysql_drv_getpwnam(jul...@kirya.net) 2123: [07/31/2010 14:54:02] Loading preferences for uid 0 2123: [07/31/2010 14:54:02] Loading preferences for uid 0 2123: [07/31/2010 14:54:02] loaded default preferences externally 2123: [07/31/2010 14:54:02] using /var/spool/dspam/opt-in/kirya.net/julien.dspam as path 2123: [07/31/2010 14:54:02] using /var/spool/dspam/opt-out/kirya.net/julien.nodspam as path 2123: [07/31/2010 14:54:02] sedation level set to: 5 2123: [07/31/2010 14:54:02] _mysql_drv_getpwnam: setting, then returning passed name: jul...@kirya.net 2123: [07/31/2010 14:54:02] _mysql_drv_setpwnam: verified_user is 0 2123: [07/31/2010 14:54:02] _mysql_drv_setpwnam: External lookup verification of jul...@kirya.net failed: not adding user 2123: [07/31/2010 14:54:02] _mysql_drv_get_spamtotals: unable to _mysql_drv_getpwnam(jul...@kirya.net) 2123: [07/31/2010 14:54:02] _ds_init_storage: unable to load totals. Using zero values. 2123: [07/31/2010 14:54:02] Connecting to 127.0.0.1:3310 for virus check 2123: [07/31/2010 14:54:02] Connecting to 127.0.0.1:1626 for virus stream transmission 2123: [07/31/2010 14:54:02] _mysql_drv_getpwnam: setting, then returning passed name: jul...@kirya.net 2123: [07/31/2010 14:54:02] _mysql_drv_setpwnam: verified_user is 0 2123: [07/31/2010 14:54:02] _mysql_drv_setpwnam: External lookup verification of jul...@kirya.net failed: not adding user 2123: [07/31/2010 14:54:02] _ds_getall_spamrecords: unable to _mysql_drv_getpwnam(jul...@kirya.net) 2123: [07/31/2010 14:54:02] _ds_getall_spamrecords() failed 2123: [07/31/2010 14:54:02] _mysql_drv_getpwnam: setting, then returning passed name: jul...@kirya.net 2123: [07/31/2010 14:54:02] _mysql_drv_setpwnam: verified_user is 0 2123: [07/31/2010 14:54:02] _mysql_drv_setpwnam: External lookup verification of jul...@kirya.net failed: not adding user 2123: [07/31/2010 14:54:02] _mysql_drv_set_spamtotals: unable to _mysql_drv_getpwnam(jul...@kirya.net) 2123: [07/31/2010 14:54:02] delivering message My extlookup script simply queries my main database to check if the username exists. I think I must have misunderstood something in the way the extlookup feature works, but would appreciate any help. I do not include any configuration here, as apart from the tokenizer option, I haven't changed anything compared to my previous setup which worked perfectly (at least, I thought it was ;) btw I have found two typos in the extlookup related dspam.conf part: - ExtLookup: Prefrom various external + ExtLookup: Perfrom various external ^^ - #!/path/to/interperter + #!/path/to/interpreter ^^ Cheers, Julien -- Julien Valroff <jul...@kirya.net> http://www.kirya.net GPG key: 4096R/290D20C5 092F 4CB5 5F19 E006 1CFD B489 D32B 8D66 290D 20C5 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel