Thanks !!! and re-thanks !!! I try this yesterday and it works fine. I don't understand why the other method failed.
I'm not the only one who had this problem, so for every body : when you have "Client exited with error -5" use "--delivery=stdout" instead instead of "--stdout". Thanks again Ismail YENIGUL -- .`'`. BONNETOT Jean-Daniel : ': : `. ` .` PRIVIANET `'` Sys & Net Admin Sun, 13 Apr 2008 22:38:53 +0300, Ismail YENIGUL : Re[2]: [dspam-users] Client exited with error -5 > Hi Bonnetot, > > > I also had this problem. After debugging the outputs and codes > tediously, I recognized the problem was solved when I use > --delivery=stdout instead of --stdout. > > Here is an example; > > # cat /root/a.msg | dspam --client --stdout --user [EMAIL PROTECTED] > 1933: [04/13/2008 22:28:11] Client exited with error -5 > > debug output: > > 361: [04/13/2008 22:31:19] assembling component 0 > 6361: [04/13/2008 22:31:19] DSPAM Instance Shutdown. Exit Code: 0 > --->>>> 6361: [04/13/2008 22:31:19] SEND: 250 2.6.0 > <[EMAIL PROTECTED]> Message accepted for delivery: INNOCENT 6361: > [04/13/2008 22:31:19] checking trusted user list for root(0) 6361: > [04/13/2008 22:31:19] SRECV: QUIT > > > # cat /root/a.msg | dspam --client --deliver=stdout --user > [EMAIL PROTECTED] Received: from unknown (HELO mail.com) > (81.214.151.139) by 0 with SMTP; 8 Apr 2008 15:01:34 -0000 > Reply-To: <[EMAIL PROTECTED]> > From: "BERLIN DIS TICARET" <[EMAIL PROTECTED]> > Subject: DIS TICARET EGITIMI BILGI CDsi > Date: Tue, 8 Apr 2008 18:01:27 +0300 > X-DSPAM-Result: Innocent > X-DSPAM-Processed: Sun Apr 13 22:28:27 2008 > X-DSPAM-Confidence: 0.6000 > X-DSPAM-Probability: 0.0000 > X-DSPAM-Signature: 519,48025edb11548682447362 > > .... > > > debug output: > 6361: [04/13/2008 22:32:25] assembling component 0 > 6361: [04/13/2008 22:32:25] delivering message > 6361: [04/13/2008 22:32:25] DSPAM Instance Shutdown. Exit Code: 0 > ---->> 6361: [04/13/2008 22:32:25] SEND: . > 6361: [04/13/2008 22:32:25] checking trusted user list for root(0) > > As you have seen above, the main difference in the output is "SEND:" > value after "DSPAM Instance Shutdown. Exit Code: 0" line. > If I issue --stdout, I got a "250 2.6.0" message, But when I issue > --deliver=stdout, I got "." message which is correct! > > As a result, It seems that --stdout is not same as --deliver=stdout > completely. > > Best Regards. > > Friday, April 11, 2008, 5:29:02 PM, you wrote: > > > Hi, > > > I have the same problem. I don't find a fix so I use DSPAM without > > the client/server mode. It's not a good solution but I don't find > > anything else. > > > I'm interesting to find another better way. > > > Best regard > > -- > > .`'`. BONNETOT Jean-Daniel > > : ': : > > `. ` .` PRIVIANET > > `'` Sys & Net Admin > > > > Thu, 10 Apr 2008 20:59:43 +0300, Ibrahim Harrani : > > [dspam-users] Client exited with error -5 > >> Hi, > >> I am using dspam 3.8.0. > >> When I issue dspam --client --stdout --user [EMAIL PROTECTED] < > >> mail.txt on some mails mostly with the ones contain Turkish > >> characters (the problem is also exist on the some latin1 charset > >> mails. But it is happening rarely) > >> I got the "Client exited with error -5" error. > >> > >> debug: > >> 44: [04/10/2008 20:53:51] [burton] [0.001640] E: > >> 6710669315172990976 (3frq, 6s, 194i) > >> 27644: [04/10/2008 20:53:51] [burton] [0.001657] E: > >> 4770399929746296832 (1frq, 0s, 32i) > >> 27644: [04/10/2008 20:53:51] Graham-Bayesian Probability: 0.000000 > >> Samples: 15 27644: [04/10/2008 20:53:51] Burton-Bayesian > >> Probability: 0.000000 Samples: 27 27644: [04/10/2008 20:53:51] no > >> factors specified; using default 27644: [04/10/2008 20:53:51] > >> Result Confidence: 1.00 27644: [04/10/2008 20:53:51] total > >> processing time: 0.05425s 27644: [04/10/2008 20:53:51] saving > >> signature as 47fe542f276441360214774 27644: [04/10/2008 20:53:51] > >> libdspam returned probability of 0.002278 27644: [04/10/2008 > >> 20:53:51] message result: NOT SPAM 27644: [04/10/2008 20:53:51] > >> DSPAM Instance Shutdown. Exit Code: 0 27644: [04/10/2008 > >> 20:53:51] checking trusted user list for root(0) 27771: > >> [04/10/2008 20:53:52] Client exited with error -5 > >> > >> > >> If I dont specify the --stdout option there is no problem. I > >> searched in the mailing lists, It seems that > >> the problem solved in the previous version of the dspams. But it > >> seems that it is still exist > >> > >> Do you have any idea about the root cause of the problem. > >> I tried with MySQL and PostgreSQL backend, the result is the same. > >> > >> Thanks > >> > >> > >> > > >
