diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-18 13:41:05 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-18 15:26:52 +0100 |
commit | a3b6332725871146e4fcf13e2e739ab13ee8d5ff (patch) | |
tree | 9104ac47a4823b9ea74289389ec52fe1b37fb76a /systems/izumi/system-files | |
parent | 9c3577603bcfabbcad1fdc42d49ce6ed9840bccc (diff) |
Transfer Izumi files to a dedicated subfolder
This change is needed to accomodate existence of other configurations in the
same repository.
Diffstat (limited to 'systems/izumi/system-files')
-rw-r--r-- | systems/izumi/system-files/smtpd.conf | 24 | ||||
-rw-r--r-- | systems/izumi/system-files/sudoers | 3 |
2 files changed, 27 insertions, 0 deletions
diff --git a/systems/izumi/system-files/smtpd.conf b/systems/izumi/system-files/smtpd.conf new file mode 100644 index 0000000..9fe7503 --- /dev/null +++ b/systems/izumi/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 diff --git a/systems/izumi/system-files/sudoers b/systems/izumi/system-files/sudoers new file mode 100644 index 0000000..6af6e3b --- /dev/null +++ b/systems/izumi/system-files/sudoers @@ -0,0 +1,3 @@ +root ALL=(ALL) ALL +%wheel ALL=(ALL) ALL +Defaults passwd_timeout=0 |