-------- Original-Nachricht -------- > Datum: Wed, 23 Jul 2008 03:48:52 +0300 > Von: [EMAIL PROTECTED] > An: Dspam users <[email protected]> > Betreff: Re: [dspam-users] DSPAM on FreeBSD 7-STABLE freezes after 1-2 days
> Hi all, > Hallo > Thanks for your help. I was on vacation, so I didn't have much time to log > on and check my Email. > In any case, the error I see in Postfix's log is this: > > Jul 23 03:37:41 servername postfix/lmtp[99283]: 8D07811684: > to=<[EMAIL PROTECTED]>, relay=none, delay=17, > delays=17/0.01/0/0, > dsn=4.4.1, status=deferred (connect to > servername.example.com[dspam/socket]: Connection refused) > > I've forced logging to be off. > > FreeBSD is 7.0-STABLE (amd64), running on HP 380DL with dual Xeon's. > That's > the 64-bit version of FreeBSD. > > By the way, the above DSPAM session ran alone as I didn't connect Postfix > to it. Just to see if it dies by itself, or because of external sources > like Postfix. By telnet'ing to a specific port specified in master.cf, I > can selectively re-route messages through it (like the one above, which > failed -- deferred). All regular messages are re-routed without DSPAM. > > So I guess DSPAM dies all by itself after few days... Anyone got an idea > how to debug this? > See below an old post from the Gentoo forum. There you should see enough information how to hunt and nail down an problem in DSPAM. > Noor > > P.S.: The below patch is still relevant for my case? > Yes! The patch is anyway needed. Look here about what happened and how we solved it: http://forums.gentoo.org/viewtopic-p-4524875.html Here is the patch mentioned with link to the original Gentoo Bugzilla entry: http://forums.gentoo.org/viewtopic-p-4601849.html#4601849 // Steve > > > On Wed, 09 Jul 2008 21:02:02 +0200, "Steve" <[EMAIL PROTECTED]> wrote: > > > > -------- Original-Nachricht -------- > >> Datum: Wed, 09 Jul 2008 09:50:01 -0500 > >> Von: Troy Ayers <[EMAIL PROTECTED]> > >> An: dspam-users <[email protected]> > >> Betreff: Re: [dspam-users] DSPAM on FreeBSD 7-STABLE freezes after 1-2 > > days > > > >> Ion-Mihai Tetcu wrote: > >> > On Tue, 08 Jul 2008 13:03:47 -0500 > >> > Troy Ayers <[EMAIL PROTECTED]> wrote: > >> > > >> > > >> >> Noor Dawod wrote: > >> >> > >> >>> Hello folks, > >> >>> > >> >>> I have DSPAM run on FreeBSD 7-STABLE with latest Postfix, Postgrey, > >> >>> Dovecot and Amavisd. The DSPAM is running as a content filter > >> >>> defined in master.cf (--daemon option). > >> >>> Every one or two days, the DSPAM daemon stops listening to incoming > >> >>> connections and Postfix defers all deliverable messages because > >> >>> DSPAM doesn't accept connections. > >> >>> > >> >>> Anyone has an idea what to do in order to debug this problem? > >> >>> > >> >>> Thanks, > >> >>> > >> >>> /Comrax > >> >>> > >> >>> > >> >> I don't have any ideas on debugging the problem. IIRC, some > previous > >> >> version of dspam would freeze unless logging was disabled. Try > >> >> disable logging? (I can't find any archived messages to backup my > >> >> assertion though) > >> >> > >> >> I'm curious. You running 64bit version of Freebsd? > >> >> > >> >> What version of DSPAM? > >> >> > >> >> At any rate I use dspam but not deamonized, because of stability > >> >> problems such as what you describe. > >> >> > >> > > >> > Can you elaborate? I'm not sure, but I don't remember a bug report > >> > about this. Did I miss you email or forgot about it? > >> > > >> > > >> There not much to tell really. In my case I was running dspam 3.6.4 > >> (later I tried 3.6.6 then 3.6.8), on RHEL4 on X86_64. > >> > >> http://mailing-list.nuclearelephant.com/2883.html > >> > >> At the time, I believe there was no facility to file a bug report. > >> > > I think this was due the bug in bnr debugging and was/is fixed with this > > patch: > > --- src/libdspam.c 2006-07-17 02:14:02.000000000 +0200 > > +++ src/libdspam.fix_bnr_debug.c 2007-12-10 20:33:53.905085288 > > +0100 > > @@ -986,8 +986,10 @@ > > if (CTX->flags & DSF_NOISE) { > > nobnr_result = _ds_calc_result(CTX, heap_nobnr, diction); > > > > - if (CTX->factors) > > + if (CTX->factors) { > > _ds_factor_destroy(CTX->factors); > > + CTX->factors = NULL; > > + } > > CTX->result = x; > > CTX->probability = DSP_UNCALCULATED; > > } > > > > > >> > >> -Troy > >> > >> > >> > >> > > > > -- > > Psssst! Schon vom neuen GMX MultiMessenger gehört? > > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger > > > > > > > > -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer !DSPAM:1011,4886c94f150921916783311!
