Re: A Problem

Ulrich Eck <[email protected]> Tue, 04 Dec 2001 20:18:52 +0100
Newsgroups gmane.comp.web.zope.zmailman
Message-ID <33974272.1007497132@[10.0.0.51]>
> Hello everyone,
>
> 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 thought of the following approaches:
>
> 1. implement sendmail in Zope -- too much time required, but coolest
> solution

I don't think that this does really make sense .. we use postfix for example
which is much more convinient to setup/configure and maintain.
and like others mentioned it will be lot's of work with lot's of risks.


> 2. use XML-RPC -- we can then send only data over, which is bad;
> mmmh, or we send the mail via XML-RPC, instead the MailList.

my experience with XML-RPC is, that it is horribly slow .. it
is definitly not good for larger/high-traffic mailing-lists.

> 3. use ZEO
> -- I do not know whether this will work.

this sounds most straight forward to me.
I could imagine a single process (a small ZEO-Client) that talks to mailman 
via
unix-pipes (also availiable on win) or sockets. with this setup you could 
ensure
the stability of your Zope-Instances and if it is well designed you even 
get
a distributed system out of it where the mailman-server does not 
necessarily needs
to run on the same machine as the management-process.

i tried Shane's PMA (Personal Mail Assistant) that stores mails coming
from a list in zodb and provides an nntp-server to browse through ..
this might be a good example how to parse/store the incoming mails for 
archiving.

http://www.sourceforge.net/projects/zodbex .. use cvs to checkout the 
zodbex/pma
tree if you're interested.

cu

Ulrich Eck
---------------------------------------------------------------------------
net-labs Systemhaus GmbH
Ebersberger Str. 46
85570 Markt Schwaben
fon:   +49-8121-4747-11
fax:   +49-8121-4747-77
email: [email protected]
http://www.net-labs.de