Files
infra/mini-pc/maddy/maddy.conf
T
Dmitry 5ef1d4830e
Deploy mini-pc / deploy (push) Successful in 39s
Configure Maddy for Yandex SMTP relay
2026-05-31 12:17:28 +03:00

27 lines
565 B
Plaintext

hostname {env:MADDY_HOSTNAME}
state_dir /data
runtime_dir /run/maddy
tls off
smtp tcp://0.0.0.0:2525 {
hostname {env:MADDY_HOSTNAME}
dmarc no
limits {
all rate 30 1m
}
source {env:RELAY_ALLOWED_FROM} {
default_destination {
deliver_to smtp {env:RELAY_SMTP_TARGET} {
debug yes
auth plain {env:RELAY_SMTP_USERNAME} {env:RELAY_SMTP_PASSWORD}
starttls no
}
}
}
default_source {
reject 550 5.7.1 "Sender domain is not allowed"
}
}