feat: setup the mail filter
All checks were successful
Build_Deploy / linter (push) Successful in 36s
Build_Deploy / build (push) Successful in 1m1s
Build_Deploy / deploy_dns (push) Successful in 1m32s
Build_Deploy / deploy_active (active-core) (push) Successful in 2m59s
Build_Deploy / deploy_active (active) (push) Successful in 3m28s
Build_Deploy / deploy_active (active-ext) (push) Successful in 32s

This commit is contained in:
silver 2025-03-21 16:54:25 +00:00
parent bf10347dca
commit 70263f4b1f
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
4 changed files with 19 additions and 3 deletions

View file

@ -288,8 +288,16 @@ in {
# set up dns record for it
services.skynet.dns.records =
[
# core record
{
# This is the mail gateway, try to send all mail to it first
# Lower number = higher priority
record = "@";
r_type = "MX";
# the number is the priority in teh case of multiple mailservers
value = "5 mimi.${cfg.domain}.";
}
{
# this is the main email server
record = "@";
r_type = "MX";
# the number is the priority in teh case of multiple mailservers