Guilhem Saurel il y a 7 ans
Parent
commit
0b6094b6d3
1 fichiers modifiés avec 31 ajouts et 0 suppressions
  1. 31 0
      mail/howto.md

+ 31 - 0
mail/howto.md

@@ -0,0 +1,31 @@
+# Install
+
+`pacman -S msmtp-mta`
+
+# Configure
+
+`/etc/msmtprc`:
+```
+account default
+host mail.gandi.net
+auth on
+from services@oxyta.net
+user services@oxyta.net
+password PASSWORD
+tls on
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
+
+aliases /etc/aliases
+
+syslog LOG_MAIL
+```
+
+`/etc/aliases`:
+```
+root: services+root-HOSTNAME@oxyta.net
+default: services+HOSTNAME@oxyta.net
+```
+
+# Test
+
+`echo "test." | msmtp -a default root`