The cart is empty

In today's digital era, protection against unsolicited emails (spam) and phishing attacks is a crucial component of electronic communication security. Gmail, as one of the most popular email services, implements various verification methods to ensure that emails are indeed sent by legitimate sources. This article focuses on a specific case where an email sent from the domain mydreams.cz was blocked by the Gmail server (gmail-smtp-in.l.google.com [142.250.27.27]) with an error message stating that the sender failed to authenticate through SPF or DKIM mechanisms.

Problematic Situation
The sender from the domain mydreams.cz attempted to send an email to Gmail, but the message was returned with error codes 550-5.7.26. The primary reason for rejection was that the sender was not properly authenticated using the Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM) protocols. Both of these standards serve to verify the identity of the email sender to prevent email address misuse.

Analysis of SPF and DKIM Mechanisms

SPF (Sender Policy Framework)
SPF is an email authentication system that allows domain owners to specify which email servers are authorized to send emails on behalf of their domain. In this case, the SPF record for the domain mydreams.cz did not include the IP address 178.238.41.76, leading Gmail to identify the message as potentially illegitimate.

DKIM (DomainKeys Identified Mail)
DKIM provides a way to verify that the content of an email has not been altered during transmission and to confirm that the email was sent from an authorized server of the given domain. In our case, the DKIM verification did not pass, indicating that the message could have been altered or not sent from an authorized server.

Solution and Recommendations

To resolve the issue, it is necessary to take the following steps:

  1. Review and Update SPF Record: It is important to check the SPF record for the domain mydreams.cz and ensure that it includes all IP addresses used for sending emails, including the address 178.238.41.76.

  2. Configure and Test DKIM: Ensure that DKIM is properly set up for the domain mydreams.cz, including generating a valid DKIM key and adding it to the DNS records of the domain. Furthermore, it is recommended to use DKIM testing tools to verify the correctness of the configuration.

  3. Monitoring and Review: After updating SPF and DKIM records, it is crucial to regularly monitor sent emails to identify and address any delivery issues.


Issues with sender email authentication can lead to message blocking and negatively impact email delivery. Proper configuration of SPF and DKIM is crucial to ensure that emails are considered legitimate and delivered to recipients. In cases like this, it is important to quickly identify and address the causes to minimize potential impacts on client communication and business operations.