Files
infra/mini-pc/maddy/maddy.conf
T
Dmitry 5168b22eba
Deploy mini-pc / deploy (push) Failing after 40s
Refactor Maddy relay delivery queue
2026-05-31 12:20:53 +03:00

37 lines
679 B
Plaintext

hostname {env:MADDY_HOSTNAME}
state_dir /data
runtime_dir /run/maddy
tls off
target.smtp yandex_smtp {
debug yes
targets {env:RELAY_SMTP_TARGET}
auth plain {env:RELAY_SMTP_USERNAME} {env:RELAY_SMTP_PASSWORD}
starttls no
}
target.queue outbound_queue {
target yandex_smtp
location outbound_queue
max_tries 4
debug yes
}
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 &outbound_queue
}
}
default_source {
reject 550 5.7.1 "Sender domain is not allowed"
}
}