IMD SolutionComputing LibraryShop main store

Troubleshooting

Why SMTP 554 5.3.0 service unavailable fails one gateway email

Remote access and virtualization Published 6 min read By IMD Solution engineering team

Short answer

The 554 5.3.0 service unavailable bounce is a rejection returned by the mail side after the message leaves the gateway, not proof of a local fault. Working remote access over cellular does not test the relay. Confirm the failing unit uses relay.talk2m.com and the same recipient as the two units that deliver, clear any DNS or NTP entry in the scheduled action log, rerun the Talk2M wizard, resend and keep the full bounce; if the identical code returns, open the vendor support ticket with the side-by-side evidence.

On this page
  1. What the bounce code actually says
  2. What the three-gateway comparison already proves
  3. Why working remote access is not a delivery test
  4. Isolate the failing unit in this order
  5. Worked example: locate the fault by counting outcomes
  6. The decision for each outcome
  7. Questions asked

Your third gateway's bounce — 554 5.3.0 <#5.3.0 x-unix; service unavailable> — is a rejection returned by a mail server after the message left the unit. It is a verdict from the far end of the transaction, not a local fault report, and working remote access over the cellular network does not test the path that bounced. Three Ewon Flexy gateways run the same weekly send to the same recipient through the same relay address, so the recipient and the relay are proven and the fault travels with the failing unit's own Talk2M session. The order that matches the evidence: confirm the relay and recipient entries on that unit, read its scheduled action log for DNS or NTP faults, rerun the Talk2M wizard, resend, and keep the complete bounce. If the identical code returns, stop changing the gateway and open the vendor support ticket with the side-by-side proof.

What the bounce code actually says #

554 is the SMTP reply code for a transaction that failed: the server that returned it refused the message, and the message was not delivered. The 5.3.0 detail and the text after it are the rejecting system's own annotation. The telling part of your non-delivery report is the phrase Remote Server returned: the code came back from a server on the delivery path downstream of the gateway, not from the unit itself. Microsoft's non-delivery documentation for Exchange Online classifies 554 5.3.0 as usually an issue on the receiving server, and it names the two checks that follow: the validity of the recipient address and the state of the receiving server. Your three-gateway comparison settles the first check; the second is not visible from the plant, which is why the complete, unedited bounce text is the piece of evidence to preserve.

What the three-gateway comparison already proves #

The facts on hand settle most of the map:

Fact on the failing unit What it settles
SMTP server is relay.talk2m.com The unit hands mail to the documented Talk2M relay, the same path the two delivering units run.
Talk2M registration present, remote access works over cellular The registration is live and the cellular link carries traffic; radio, signal, and account state are not the fault.
Recipient address identical on all three units The address itself delivers; an address-level fault is ruled out.
Identical program and function across the three units The sending logic is exonerated; the difference lives in the unit's session, not its code.
Report wording: Remote Server returned The rejection came from a server on the delivery path, after the message left the unit.

Why working remote access is not a delivery test #

Remote access over the cellular network proves the tunnel: the unit is registered, reachable, and moving traffic. The mail send is a separate transaction with different servers — the unit submits the message to the relay, the relay hands it down the delivery path, and any system on that path can return 554. A green check one layer down says nothing about the layer above; it is the same trap as when gRPC ingestion fails while the TCP port test still passes. The only valid delivery test for mail is a delivered message confirmed at the destination. Judge each function on its own traffic — the separation you already apply when troubleshooting a PLC agent that will not go online remotely and the gateway is reachable while the agent session is not.

Isolate the failing unit in this order #

Work on the failing unit alone and leave the two delivering units untouched, so the comparison survives every test:

  1. Confirm the unit's SMTP server is still relay.talk2m.com and its recipient entry matches the working units exactly — one address, no alias, no extra line. This is the cheapest variable to rule out, and any difference here invalidates the three-way comparison.
  2. Open Diagnostic > Logs > Scheduled Actions on the unit and read the entries around the failed send time. DNS failure and NTP sync problems are the documented faults to look for; if DNS resolution failed, correct the DNS servers configured on the unit, and let NTP settle before the next test.
  3. Rerun the Talk2M wizard on the unit. This revalidates its Talk2M registration and rebuilds the relay path it uses.
  4. Trigger the send again and record the outcome with a timestamp. If 554 5.3.0 <#5.3.0 x-unix; service unavailable> returns, keep the complete bounce message, every header and appended line included.
  5. Put that capture beside a successful delivery from either working unit: same relay, same recipient, send time, unit identity, and the full returned SMTP text. The difference between those two records is the entire evidence set for the step after this one.

