Hi, I am checking my whole set up, and am wondering why I should specify the --user option in my postfix retrain transport whereas I use the MySQLUIDInSignature option.
I use the following transport: dspam-retrain unix - n n - - pipe flags=Rhq user=dspam argv=/usr/bin/dspamc --client --mode=teft --class=${nexthop} --source=error --user common where common is an existing DSPAM user (actually a shared group) If I specify an inexisting user, dspam fails to retrieve the signature from the DB: Aug 12 19:24:36 nix dspam[1019]: Signature retrieval for '3,4a82f95b10191075312630' failed Aug 12 19:24:36 nix dspam[1019]: Unable to find a valid signature. Aborting. Aug 12 19:24:36 nix dspam[1019]: process_message returned error -5. dropping message. It also fails when not specifying any user. I know I could use ${sender} as well, but this has already caused issue when a user tried to retrain from another account (misconfigured MUA). btw, I have activated external lookup, which checks against my postfix DB, where DSPAM groups are obviously not available. However, it seems to work. I can see from the debug log the external lookup script is run (and in that case, it does not return anything): 19300: [08/12/2009 20:31:26] process mode: '--client --mode=teft --class=spam --source=error ' 19300: [08/12/2009 20:31:26] No QuarantineAgent option found. Using standard quarantine. 19300: [08/12/2009 20:31:26] using database handle id 1 19300: [08/12/2009 20:31:26] handle locked 19300: [08/12/2009 20:31:26] looking up user common using program driver. 19300: [08/12/2009 20:31:26] command line is /etc/dspam/extlookup common 19300: [08/12/2009 20:31:26] DSPAM Instance Startup 19300: [08/12/2009 20:31:26] input args: dspam --client --mode=teft --class=spam --source=error If the expected behaviour is that extlookup is not considered when --source=error, then, why calling it? Cheers, Julien ------------------------------------------------------------------------------ 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