This commit is contained in:
@@ -3,6 +3,20 @@ state_dir /data
|
|||||||
runtime_dir /run/maddy
|
runtime_dir /run/maddy
|
||||||
tls off
|
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 {
|
smtp tcp://0.0.0.0:2525 {
|
||||||
hostname {env:MADDY_HOSTNAME}
|
hostname {env:MADDY_HOSTNAME}
|
||||||
dmarc no
|
dmarc no
|
||||||
@@ -12,11 +26,7 @@ smtp tcp://0.0.0.0:2525 {
|
|||||||
|
|
||||||
source {env:RELAY_ALLOWED_FROM} {
|
source {env:RELAY_ALLOWED_FROM} {
|
||||||
default_destination {
|
default_destination {
|
||||||
deliver_to smtp {env:RELAY_SMTP_TARGET} {
|
deliver_to &outbound_queue
|
||||||
debug yes
|
|
||||||
auth plain {env:RELAY_SMTP_USERNAME} {env:RELAY_SMTP_PASSWORD}
|
|
||||||
starttls no
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user