Fwd: Re: A Problem
Stephan Richter <[email protected]> Tue, 04 Dec 2001 23:30:54 -0600
| Newsgroups | gmane.comp.web.zope.zmailman |
|---|---|
| Message-ID | <[email protected]> |
>From: John Morton <[email protected]> >Organization: E Services Ltd. >To: [email protected] >Subject: Re: [ZMailman] A Problem >Date: Wed, 5 Dec 2001 12:12:22 +1300 >X-Mailer: KMail [version 1.3.1] > > >I looked into the Mailman code in some more detail and everything should be > >doable, except one thing: The wrapper (the binary the receives the original > >mail) calls a Python script that then loads the Mailing List. But how in > >the world are we going to get the script tap into the Zope instance. > >I wondered when you where going to spot that :-) > > > 3. use ZEO -- I do not know whether this will work. > >I've thought about doing this recently, but haven't had the time to fully >research and try it. My approach would be something like this: > > Replace Mailman's existing storage with Standalone ZODB (which is > moments away from a 1.0 release I gather). Standard mailman could use > a regular FileStorage ZODB, or could just as easily use ClientStorage with > the toggle of a configuration option, and connect to a ZEO server. This > has > quite a few nice consequences: > > - Separation of the email, web and storage components of mailman > across servers becomes straight forward. > > - There's another way around all those NFS locking nasties; don't > do > that, connect to a ZEO server instead. > > - The storage backend used by ZEO is fairly flexible - there already > exists a BerkleyDB storage, and I think there's one for Oracle, > so SQL > database integration is possible. > > - ...but you don't need a ZEO server if you don't want one. > > However, I believe the right way (and perhaps the only way) to allow two > applications to have write access to the same store is to use ZEO, so > zmailman would use this approach and either access the mailman > configuration > ZODB from within some product, or mount the mailman ZODB directly into > zope's ZODB, using [mount client]. > >This is all rather theoretical, though - I haven't tried it out, but it seems >like the best place to start. > >John -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management