summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Braud-Santoni <nicoo@ffgraz.net>2016-08-21 00:16:45 +0200
committerNicolas Braud-Santoni <nicoo@ffgraz.net>2016-08-21 00:16:45 +0200
commite4031d1c096dd7008d88bcb17c8cf1831f2b52d9 (patch)
tree32b6320465e09a0d5f354e86ecab1ef4deef6f90
parent664d4179d8f661747f09a9e2982d46793181b56a (diff)
Add a MTA for sending mails
It turns out that ActionMailer's SMTP implementation is too deficient to interoperate with Postfix.
-rw-r--r--manifest.yaml4
-rw-r--r--msmtprc2
2 files changed, 6 insertions, 0 deletions
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