Fred C <[EMAIL PROTECTED]> writes: > 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'd go with IMAP if possible. POP if speed is a concern. The reason? Usually web server are not the same servers that send / receive email. Also using these tools you get server independency, you don't need to worry with permissions to read the user's mailbox, you don't have to worry with file corruption, file locking, concurrent access, etc. Accessing the file directly would be my last option and even then I'd duplicate it first, if possible (i.e., no operations that change the file are possible and there must be enough free space on the server...). > 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. If the application is receiving emails I'd go the same route... If it is only sending, I'd go with SMTP for the same independency and interoperability that I stated with the clients above. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

