I'd like to add a piece of functionality to an app that behaves similar to Posterous; in other words, a user would send an email to [email protected]. A script would then pick up the email and do something with it. It would also need some sort of authentication, though I think this question answers most of that.
Would I just set up a mail account and then access it via IMAP? Or is there a better way? Would there be a recommended mail server to use for something like this?
The app itself is in Rails, though this script can be in just about anything, I'm comfortable with .NET, python, ruby, or a couple others, though ideally it'd have to easily run on linux.