-------- Original-Nachricht -------- > Datum: Mon, 20 Jul 2009 21:58:52 +0200 > Von: Andreas Schneider <m...@cynapses.org> > An: dspam-devel@lists.sourceforge.net > CC: "Steve" <steeeeev...@gmx.net> > Betreff: Re: [Dspam-devel] DSPAM Design Problems
> On Monday 20 July 2009 21:37:02 Steve wrote: > > Hallo Andreas > > > > Hi Steve, > > > > after 3.9.0 we should start to work on a better design of dspam. There > is > > > a > > > big problem which should/could be avoided. > > > > > > If you run dspam in daemon mode and a user should be able to call > dspam > > > as a > > > client, you have to set the suid bit for dspam. So that dspam is able > to > > > read > > > the config file to get the credentials to connect to the daemon. This > > > should > > > be changed. > > > > Okay. So just the client to server credential. Do I see that right? > > Are there other client options? > The only credential options popping into my mind right now are the one for delivery. Beside that all the connection stuff is directly handled by the DSPAM daemon. > I don't remember one. Everything else is > the > job of the daemon. Maybe there will be more in future. > Let's see how creative we as the DSPAM community will get in the feature. > > > There should be a client only configuration file. You should be able > to > > > load > > > it from the home directory or specify the config via the command line > or > > > the > > > credentials. > > > > I could add that. I mean the extra parameter to allow loading an > > alternative dspam.conf. > > This would be great. > I have done that some time ago. But not only for the credentials. The whole dspam.conf. I need to dig that code again out and look how to just implement the credential part. > > > Working on this we should start to improve libdspam, cause of the > above > > > problem you can't really make use of it. Maybe the dspam client should > > > use libdspam. So you have already a test tool for the library. > > > > We have that already in place in 3.9.0 :) > > The idea is to implement dovecot-antispam with libdspam. I've already > tried to > do this with 3.8 but failed, cause of the above problems and that the > libdspam > interface was incomplete iirc. > > My coding queue is pretty full atm. I try to find a slot to look at > libdspam > again. > Welcome to the club :) > > -- andreas > Gruss Steve -- Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel