exim.ro

Enhanced SMTP status code · RFC 3463 · IANA

5.0.350 Generic error, x-dg-ref header is too long , or Requested action not taken: policy violation detected (AS345)

A generic error from the recipient's organisation; the text after the code gives the reason (for example an x-dg-ref header too long in Rich Text mail, or nested attachments).

How 5.0.350 appears at providers

The exact text from the provider's documentation, as you see it in the bounce, and what it means.

Microsoft 365 / Exchange Online

Have the whole error message?

The whole bounce, a line like 550 5.7.26 … or the DSN fields (Status:, Diagnostic-Code:). At most 64 KB.

The text is read in memory only and not kept.

Sources: RFC 5321 · RFC 3463 · RFC 3464 · IANA · Gmail · Microsoft 365 · read on 26 September 2026