Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Troubleshooting a "Spam Message Rejected" Error

Update 09/01/2026

This guide will help you resolve an issue if, after sending an email, you receive a message indicating that the email was rejected due to "Spam Message Rejected" or "5.7.0 AV: Message is rejected by headers rule filter.. 554 Please check the message and try again" ...

 

You must check the following

Please check that your email did not contain:

  • words or phrases that are often associated with spam, as they could be identified as unwanted messages and rejected
  • any unusual indication in the signature, a link formulated incorrectly (http//.domain.xyz for example), etc.
  • an attachment with one of these prohibited extensions: .exe, .com, .cmd, .cpl, .hta, .scf, .sct, .lnk, .bat, .js, .jse, .wsh, .ws, .wsf, .wsc, .vbe, .vb, .vbs, .shs, .pif, .scr ... including inside a compressed file (e.g. .zip)

To send a file (e.g., a js or exe file) for which the absence of viruses has been confirmed, store it on your hosting space and create a link to it. If the file is large and you are sending it from the Infomaniak Mail web app (online service ksuite.infomaniak.com/mail), it will in any case be placed on a temporary server, allowing it to be sent to your recipient, who will then receive a download link. Alternatively, use Swisstransfer.com.

 

Also, check your SPF record. If your domain does not have an SPF record or if this record is incorrect, your message will most likely be rejected.

If you believe you are receiving a "Spam Message Rejected" message without reason, contact Infomaniak support.


Has this FAQ been helpful?