Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-23 Thread Tony Earnshaw

Tony Earnshaw skrev, on 22-12-2007 10:58:

FWIW I get a SIGSEGV with CVS on FC6 when running dspam from stdin; 
don't get it with 3.8.0.


CVS is a no-go for me.

I'll update my last post about available rpms.


This doesn't happen any more with CVS 0712220843, so I'll leave it as it 
is; happy to go with CVS on FC6.


I lied, it's still sigseving; back to 3.8.0 that doesn't. As I just 
wrote in a post mainly to Steve, I can't honestly see what 
non-descriptive Gentoo patches can possibly do for FC6/RHELL5 where 
dspam 3.8.0 is running well and stably, without memory leaks or 
anything, for weeks at a time.


Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-23 Thread Tony Earnshaw

Tony Earnshaw skrev, on 23-12-2007 15:32:

Steve skrev, on 23-12-2007 12:02:

[...]

I lied, it's still sigseving; back to 3.8.0 that doesn't. As I just 
wrote in a post mainly to Steve, I can't honestly see what 
non-descriptive Gentoo patches can possibly do for FC6/RHELL5 where 
dspam 3.8.0 is running well and stably, without memory leaks or 
anything, for weeks at a time.



Sorry to say: Shit!


No need to be sorry, shit happens.

I have over here the possibility to run DSPAM on CentOS 5.1. Should I 
do that?


Up to you, ain' it? Works for me on RHEL5. I only work with Red Hat 
systems, someoe once forced me to use Debian Sarge (wasn't allowed to 
use Etch) and that was horrible.



What switches have you active in DSPAM?


Well, he offered cautiously, I have my own srpm for RHEL5, which was 
written at the behest of Jonz.



How did you compile it?


See the above. It's available at my ftp site, which I've already given. 
It should build on CentOS5, maybe not recognize the Release. It will 
install to LFH directories, which you might not like.


Any thing other you can tell me in order to reproduce that issue on my 
end?


Oh, sorry, dspam-3.8.0-4.rhl5.src.rpm is the good one.

dspam-cvs0712220843-1.fc6.src.rpm is the one that sigsegvs. That's from 
the CVS. It might say fc6, but it will build ok on Centos5.


