550 5.7.0 message size violation, and how to fix it

Paste a 550 5.7.0 message size violation bounce to see which server set the limit and how to get your message through.

Try:

Runs in your browser. Nothing is sent or stored.

550 5.7.0: Message size violationA server on the way, or the receiving server, refused the message because it is bigger than its size limit allows.Any server ยท Hard bounce ยท No automatic retry
Browse all 213 codes

1 of 213 codes

  • 550 5.7.0Message size violationAny server
    What it means
    A server on the way, or the receiving server, refused the message because it is bigger than its size limit allows.
    Why it happens
    A large attachment, or a size limit set on that server.
    The fix
    Send a smaller message, or share the file as a link. If the limit is on your own server, raise it.
    Bounce
    Hard bounce. No automatic retry

    Source: support.kerioconnect.gfi.com (opens in a new tab), knowledge.broadcom.com (opens in a new tab). Checked Nov 9, 2026.

Photo of Utku Zihnioglu

By

ยท CEO & co-founder

Updated Nov 11, 2026

Shorter page: the tool first, the answer in a few lines.

A 550 5.7.0 message size violation means a mail server on the way refused your message because it was larger than that server's size limit. Send a smaller message, or share big files as links. The address is fine, so the same person can still get the message.

It is a size problem filed under a security code, which is why it reads like a block. The standard has its own code for a message that is too big, x.3.4 in RFC 3463, and we would rather servers used it.

How to read the result

Paste the whole bounce. The words "Message Size Violation" pick the size meaning, because other bounces share the code: Gmail uses 5.7.0 for content it treats as a security risk and for a refused Workspace relay. If your text says nothing about size, the fix is different.

Then look for the server. A "Remote Server returned" line names the one that refused, and the limit was its own. No remote server usually means your own outgoing server or relay stopped the message before it left.

Why it was bigger than the file

Mail carries attachments as text. The base64 encoding in the MIME standard writes every three bytes of a file as four characters, then adds line breaks, so a file under a limit can arrive over it.

Encryption usually encodes the message again for the trip. An attachment that fits in the clear can cross the limit once encrypted, which is why the encrypted copy bounces while the plain one went through.

What to do next

If the limit is on your own server, raising it is a setting. Otherwise, send a smaller message or a link to the same person.

In a first cold email, we would send a link and no attachment anyway: it does the same job at a fraction of the weight.

550 5.7.0 message size violation: questions

Is a 550 5.7.0 message size violation a hard bounce?

Yes. A code that starts with 5 is a permanent failure, so your server will not send that message again. The address is not the problem, though: a smaller message to the same person can still go through.

Does Gmail return 550 5.7.0 when a message is too big?

Not by Google's own list of Gmail SMTP errors. Gmail's documented size bounce is 552 5.3.4, and its 5.7.0 codes are for risky content and a refused Workspace relay. A 5.7.0 size violation on mail to Gmail was probably written by another server on the way.

How do I find the size limit that refused my message?

Find the server that refused it in the bounce, then check that server's documented limit or ask its admin. Many servers also announce their maximum with the SIZE keyword when your server connects, under the SMTP size extension in RFC 1870.

About this article

Photo of Utku Zihnioglu

Utku Zihnioglu

CEO & co-founder

Serial entrepreneur who built infrastructure companies handling billions of requests. Now leads engineering at Oneprofile, which finds the people worth talking to, researches each one, and follows up until they reply.

Drafted with AI from our product docs and code. Utku Zihnioglu answers for what it says.

Verify the addresses before you send

Oneprofile can verify each address before a sequence sends, and you can start free.

Free plan: 200 credits a month, 3 integrations, no card

Verify the addresses before you send

Oneprofile can verify each address before a sequence sends, and you can start free.

Free plan: 200 credits a month, 3 integrations, no card