Worked example: locate the fault by counting outcomes #

Set one week's results side by side and count:

  • Scheduled sends through the shared path: 3
  • Delivered without a bounce: 2
  • Bounced with 554 5.3.0: 3 - 2 = 1

A fault in a variable shared by all three sends — the recipient address, the relay service, the sending program — would fail 3 of 3, because every send exercises it. The observed failure is 1 of 3, so each shared variable is eliminated as the cause. Exactly one thing differs for the failed send: the failing unit's own session on the path, registration and envelope included. That is why the wizard rerun is the fix that matches the evidence — and if the identical code returns after a clean re-registration, the residue sits in relay-side handling of that one unit or in a receiving-side policy reacting to that one envelope, both visible only from the vendor's logs or from the recipient's mail administrator.

The decision for each outcome #

  • The wizard rerun clears it and the resend delivers. The stale registration session was the fault. Watch the next two weekly sends in the scheduled action log before closing the case.
  • The log shows DNS or NTP faults. Fix those first — correct the DNS servers, let NTP sync — then rerun the wizard and resend. A bounce captured while DNS was failing is a different fault from a clean-session rejection.
  • The identical 554 5.3.0 returns after a clean wizard rerun. Stop changing the gateway: its configuration now matches two known-good units. Open a support request on the vendor's support portal with the unit identity, the configured relay and recipient, confirmation that remote access works over cellular, the complete bounce text, the attempt timestamp, and the side-by-side with a delivered send.
  • The recipient or the address changed since the last success. Correct the address first; a changed recipient breaks the three-way comparison, and the count above no longer proves anything.

One rule holds while the channel is down: if the weekly log or any alarm notification is safety-relevant or contractually required, treat the mail path as failed until a complete log lands and receipt is confirmed at the destination.

Questions asked

What does the 554 5.3.0 code on this bounce actually mean?

554 is the SMTP reply code for a failed transaction, meaning the message was refused and not delivered. The 5.3.0 detail is an enhanced status code from the mail-system class, and the wording after it is the annotation the rejecting system attached. Both arrive from the far end of the send, which is why the complete, unedited bounce message is the useful evidence rather than the code alone.

Why did the weekly email stop when nothing was changed?

Nothing in the comparison points to a change on your side: the program, the recipient, and the relay address are shared with two units that still deliver. The documented suspects for a sudden stop sit on the send path: DNS resolution failing at the unit, an NTP sync problem that shifts the send window, or a stale relay session that a wizard rerun rebuilds. Read the scheduled action log from the failed send before concluding the relay itself failed.

Can the gateway use a different SMTP server than the Talk2M relay?

The relay address is a setting on the unit, and the vendor documents the Talk2M relay as the path for sending email and text messages from a registered Flexy. Keep all three units on that same documented relay while the fault is open, because the three-way comparison is what proves the fault belongs to one unit. Change one variable at a time, and only after a wizard rerun has failed to clear the bounce.

Is the weekly data log lost when the email bounces?

No. The bounce is a delivery failure, not a collection failure: the unit keeps acquiring and storing the log under its program, and the working remote access link remains available for reaching the unit directly. Once delivery is restored, send the log again instead of waiting for the next weekly slot, so the missed report goes out within days rather than a week late.

Keep reading

  • Troubleshooting

    Edge gateway shows offline: check the 3.5.16 requirement

    An edge gateway that flipped from green to offline most likely sits on 3.5.15 while the Automation Server lists Edge Gateway 3.5.16.0 or higher as the runtime system requirement. Read the installed version first, then remove and re-add the gateway, replace it through the service tool, update to 3.5.16.0 or higher, and escalate through a CODESYS Store support question if it stays red.

    Edge computing and IIoT

  • Troubleshooting

    Why an edge PC freezes when telemetry stops but CPU is low

    When telemetry stops while CPU stays low and the local console is frozen, the edge PC is running out of memory, not losing its network: in the reported installation a remote-access agent (TeamViewer) grew resident memory until the system locked. Stop and disable that service with systemctl, confirm the htop trend stays flat, then fix the two ports that share one subnet and one gateway.

    Edge computing and IIoT

  • Troubleshooting

    Ping works but PLC program download fails over remote access

    ICMP success proves only the routed IP path, not the programming session. A download opens separate query and download connections on documented TCP and UDP ports, and broadcast discovery does not cross a routed VPN. Point the controller's default gateway at the remote-access router LAN address, permit both programming ports to the controller LAN IP, and add the controller manually by IP.

    Remote access and virtualization