From e4031d1c096dd7008d88bcb17c8cf1831f2b52d9 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sun, 21 Aug 2016 00:16:45 +0200 Subject: Add a MTA for sending mails It turns out that ActionMailer's SMTP implementation is too deficient to interoperate with Postfix. --- manifest.yaml | 4 ++++ msmtprc | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 msmtprc diff --git a/manifest.yaml b/manifest.yaml index 7811438..8ccd3f9 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -8,6 +8,7 @@ provider: - WORKDIR /srv/manman - CMD script/server - EXPOSE 3000 + labels: name: "manman-{system.release}-{system.architecture}-{%y}{%m}{%d}" description: "{system.release} container for legacy manman" @@ -45,6 +46,7 @@ packages: - adduser - libmysqlclient16 - libmysql-ruby1.8 + - msmtp-mta - ruby - rubygems @@ -59,6 +61,8 @@ plugins: dst: /srv/manman - src: gemrc dst: /etc/ + - src: msmtprc + dst: /etc/ commands: commands: diff --git a/msmtprc b/msmtprc new file mode 100644 index 0000000..1ff7620 --- /dev/null +++ b/msmtprc @@ -0,0 +1,2 @@ +host 172.17.0.1 +from no-reply@ffgraz.net -- cgit v1.2.1