On Sat, Oct 25, 2008 at 2:09 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > We have an alias set up in postfix that sends the e-mail to our script > via a pipe. > > The python script imports our Django models, and parses the e-mail > message with the email module, and does what it needs to.
You can also use Python's built-in SMTP server module to set up a lightweight server process, and have your regular MTA forward messages to it. This lets the entire mail-processing routine happen in Python, which is often a bit easier to set up. See Doug Hellmann's recent PyMOTW article on this for some basic details: http://blog.doughellmann.com/2008/10/pymotw-smtpd.html -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---