This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
MADDY_HOSTNAME=mail.ada-dev.ru
|
MADDY_HOSTNAME=mail.ada-dev.ru
|
||||||
MADDY_DOMAIN=ada-dev.ru
|
MADDY_DOMAIN=ada-dev.ru
|
||||||
|
RELAY_ALLOWED_FROM=vaultwarden@ada-dev.ru
|
||||||
RELAY_SMTP_TARGET=tcp://smtp.example.com:587
|
RELAY_SMTP_TARGET=tcp://smtp.example.com:587
|
||||||
RELAY_SMTP_USERNAME=apikey
|
RELAY_SMTP_USERNAME=apikey
|
||||||
RELAY_SMTP_PASSWORD=changeme
|
RELAY_SMTP_PASSWORD=changeme
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ smtp tcp://0.0.0.0:2525 {
|
|||||||
all rate 30 1m
|
all rate 30 1m
|
||||||
}
|
}
|
||||||
|
|
||||||
source {env:MADDY_DOMAIN} {
|
source {env:RELAY_ALLOWED_FROM} {
|
||||||
default_destination {
|
default_destination {
|
||||||
deliver_to smtp {env:RELAY_SMTP_TARGET} {
|
deliver_to smtp {env:RELAY_SMTP_TARGET} {
|
||||||
auth plain {env:RELAY_SMTP_USERNAME} {env:RELAY_SMTP_PASSWORD}
|
auth plain {env:RELAY_SMTP_USERNAME} {env:RELAY_SMTP_PASSWORD}
|
||||||
|
|||||||
Reference in New Issue
Block a user