It's not patched 3.8.0, just pure CVS:

Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-23 Thread Steve

 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 17:32:45 +0100
 Von: Steve [EMAIL PROTECTED]
 An: Tony Earnshaw [EMAIL PROTECTED]
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] Problem with dspam_admin and other tools

 
  Original-Nachricht 
  Datum: Sun, 23 Dec 2007 15:32:52 +0100
  Von: Tony Earnshaw [EMAIL PROTECTED]
  An: 
  CC: dspam-users@lists.nuclearelephant.com
  Betreff: Re: [dspam-users] Problem with dspam_admin and other tools
 
  Steve skrev, on 23-12-2007 12:02:
  
  [...]
  
   I lied, it's still sigseving; back to 3.8.0 that doesn't. As I just 
   wrote in a post mainly to Steve, I can't honestly see what 
   non-descriptive Gentoo patches can possibly do for FC6/RHELL5 where 
   dspam 3.8.0 is running well and stably, without memory leaks or 
   anything, for weeks at a time.
  
   Sorry to say: Shit!
  
  No need to be sorry, shit happens.
  
 I know, I know...
 
 
   I have over here the possibility to run DSPAM on CentOS 5.1. Should I
 do
  that?
  
  Up to you, ain' it?
 
 Sort of. If you want me to find the error and want to work with me
 together to find/spot the error, then I need your okay. I know that I am free 
 to
 do what ever I like. I am Swiss! We are free. No torture, no repression,
 nothing. I am free as free can be.
 
 
  Works for me on RHEL5. I only work with Red Hat 
  systems,
 
 I work mainly with Gentoo on my end. But on the customers side I have
 everything you could possibly imagine. Red Hat (the old things before Fedora
 Core), SuSE (any flavor. SLES, etc), Debian, RHAS, Debian, HPUX, AIX,
 Solaris, etc, etc...
 
 
  someoe once forced me to use Debian Sarge (wasn't allowed to 
  use Etch) and that was horrible.
  
 LOL. After a while you get used to it. I personally like Red Hat. It is a
 good system. I don't like so much SuSE but that's another story.
 
 
   What switches have you active in DSPAM?
  
  Well, he offered cautiously, I have my own srpm for RHEL5, which was 
  written at the behest of Jonz.
  
 Okay.
 
 
   How did you compile it?
  
  See the above. It's available at my ftp site, which I've already given. 
  It should build on CentOS5, maybe not recognize the Release. It will 
  install to LFH directories, which you might not like.
  
 I will take your spec as the base for the layout. Btw: Why is LFH?
 The only thing regarding where to put stuff on a system I know is FHS
 (File System Hierarchy Standard). Is LFH now something new?
 
 
   Any thing other you can tell me in order to reproduce that issue on my
  end?
  
  Just don't patch with any Gentoo patches ;)
  
 And what about the other patches? BTW: I run DSPAM since years. I had
 3.8.0 in production without any single patch from Gentoo for months. It never
 crashed. Never!
 
 
   Any message triggering that segmentation fault?
  
  This was the line in my cron script that caused it:
  
  /usr/bin/dspam --class=spam --source=error --deliver=spam --user $mail 
  $misclass  /dev/null 21
  
 Can you reproduce this by passing that message again over DSPAM? If this
 is the case, then allow me to ask you if I could have that message? If it is
 nothing sensitive, then I would love to get that message.
 
 
  $mail is the shared group leerlingen.
 
 leerlingen? Probably this is the same as the German word Lehrlinge? LOL.
 I like the NL langauge. Currently working at Heineken in a project. It
 kills me when I hear them some time in a telco breaking out of the English we
 are forced to talk. As a Swiss I understand some of their words. It is
 funny. The ending of a conversation mostly ends with Puss, Puss

Ach! I think it is hey, hey or hay, hay and not puss, puss. But I don't 
remember exactly.


 (I don't know
 if it is written correctly, nor I know what it means). This sounds so
 funny to me :)
 
 
  $misclass is the message.
  
This is what happened:
  
  /etc/cron.hourly/dspam.cron:
  
  /etc/cron.hourly/dspam.cron: line 14:  3620 Segmentation fault 
  /usr/bin/dspam --class=spam --source=error --deliver=spam --user $mail 
  $misclass /dev/null 21
  
  It don't happen with 3.8.0 on RHEL5 nor FC6.
  
 But when it happens with the CVS version it happens immediately or you
 have to wait for DSPAM to crash?
 
 
  Best,
  
  --Tonni
  
 Steve
 
  -- 
  Tony Earnshaw
  Email: tonni at hetnet dot nl
 
 -- 
 Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
 Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-22 Thread Tony Earnshaw

Tony Earnshaw skrev, on 13-12-2007 16:25:

[...]

FWIW I get a SIGSEGV with CVS on FC6 when running dspam from stdin; 
don't get it with 3.8.0.


CVS is a no-go for me.

I'll update my last post about available rpms.


This doesn't happen any more with CVS 0712220843, so I'll leave it as it 
is; happy to go with CVS on FC6.


Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


[dspam-users] Problem with dspam_admin and other tools

2007-12-13 Thread Jani Partanen
Hey dudes,

After I made new build from CVS where is included lot of patches,
dspam_admin and dspam_stat tools at least stopped working.
I did try to retrain message via webui and this is result:
apache   11103 96.5  0.0  14772   704 ?RN   08:50 454:09
/usr/bin/dspam_admin agg pref [EMAIL PROTECTED]
it just hang there. Some happen if I try it from commandline and dspam_stat
do exactly same.
Any ideas what might be a problem?

I run dspam with mysql db.


