From c1c61615f3b21f8839d51a17cbd12e88c54e47d4 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 25 Mar 2019 23:18:38 +0100 Subject: [PATCH] Add local SMTP relay conf --- .config/opensmtpd/aliases | 0 .config/opensmtpd/dest | 1 + .config/opensmtpd/smtpd.conf | 10 ++++++++++ 3 files changed, 11 insertions(+) create mode 100644 .config/opensmtpd/aliases create mode 100644 .config/opensmtpd/dest create mode 100644 .config/opensmtpd/smtpd.conf diff --git a/.config/opensmtpd/aliases b/.config/opensmtpd/aliases new file mode 100644 index 0000000..e69de29 diff --git a/.config/opensmtpd/dest b/.config/opensmtpd/dest new file mode 100644 index 0000000..f963398 --- /dev/null +++ b/.config/opensmtpd/dest @@ -0,0 +1 @@ +/etc/smtpd diff --git a/.config/opensmtpd/smtpd.conf b/.config/opensmtpd/smtpd.conf new file mode 100644 index 0000000..8395954 --- /dev/null +++ b/.config/opensmtpd/smtpd.conf @@ -0,0 +1,10 @@ +# This is the smtpd server system-wide configuration file. +# See smtpd.conf(5) for more information. + +# To accept external mail, replace with: listen on all +listen on localhost + +# If you edit the file, you have to run "smtpctl update table aliases" +table aliases file:/etc/smtpd/aliases +table secrets file:/etc/mail/secrets +accept from local for any relay via smtps+auth://utc@smtps.utc.fr:465 auth as "quentin.duchemin@hds.utc.fr"