Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing to another zonemta node not working #431

Open
kostov531 opened this issue Nov 17, 2024 · 1 comment
Open

Routing to another zonemta node not working #431

kostov531 opened this issue Nov 17, 2024 · 1 comment

Comments

@kostov531
Copy link

Hello,
i have a 2 instances of zonemta.

First one - mta01.xyz.com
Second one - mta02.xyz.com

I'm trying to setup things like this:

Email to @gmail.com --- > mta01.xyz.com --- > mta02.xyz.com ---> MX

Unfortunately I got MTA-STS errors.

info SMTP/feeder/9277 CONNECTION id=aucxk3jx3ozpmrsf src=mta01[**<mta01 ip address>**]:53792

info Queue/9277 id=aucxk3jx3ozpmrsf 1933a7bf30a00017fe QUEUED (message-id=<[email protected]> [email protected] [email protected] src=**<mta01 ip address>** subject="Test" body=9 md5=67abb441a8c2)

info Sender/default/9278[1] id=aucxk3jx3ozpmrsf 1933a7bf30a00017fe.001 CONNECTING domain=gmail.com port=2525

ERR! Sender/default/9278[1] id=aucxk3jx3ozpmrsf 1933a7bf30a00017fe.001 CONNFAIL domain=gmail.com local=mail56.xyz.pl[<second ip address of mta01] remote=xxx.xxx.xxx.xxx:2525 error=MTA-STS policy check failed for mta02.xyz.com[<**mta02 ip address>**] for gmail.com

ERR! Sender/default/9278[1] id=aucxk3jx3ozpmrsf 1933a7bf30a00017fe.001 ERRCONNECT domain=gmail.com error=MTA-STS policy check failed for mta02.xyz.coml[<mta02 ip address>] for gmail.com

info Sender/default/9278[1] id=aucxk3jx3ozpmrsf 1933a7bf30a00017fe.001 REJECTED[policy] [email protected] [email protected] src= mx=gmail.com id=<[email protected]> (Policy error: MTA-STS policy check failed for mta02.xyz.com[<mta02 ip address>] for gmail.com)
info Sender/default/9264 All SMTP sessions end id=aucxk3jx3ozpmrsf

MTA01 - zones/gmail.toml

[gmail]
preferIPv6 = false
ignoreIPv6 = false
processes = 1
connections = 2
pool = "default"
recipientDomains = "gmail.com"
host = "mta02.xyz.com"
port = "2525"
user = ""
pass = ""

What am I doing wrong? It looks like MTA01 is checking MTA-STS as if MTA02 was the destination mail server, instead of passing the message.

@kostov531
Copy link
Author

anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant