diff --git a/doc/postfix-local.txt b/doc/postfix-local.txt new file mode 100644 index 0000000..1f695ad --- /dev/null +++ b/doc/postfix-local.txt @@ -0,0 +1,10 @@ +Capture all emails to prevent accidental spam + +edit /etc/postfix/main.cf +add: canonical_maps = regexp:/etc/postfix/canonical-redirect +create /etc/postfix/canonical-redirect +enter: /^.*$/ your_email@domain.com + +or, if you're not setting up SMTP relay below, change your_email@domain.com to your username on your Mac, which will deliver mail to your local account (I'm not sure how you'd read it though, so that's why I also set up the SMTP relay business). + +From the command line, execute sudo postmap /etc/postfix/canonical-redirect . This command will create the file /etc/postfix/canonical-redirect.db which postfix will find automatically. Just in case, also execute sudo postfix reload although you'll probably get an error message that postfix isn't running (which is OK, but if it was, this would be needed to pick up the changes to main.cf). diff --git a/zsh/exports b/zsh/exports index f497d48..e712d5f 100644 --- a/zsh/exports +++ b/zsh/exports @@ -37,7 +37,7 @@ export LESS="-R" export LC_CTYPE=$LANG # ruby -export RBENV_VERSION="2.1.5" +export RBENV_VERSION="2.2.0" # docker -- boot2docker config export DOCKER_TLS_VERIFY=1