Nice. Hopefully I can just CNAME something.example.com to mail.mailinator.com, and everything will just work.
Edit: yes, this works perfectly.
It would be nice if there was a quick-and-easy open-source version of an in-memory mail server. I'd like to run my own service, but not enough to write a robust SMTP server from scratch.
I still think that mail servers could really use a disruption. It is still way too complex just to get something simple set up.
I haven't surveyed the field extensively but this has been my experience with the common recommendations. If anyone knows of a server that already exists and would make it trivial to set up basic SMTP/IMAP/POP3 with authentication let me know.
Ideally the only configuration info I would need would be something like this:
and then, a program like mail_server_passwd would ask me for my username and let me set a password, and that would be that. It shouldn't be any difficult to bootstrap a mail server, and right now setting something that has POP3, IMAP, and SMTP up can take hours for experienced admins unless they know the mail server(s) very well ahead of time.
[Warnings: OpenSMTPD apparently hasn't eaten anyone's mail yet, but it's hardly done. By design, it doesn't include as many options as other mail servers, some of which may be useful. I don't think OpenSMTPD been ported to non-OpenBSD yet. calomel.org tends to be out of date, inaccurate or dangerously incomplete.]
OpenSMTPD comes very close to your ideal simple configuration, a 5 line configuration gets you up and running. Tie this together with openbsd's extremely simple pop3 server, you have something that is both extremely simple and easy to set up.
What about using a ramdisk? Of course, it wont be as optimized since the software thinks it's writing to disk, but..
Also, some SMTP servers are probably pretty easy to modify. I use qpsmtpd[1], which is probably quite easy to modify.
Then, all you need is a IMPAD that can read from memory..
I would like to have my mail in something like Redis. It would give easy access from different languages etc..
Edit: yes, this works perfectly.
It would be nice if there was a quick-and-easy open-source version of an in-memory mail server. I'd like to run my own service, but not enough to write a robust SMTP server from scratch.