News for hackers. Stuff that matters.
Re:Amazon EC2 gets static IPs. by kirubakaran on Thursday March 27, 2008 @02:57PM (#147956)
Great! Thanks.

Can you please point me to some how-to about acting on incoming email using Python? I look far and wide but couldn't find much.

Re:Amazon EC2 gets static IPs. by SwellJoe on Thursday March 27, 2008 @04:40PM (#148057)
I have no idea. I haven't worked with Python in several years. But, I know that both Mailman and Trac are written in Python and they both do stuff with incoming mail...so, there's certainly some python code out their for dealing with incoming mail. That's where I'd start my search if I were in your shoes.
Re:Amazon EC2 gets static IPs. by kirubakaran on Thursday March 27, 2008 @04:48PM (#148065)
Thanks.
Re:Amazon EC2 gets static IPs. by alphamule on Saturday March 29, 2008 @07:38PM (#149745)
one way to do it is to use procmail to filter incoming mail and piping the ones you are interested into your python program which will take the rfc822 message on stdin. the email module (http://docs.python.org/lib/module-email.html) will let you parse these messages.

this is provided that your MX dns entry points to your machine and that you have the appropriate ports unlocked, of course.