diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-18 13:28:48 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-18 13:44:40 +0100 |
commit | 9c3577603bcfabbcad1fdc42d49ce6ed9840bccc (patch) | |
tree | 6650b58fea3beee7c9f737846ef77751552593d2 /system-files/smtpd.conf | |
parent | b28ce4425ccdef8e3d71f483e26224012302cbf0 (diff) | |
parent | de2092343301239ff4f5c0aa3f80688346c4b777 (diff) |
Merge the Izumi repository
The ultimate goal of this change is to bring all my personal code into single
repository.
Diffstat (limited to 'system-files/smtpd.conf')
-rw-r--r-- | system-files/smtpd.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/system-files/smtpd.conf b/system-files/smtpd.conf new file mode 100644 index 0000000..9fe7503 --- /dev/null +++ b/system-files/smtpd.conf @@ -0,0 +1,24 @@ +# The prefix on GUIX is not the default one — it is /etc . +table aliases file:/etc/aliases + +# The mail certificates are issued by Let‘s Encrypt and served by NGINX +pki marekpasnikowski.pl cert "/etc/letsencrypt/live/marekpasnikowski.pl/fullchain.pem" +pki marekpasnikowski.pl key "/etc/letsencrypt/live/marekpasnikowski.pl/privkey.pem" + +# Listen for local messages. +listen on lo + +# Listen for messages from the internet. +listen on enp1s0 tls port 25 pki "marekpasnikowski.pl" +listen on enp1s0 smtps port 465 pki "marekpasnikowski.pl" + +# There is no filtering in the design, so the two actions are enough. +action receive maildir alias <aliases> +action send relay + +# Match incoming messages. +match from local for local action receive +match from any for domain "marekpasnikowski.pl" action receive + +# Match outgoing messages. +match for any action send |