2 ms·
Ask HN: Hacking Mail Server
Whats the best way to setup and configure a mail server for your application so that you may parse incoming messages and perform some functionality accordingly.
For instance I have an application in Python/Django for sending free SMS to your friends in Pakistan. I wanna add mail capabilities in it so that every registered user gets an email address like <phone>@isms.pk and any mail sent on it is processed and sent through my SMS gateway. Surely, I wouldn't want a "Mailbox" for each user and periodically check all the mailboxes using IMAP/POP3. Some hacking of MailServer to put some hooks would be a much better idea.
I'm on Ubuntu Linux and my preferred language is Python. Which mail server is the best choice in such scenarios?
- briansmith 18y agoMake all of the <whatever>@isms.pk address aliases of a single mailbox (or forward them all to a single mailbox). Poll that single mailbox for email. Or, try something like http://www.zedshaw.com/projects/sos/ http://www.zedshaw.com/projects/sos/
- icey 18y agoI think Zed's Son of Sam may do what you're after: http://www.zedshaw.com/projects/sos/index.html http://www.zedshaw.com/projects/sos/index.html