email smtp2go&google relay 2
This commit is contained in:
@@ -68,6 +68,36 @@
|
||||
deliver_to &remote_queue
|
||||
}
|
||||
}
|
||||
# nx2s-email-relay backdor
|
||||
smtp tcp://0.0.0.0:25025 {
|
||||
# tls off
|
||||
|
||||
# 1. Allow incoming mail from the VM for your domains
|
||||
destination postmaster $(local_domains) {
|
||||
deliver_to &local_routing
|
||||
}
|
||||
|
||||
# 2. Prevent the world from using you as an open relay
|
||||
default_destination {
|
||||
reject 521 5.0.0 "User not local"
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
# --- Receive
|
||||
# 1. mx to mail.nx2.site
|
||||
# 2. mail.nx2.site to nx2s-email-relay (google e2-micro)
|
||||
# 3. nx2s-email-relay uses emaul-relay.service to socat 25 to 25025 home
|
||||
# 4. home gets 25025 and handles it
|
||||
|
||||
# -- Send
|
||||
# 1. Via Smtp2go (mail-eu.smtp2go.com)
|
||||
# SPF is coverd by CNAME (return) (somehow)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user