العربية

Why forwarded business email bounces (550 5.7.1) and the reliable alternative

A domain mailbox forwards to Gmail, and some messages come back with "550 5.7.1 Message blocked". Here is why forwarding breaks SPF and DMARC, and two setups that stop the bounces.

· 6 min read
Why forwarded business email bounces (550 5.7.1) and the reliable alternative

You set up a mailbox on your domain, forward it to Gmail so you never miss anything, and it works for weeks. Then a bounce arrives: 550 5.7.1 Message blocked. Some forwarded messages never reach Gmail, and you only find out when someone asks why you never replied.

This happened on my own setup. Here is what the error means, why forwarding causes it, and the two setups I recommend instead.

What the 550 5.7.1 message blocked bounce actually means

SMTP error codes have three parts. The 5 means a permanent failure. The server will not retry. 5.7.1 is the enhanced status code for "delivery not authorized" or "message refused". In practice it means a policy or spam filter rejected the message on purpose. It was not a full mailbox or a typo in the address.

The key detail is who rejected it. With forwarding there are two hops:

  1. The sender's server delivers to your domain mailbox.
  2. Your mail provider's outbound relay re-sends the message to Gmail.

If the bounce comes from the forwarding relay, your provider's own spam filter refused to pass the message on. If it comes from Gmail, Gmail refused it. Read the bounce text. It usually names the server that said no.

The real case: a contact form, a mailbox and a Gmail forward

My site runs on a Hostinger VPS, and my business email (contact@ahmed-adil.com) is Hostinger email. The contact form on the site sent notifications to that mailbox. The mailbox forwarded everything to Gmail, because that is where I read mail on my phone.

Most notifications arrived. Some did not. The ones that failed bounced from the forwarding relay with "550 5.7.1 Message blocked". The domain itself was healthy. The email settings page in hPanel showed SPF, DKIM and DMARC all set up. The problem was not my DNS. The problem was the forwarding hop.

The fix was simple. The site now sends notifications directly through Hostinger SMTP to the address I actually read. It no longer depends on a forward. The bounces stopped.

Why email forwarding bounces: SPF, DKIM and DMARC

To understand the email forwarding bounce, you need to know what receiving servers check.

  • SPF asks: is the server that handed me this message allowed to send for the envelope sender's domain? When your provider forwards a message from someone@bank-example.com, the forwarding server is now the one connecting to Gmail. It is not listed in the bank's SPF record, so SPF fails.
  • DKIM is a cryptographic signature on the headers and body. It survives forwarding only if nothing changes. If the forwarder adds a footer, rewrites the subject or changes the encoding, the signature breaks.
  • DMARC passes only if SPF or DKIM passes and matches the domain in the visible From address. After forwarding, SPF fails almost by definition. That leaves DKIM. If the original sender never signed, or the signature broke, DMARC fails. If their policy is p=reject, the message is refused.

Some providers rewrite the envelope sender (a technique called SRS) so SPF passes again. But the rewritten domain is the forwarder's, not the one in From. So it does not fix DMARC alignment.

Then there is reputation, which is what bit me. A forwarder relays everything it receives, including spam. If it pushed spam to Gmail at full speed, Gmail would start distrusting the forwarder's IPs for every customer. So outbound relays scan forwarded mail and block anything that looks risky. Contact form notifications are an easy target. They often contain links, odd formatting, and text written by strangers. Some get flagged, and the relay answers with 550 5.7.1.

One more classic mistake: contact forms that put the visitor's email in the From header. Your server is not allowed to send as visitor@gmail.com. That message fails DMARC before forwarding even starts.

Fix 1: send notifications directly with SMTP and DKIM

If the mail comes from your own app, skip the forward completely. Send it from your domain, through your provider's SMTP, straight to the inbox you read. Your provider signs it with your domain's DKIM key, and SPF passes because the message leaves from an authorized server.

Here is the Node.js setup I use with Nodemailer and Hostinger SMTP (port 465, SSL):

import nodemailer from "nodemailer";

const transporter = nodemailer.createTransport({
  host: "smtp.hostinger.com",
  port: 465,
  secure: true,
  auth: {
    user: process.env.SMTP_USER, // contact@example.com
    pass: process.env.SMTP_PASS,
  },
});

export async function sendContactNotification({ name, email, message }) {
  await transporter.sendMail({
    from: '"Website" <contact@example.com>',
    to: "your-user@gmail.com",
    replyTo: email,
    subject: `New contact form message from ${name}`,
    text: message,
  });
}

Three details matter:

  • From is your own domain address, the same one you authenticate with. That keeps SPF and DKIM aligned for DMARC.
  • The visitor goes in replyTo, so pressing Reply in Gmail still answers them.
  • Credentials live in environment variables, never in the code.

If you also want a copy in the domain mailbox, add it as a second recipient. That way each message is a direct delivery, not a forward.

To confirm your domain records, check them from any terminal:

dig +short TXT example.com
dig +short TXT _dmarc.example.com

The first should show a record starting with v=spf1. The second should show v=DMARC1. In Gmail, open a received message, choose "Show original", and look for SPF, DKIM and DMARC all marked PASS. If you need the full mailbox setup, I covered it in a professional email on your own domain, set up right.

Fix 2: let Gmail fetch the mailbox instead of forwarding

For mail from the outside world, such as clients, suppliers and newsletters, you cannot control how senders sign. The safer pattern is to pull the mail instead of having it pushed. Leave messages in your domain mailbox and let a client fetch them over IMAP or POP3. Nothing is re-sent, so SPF, DKIM and DMARC are never re-evaluated, and no relay filter sits in the middle.

Your options:

  • Add the IMAP account to the Gmail app on your phone. It shows your domain mailbox next to your Gmail. This is how I would set it up today. The settings are in Hostinger webmail login: IMAP/SMTP settings and fixes.
  • Gmail's "Check mail from other accounts" (POP3) on the web. Google has announced changes to this feature, so check whether it is still available on your account before you rely on it.
  • Any mail client (Apple Mail, Outlook, Thunderbird) with IMAP. Sent items and folders stay in sync.

If you still want to send from Gmail as your domain address, configure "Send mail as" with your provider's SMTP. Do not let Gmail send on your domain's behalf without it.

When Hostinger email forwarding is still fine

Hostinger email forwarding is not useless. It works well for low-volume, trusted mail between addresses you control, such as an alias that lands in another mailbox on the same domain. The risk grows when you forward external, unpredictable mail to a big provider like Gmail, which treats forwarded traffic with suspicion.

If you are choosing a host for your site and email, my complete Hostinger guide covers what I run and what I would change. You can see current plans on Hostinger. Check renewal prices too, not just the first term.

FAQ

Is 550 5.7.1 my fault or the sender's?

Usually neither, directly. In a forwarding setup, it means a filter refused to relay or accept the message. Check the bounce to see which server rejected it. Then stop depending on the forward for important mail.

Will setting up SPF, DKIM and DMARC fix email forwarding bounces?

They protect mail you send from your domain. They cannot fix forwarded mail from other domains, because SPF and DMARC are judged against the original sender's domain.

How do I stop contact form emails from bouncing?

Send them directly through SMTP from an address on your own domain, put the visitor's address in Reply-To, and deliver to the inbox you actually read. Avoid forwarding.

Can I keep Hostinger email and read it in Gmail?

Yes. Add the mailbox to the Gmail app over IMAP instead of forwarding. Nothing is re-sent, so there is nothing for a relay to block. If you need a mailbox first, plans are on Hostinger.


Dealing with email that disappears between your site and your inbox? Talk to the editor at ahmed-adil.com.

Some links in this article are affiliate links; if you buy through them, Ahmed may earn a commission at no extra cost to you.

More from the Supplement