Pelikaista / Mediatraffic Oy
Jani Partanen
System administrator
tel. +358 505 817 817
e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] 
BEGIN:VCARD
VERSION:2.1
N:Partanen;Jani
FN:Jani Partanen
NICKNAME:JiiPee
ORG:Pelikaista / Mediatraffic Oy
TITLE:System administrator
NOTE;ENCODING=QUOTED-PRINTABLE: =0D=0A
TEL;CELL;VOICE:+358 505 817 817
ADR;WORK:;;Kiventie 1;Vampula;;32610;Finland
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Kiventie 1=0D=0AVampula 32610=0D=0AFinland
ADR;HOME:;;Kirjolohentie 8 a2;Saimaanharju;;54915;Finland
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Kirjolohentie 8 a2=0D=0ASaimaanharju 54915=0D=0AFinland
URL;WORK:http://www.pelikaista.net
BDAY:19740316
KEY;X509;ENCODING=BASE64:
MIIF4zCCA8ugAwIBAgIDBAlKMA0GCSqGSIb3DQEBBQUAMHkxEDAOBgNVBAoTB1Jvb3QgQ0Ex
HjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm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mppaXBlZUBsYXBwZWVucmFudGEudGuBFmppaXBlZUBwdW5rc2J1
c3RlZC5jb22BFWppaXBlZUBwZWxpa2Fpc3RhLm5ldIEcamFuaS5wYXJ0YW5lbkB0YWlwYWxz
YWFyaS5maTANBgkqhkiG9w0BAQUFAAOCAgEAckQdO/e2RQdYnC45HEevwhDCcBPELtYCgGvB
I8eS1ibR8WAtz0pEiMpV4GWicgimU5vsgwHZvnAxNx8yB49xvqlELFYZRmcvVktptKiLaHBR
FdNeUEYzJoJT5AUretzOsf+hsTTPYs39GR5Zob5cnt//ojr7QvgqsJ575ww4txnnMclx6bD8
4E3np0xcss9Z3SH1QB4GKTDV23V8sXG9PIuUrpRt1MP6fWvZnEE2GoJG6Qijuutr5JsToof/
Jez8wmUkrtq0CsmeliNjG6zuYBYXPE9Fw0IM2Dh9NtGwMcMH31pu6glbmEjnwWBH7kF7rqCV
3a/Jc4NtBv3C+h7sI1sKnYpV3cjF632JznOUP5NbeZ0ji7aqbdEIfjZpIbiUMI7nMCMufmu5
P79x8u2iYuV7/oQAu+ieq28t5qFrfzb+0MfCtyABwuQ6244VSpnYC+9d7QfEPgZektR7uVdH
KWxBtMQ3X+HZ/Oq3u6sCEEH6jC/4fzv5vfutr4kbiNTdBDa8I/c0YlvnpODInCOsRGjbCeTx
hyoIvH5Hrh4alMaXnuwl8yam+7GEGSnFCj6P7kaFCc2TRwjEgMtobIu8k6TGCNvwNDGKDYqc
7ye65+OBNMVNBRQfYA7l1dalRDAwBANVR3HBLiKt6CtzT1B6Jf7MtSPaRmQDxudnlmiCJHs=


EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20071008T022046Z
END:VCARD


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-13 Thread Tony Earnshaw

Jani Partanen skrev, on 13-12-2007 15:42:


After I made new build from CVS where is included lot of patches,
dspam_admin and dspam_stat tools at least stopped working.
I did try to retrain message via webui and this is result:
apache   11103 96.5  0.0  14772   704 ?RN   08:50 454:09
/usr/bin/dspam_admin agg pref [EMAIL PROTECTED]
it just hang there. Some happen if I try it from commandline and dspam_stat
do exactly same.
Any ideas what might be a problem?

I run dspam with mysql db.


FWIW I get a SIGSEGV with CVS on FC6 when running dspam from stdin; 
don't get it with 3.8.0.


CVS is a no-go for me.

