On Sat, 17 Apr 2010 11:34:25 -0700 (PDT) john espiro <john_esp...@yahoo.com> wrote:
> I made the change to the configure.pl, and then tried both delivering the > message via the UI and the command line. > > Running the command line, the message stays in quarantine. From the UI, the > message leaves the quarantine but disappears... > > 1.) > dspam \ > --debug \ > --deliver=innocent \ > --class=innocent \ > --source=error \ > --john_es \ > -d %u < /tmp/test.txt > > gives me one line in dspam.debug: > This is not correct. Should be: dspam \ --debug \ --deliver=spam,innocent \ --class=innocent \ --source=error \ --user=john_es \ -d %u < /tmp/test.txt > 19941: [04/17/2010 11:26:10] No QuarantineAgent option found. Using standard > quarantine. > > 2.) > dspam --deliver=innocent --debug --class=innocent --source=error --user > john_es -d %u < /tmp/test.txt > provides this: > > 21971: [04/17/2010 11:27:34] No QuarantineAgent option found. Using standard > quarantine. > 21971: [04/17/2010 11:27:34] DSPAM Instance Startup > 21971: [04/17/2010 11:27:34] input args: dspam --deliver=innocent --debug > --class=innocent --source=error --user john_es -d %u > 21971: [04/17/2010 11:27:34] pass-thru args: /usr/bin/procmail -d %u > 21971: [04/17/2010 11:27:34] processing user john_es > 21971: [04/17/2010 11:27:34] uid = 0, euid = 0, gid = 0, egid = 12 > 21971: [04/17/2010 11:27:34] loading preferences for user john_es > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: john_es > 21971: [04/17/2010 11:27:34] Loading preferences for uid 1 > 21971: [04/17/2010 11:27:34] Loading preferences for uid 0 > 21971: [04/17/2010 11:27:34] loaded default preferences externally > 21971: [04/17/2010 11:27:34] using /var/dspam/opt-in/john_es.dspam as path > 21971: [04/17/2010 11:27:34] using /var/dspam/opt-out/john_es.nodspam as path > 21971: [04/17/2010 11:27:34] adding user to merged group global > 21971: [04/17/2010 11:27:34] sedation level set to: 0 > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: john_es > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: global > 21971: [04/17/2010 11:27:34] decode.c:362: unexpected data: header string > 'john...@mydomain.com using -f' doesn't contains `:' character > 21971: [04/17/2010 11:27:34] decode.c:362: unexpected data: header string > '127.0.0.1 as permitted sender) receiver=mydomain.com; client-ip=127.0.0.1;' > doesn't contains `:' character > 21971: [04/17/2010 11:27:34] decode.c:362: unexpected data: header string > 'helo=mydomain.com; envelope-from=john...@mydomain.com; x-software=spfmilter' > doesn't contains `:' character > 21971: [04/17/2010 11:27:34] found signature '1,4bc9fce4195201217320144' > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: john_es > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam returning cached name > john_es. > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: john_es > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: global > 21971: [04/17/2010 11:27:34] loading preferences for user john_es > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: john_es > 21971: [04/17/2010 11:27:34] Loading preferences for uid 1 > 21971: [04/17/2010 11:27:34] Loading preferences for uid 0 > 21971: [04/17/2010 11:27:34] loaded default preferences externally > 21971: [04/17/2010 11:27:34] processing signature.. length: 8 > 21971: [04/17/2010 11:27:34] Skipping retraining for signature '`å|^H^H' with > 0 tokens > 21971: [04/17/2010 11:27:34] reclassifying iteration 1 result: 0 > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: global > 21971: [04/17/2010 11:27:34] Loading 1 BNR patterns > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam returning cached name global. > 21971: [04/17/2010 11:27:34] no tokens found in message > 21971: [04/17/2010 11:27:34] _mysql_drv_getpwnam: successful returning struct > for name: john_es > 21971: [04/17/2010 11:27:34] DSPAM Instance Shutdown. Exit Code: 0 > I don't know how you have created the file but it is wrong. Anyway... I think we are not getting any further that way. I need to reproduce that here on my end. I mean the error. I was under the impression that it is fixed with the latest GIT changes but it looks like that it is not. I will enable clamAV on my DSPAM setup and send me that eicar test file and then release it from quarantine. The problem is that I have a virtual domain setup and I don't use Sendmail (if I remember right) like you and I don't use procmail. > > ________________________________ > From: Stevan Bajić <ste...@bajic.ch> > To: john espiro <john_esp...@yahoo.com> > Cc: dspam-user@lists.sourceforge.net > Sent: Sat, April 17, 2010 4:22:59 PM > Subject: Re: [Dspam-user] clamav / quarantine > > On Sat, 17 Apr 2010 04:39:05 -0700 (PDT) > john espiro <john_esp...@yahoo.com> wrote: > > > ------------------------------------ > > > > okay. The signature is not correctly displayed. Maybe I made an error > > yesterday when allocating the signature. However... is the message > > delivered after that or is it still dropped? > > ------------------------------------ > > No - the message is not delivered.. > > > Okay... I have another purpose. I think that the message does not get > delivered because stats is not updated. It can't be updated properly since > there are no tokens. So the other approach to fix this issue is to change in > configure.pl from the Web-UI the following lines: > ----------------------------------- > $CONFIG{'DSPAM_ARGS'} = "--deliver=innocent --class=innocent " . > "--source=error --user %CURRENT_USER% -d %u"; > ----------------------------------- > > To this here: > ----------------------------------- > $CONFIG{'DSPAM_ARGS'} = "--deliver=spam,innocent --class=innocent " . > "--source=error --user %CURRENT_USER% -d %u"; > ----------------------------------- > > Then the message should be IMHO delivered. > > > -- > Kind Regards from Switzerland, > > Stevan Bajić > > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user