Python is capable of reading mailbox format directly why go through the overhead of pop or imap to read the emails Why not read the mailboxes directly.
I would do like mailman does. Install a real smtp server in front and let him handle all the mail problems ie: sender checking, accesslist, spam filtering, dns stuff, etc, etc and then for each mail who went trough call a Python program using pipe or LMTP protocol directly from the MTA, to send the mail to the application. my 2c. -fred- On Mar 14, 2007, at 11:59 PM, Kevin Horn wrote: > You could also have incoming mail directed to a regular mailbox, > then access it using IMAP, POP, whatever from the std library > modules, perhaps on a schedule controlled by the TG Scheduler. > > I'm not sure how Mailman does it... > > Kevin Horn > > On 3/14/07, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > On Wednesday 14 March 2007 08:35, Kevin Monceaux wrote: > > Anyway, one site is for a local canine agility group. The group > > currently has a couple of Mailman e-mail lists for group > communication. > > I would like to be able to integrate some of the mailing list > > functions(searchable private archives, users' mailing list settings, > > etc.) into the site such that users would only have one userid/ > password, > > preferably via the TurboGears identity system, to worry about. > > No, I've not done something like this, but as Mailman is written in > Python, > you would probably be able to use some of the modules from Mailman > directly > in your TG app. Of course, you might have to deal with different file > ownerships. The most recent version of MM (trunk, maybe?) has an > SQLAlchemy > back end for all its data, so you could even interface that way, or > use the > MM models directly. > > j > > -- > Joshua Kugler > Lead System Admin -- Senior Programmer > http://www.eeinternet.com > PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: > 907-456-3111 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

