-
Notifications
You must be signed in to change notification settings - Fork 102
Description
Hello,
I'm trying to understand how ZoneMTA handles bounce messages.
My original understanding if the bounce message matches what's in config/bounces.txt it would attempt a redelivery (on a different IP address), but it doesn't seem to be the case, it just goes into deferred and then re-attempts on the same IP that had the issue.
Jul 28 12:59:52 zonemta[4133539]: info Sender/default/4133539[6] id=svd5unyzzguhz22p 1984e8a65b30004db0.001 DEFERRED[network] from=bookings@example.com to=to@example.net src={MYSERVERIP} mx=example.net id=bec241b7-94e5-419a-af9b-c6308d12ec1d@example.com (554 Blocked - see https://ipcheck.proofpoint.com/?ip={MYSERVERIP})
Jul 28 16:59:57 zonemta[4133539]: info Sender/default/4133539[9] id=svd5unyzzguhz22p 1984e8a65b30004db0.001 CONNECTING domain=example.net port=25
Jul 28 16:59:57 zonemta[4133539]: info Sender/default/4133539[9] id=svd5unyzzguhz22p 1984e8a65b30004db0.001 CONNECTED domain=example.net mx=mxa-00680501.gslb.pphosted.com[205.220.185.42] src=reverse[{MYSERVERIP}]
Jul 28 16:59:58 zonemta[4133539]: ERR! Sender/default/4133539[9] id=svd5unyzzguhz22p 1984e8a65b30004db0.001
SMTPERR [0hsxUbalMcA] src={MYSERVERIP} error="Invalid greeting. response=554 Blocked - see https://ipcheck.proofpoint.com/?ip={MYSERVERIP}: 554 Blocked - see https://ipcheck.proofpoint.com/?ip={MYSERVERIP}"
Jul 28 16:59:58 zonemta[4133539]: ERR! Sender/default/4133539[9] id=svd5unyzzguhz22p 1984e8a65b30004db0.001 ERRCONNECT [0hsxUbalMcA] Unexpected MX error. src={MYSERVERIP} error="Invalid greeting. response=554 Blocked - see https://ipcheck.proofpoint.com/?ip={MYSERVERIP}: 554 Blocked - see https://ipcheck.proofpoint.com/?ip={MYSERVERIP}"
Jul 28 16:59:58 zonemta[4133539]: info Sender/default/4133539[9] id=svd5unyzzguhz22p 1984e8a65b30004db0.001 SMTPCLOSE [0hsxUbalMcA] Closed prematurely src={MYSERVERIP} response="554 Blocked - see https://ipcheck.proofpoint.com/?ip={MYSERVERIP}" connected=0.937s.
Looking at the docs more, I can change the sending zone:
delivery.updates.sendingZone = 'someother';
but it means I'd have to use a different block of ips to send from rather than it just not keep sending from the same one. Is there anything around delivery.updates that would allow the IP address be changed if we see deferrals on a single IP address.