[Zope3-dev] SMTP Server question

Steve Spicklemire steve@spvi.com
Thu, 4 Apr 2002 16:10:01 -0500


Hmm.. in what context would the SMTP server be created? I would think 
that a maildispatcher would be a logical argument to its constructor! 
There could be a "defaultmaildispatcher" that does something dumb... but 
folks should be permitted to create other maildispatchers that satisfy 
the IMailDispatcher interface. Of course.. I know nothing about creating 
servers, except how they were created in Zope2. Is it anything like that?

-steve

On Thursday, April 4, 2002, at 03:51 PM, 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?
>
> 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.
>
> 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.
>
> --RDM
>
>
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope3-dev