I'll update my last post about available rpms.

Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-13 Thread Steve

 Original-Nachricht 
 Datum: Thu, 13 Dec 2007 16:25:08 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: 
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] Problem with dspam_admin and other tools

 Jani Partanen skrev, on 13-12-2007 15:42:
 
  After I made new build from CVS where is included lot of patches,
  dspam_admin and dspam_stat tools at least stopped working.
  I did try to retrain message via webui and this is result:
  apache   11103 96.5  0.0  14772   704 ?RN   08:50 454:09
  /usr/bin/dspam_admin agg pref [EMAIL PROTECTED]
  it just hang there. Some happen if I try it from commandline and
 dspam_stat
  do exactly same.
  Any ideas what might be a problem?
  
  I run dspam with mysql db.
 
 FWIW I get a SIGSEGV with CVS on FC6 when running dspam from stdin; 
 don't get it with 3.8.0.
 
Uha! Did you run a debugger to see where you get sigsegv?


 CVS is a no-go for me.
 
 I'll update my last post about available rpms.
 
 Best,
 
 --Tonni
 
 -- 
 Tony Earnshaw
 Email: tonni at hetnet dot nl

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


Re: RE: [dspam-users] Problem with dspam_admin and other tools

2007-12-13 Thread Steve

 Original-Nachricht 
 Datum: Thu, 13 Dec 2007 23:04:33 +0200
 Von: Jani Partanen [EMAIL PROTECTED]
 An: \'Steve\' [EMAIL PROTECTED]
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: RE: [dspam-users] Problem with dspam_admin and other tools

  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On 
  Behalf Of Steve
  Sent: Thursday, December 13, 2007 10:47 PM
  To: dspam-users@lists.nuclearelephant.com
  Subject: Re: [dspam-users] Problem with dspam_admin and other tools
  
  What version did you had before the CVS? I run here all the 
  stuff from CVS plus around 10 more patches and have no issue so far:
 
 I was running and I'm running again 3.8.0 with few patches released on
 list.
 I took webui from CVS because it added some new features and now
 everything
 works fine, so some patch had to do it.
 Do you run 32-bit or 64-bit system? I have 64-bit system.
 
The output above was from 32-bit. Have another system with 64-bit but no DSPAM 
on it.


  Running currently MySQL-5.0.50 but will soon update to 5.0.51 
  or 5.0.52 when it gets public downloadable.
 
 I'm running mysql 5.0.27

5.0.27 or 5.0.50 does not make any difference for DSPAM. I am since weeks 
coding when I have time on a reworked mysql driver for DSPAM. So far I don't 
see any code which should not work on 5.0.27. But I see a lot of possible 
issues... The code inside DSPAM has way to much potential for problems with 
signed/unsigned and 32-bit/64-bit.
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


Re: RE: RE: [dspam-users] Problem with dspam_admin and other tools

2007-12-13 Thread Steve
 Original-Nachricht 
 Datum: Thu, 13 Dec 2007 23:17:41 +0200
 Von: Jani Partanen [EMAIL PROTECTED]
 An: \'Steve\' [EMAIL PROTECTED]
 Betreff: RE: RE: [dspam-users] Problem with dspam_admin and other tools

  
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On 
  Behalf Of Steve
  Sent: Thursday, December 13, 2007 11:13 PM
  Cc: dspam-users@lists.nuclearelephant.com
  Subject: Re: RE: [dspam-users] Problem with dspam_admin and 
  other tools
 
  code inside DSPAM has way to much potential for problems with 
  signed/unsigned and 32-bit/64-bit.
 
 dspam daemon itself was running and operating just fine. It was only all
 external utils what was foobar.

I have not looked at the CVS and don't know what is running there. I will not 
use the CVS stuff. If DSPAM gets a new release then I will look into. But now 
CVS is for me Gentoo patches (most submitted anyway by me) + some other small 
patches + DSPAM 3.8.0

And I run Gentoo and have more patches and fixes then the current CVS. Using 
CVS is in some sort a downgrade for me.

Anyway... could you grep the patches and look which of them does change the 
tools?

Maybe your problem is the patch which does modularize libdspam?

// Steve
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail