I’m posting my email setup here. The end result will:
- Use Postfix for SMTP
- Use Dovecot for IMAP and authentication
- Store usernames, email forwards, and passwords in a Postgres SQL database
- Only be accessible over encrypted channels
- Pass all common spam checks
- Support SMTP sending and IMAP email checking. I did not include POP3 because I don’t use it, but it should be easy to add
- NOT add spam filtering or web mail (this article is long enough as it is, maybe in a follow-up)
My newest site: http://moreorcs.com/
The site generates orc-themed emails for you, which you can get emailed at (completely insecurely, it’s just a web address at mailinator to see the content). Please check out mailinator’s site, it’s a really neat project.
- the last small poop orc (firstname.lastname@example.org)
- poop gross green blood thirsty orc
- 49 cross-eyed slightly intimidating poop dumb orcs
- the last slightly intimidating orc
- quite a lot of slightly intimidating small orcs
- 73 slightly intimidating small pretty orcs
- smelly orc
- a few orcs
- lots and lots and lots and lots and lots and lots of orcs
I set up an automatic archiver for gmail, using the special-purpose tool gm-vault. It was fairly straightforward, no tutorial here. The daily sync:
@daily cd ~gmail && cronic gmvault sync -d "/email@example.com" firstname.lastname@example.org
I’m specifying a backup folder here (-d) so I can easily support multiple accounts, one per line.
Cronic is a tool designed to make cron’s default email behavior better, so I get emailed only on actual backup failures.