Add Maddy relay on mini-pc
Deploy mini-pc / deploy (push) Failing after 14s
Deploy cloud-pc / deploy (push) Failing after 34s

This commit is contained in:
Dmitry
2026-05-30 20:20:54 +03:00
parent 6742f89420
commit fb5003ef0c
4 changed files with 47 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
hostname {env:MADDY_HOSTNAME}
state_dir /data
runtime_dir /run/maddy
smtp tcp://0.0.0.0:2525 {
hostname {env:MADDY_HOSTNAME}
dmarc no
limits {
all rate 30 1m
}
source {env:MADDY_DOMAIN} {
default_destination {
deliver_to smtp {env:RELAY_SMTP_TARGET} {
auth plain {env:RELAY_SMTP_USERNAME} {env:RELAY_SMTP_PASSWORD}
starttls yes
}
}
}
default_source {
reject 550 5.7.1 "Sender domain is not allowed"
}
}