From 10b63aaf60f54f7cbb53c08e73011345b366123c Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 8 May 2014 21:53:42 +0200 Subject: [PATCH] Use mail instead of sendmail in release.sh --- doc/release.md | 12 ++++++++---- release.sh | 5 +---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/release.md b/doc/release.md index e1f72ed..b60b0eb 100644 --- a/doc/release.md +++ b/doc/release.md @@ -45,9 +45,13 @@ sudo yum install python-pip sudo pip install awscli ``` -# Make sure sendmail is installed; for Debian 7 +# Make sure mail is installed ```shell -sudo apt-get install sendmail-bin +# Ubuntu / Debian +sudo apt-get install mailutils + +# Centos +sudo yum install mail ``` As omnibus-build user: @@ -61,7 +65,7 @@ sudo su - omnibus-build - Test email delivery: ```shell -echo "Subject: testing from $(uname -n)" | sendmail $(whoami) +date | mail -s "testing from $(uname -n)" $(whoami) ``` - Configure aws credentials @@ -123,4 +127,4 @@ See a previous [CE example](https://gitlab.com/gitlab-com/www-gitlab-com/merge_r and [EE example](https://dev.gitlab.org/gitlab/gitlab-ee/commit/7301417820404f92ca7c0a9940408ef414ef3c01). [the gitlab-rails version in omnibus-gitlab]: ../master/config/software/gitlab-rails.rb#L20 -[the source]: ../master/config/software/gitlab-rails.rb#L34 \ No newline at end of file +[the source]: ../master/config/software/gitlab-rails.rb#L34 diff --git a/release.sh b/release.sh index dde3566..b9da2df 100755 --- a/release.sh +++ b/release.sh @@ -15,7 +15,4 @@ fi # We assume that email to the current system user will somehow reach the right # human eyes -sendmail $(whoami) <