From df7b8dda4cd12cc14687df19503ccc85c9b1bc82 Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Thu, 29 Jan 2015 11:35:54 +0100 Subject: [PATCH] ruby version 2.2 --- doc/postfix-local.txt | 10 ++++++++++ zsh/exports | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 doc/postfix-local.txt diff --git a/doc/postfix-local.txt b/doc/postfix-local.txt new file mode 100644 index 00000000..1f695adc --- /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 f497d485..e712d5fe 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