[Zope3-dev] SMTP Server question
Stephan Richter
srichter@cbu.edu
Thu, 04 Apr 2002 15:06:26 -0600
At 03:51 PM 4/4/2002 -0500, R. David Murray wrote:
>On Thu, 4 Apr 2002, Stephan Richter wrote:
> > Shane raised the question today and asked me how I plan to store the data
> > in the ZODB. Obviously there will be a concept of a MailBoxFolder and
> > Mailbox object, but how does the server get to them or know whether
> they exist?
>
>Why is it obvious that there would be a MailBoxFolder and a Mailbox
>object?
Well, in terms of Content.
>When an email comes in to Zope, I think it ought to be "dispatched"
>to a "delivery agent". The delivery agent might then store it in
>a mailbox in a mailbox folder. But in general if I'm getting mail
>into Zope, I don't want to just store it, I want to *process* it,
>which may or may not generate new content objects.
Very good point.
>So how about the SMTP server asks for a "maildispatcher" service
>and just hands the message off? One possible maildispatcher
>service could then be something that uses the mail headers to
>look up a MailBoxFolder/mailbox in a registry.
Another excellent point I have not thought about.
Regards,
Stephan
--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management