Sender address rejected

Your software
My Mautic version is: v5.0.3
My PHP version is: 8.1.27
My Database type and version is:
Doctrine\DBAL\Platforms\MariaDb1052Platform

10.11.7-MariaDB-cll-lve

pdo_mysql

Your problem
My problem is:

My email configuration is 100% correct. I am able to send the test email. But i am not able to send to my contacts.

These errors are showing in the log:

Failed to send to example@gmail.com: Expected response code “250/251/252” but got code “553”, with message “553 5.7.1 bounces+bounce_6612829c93e72478559792@mail.example.com: Sender address rejected: not owned by user noreply@mail.example.com”.

According to the error reported, your configuration is everything but OK.

Still according to the error reported, your sending server is explicitly forbidden to send emails on " [@mail.example.com]" behalf.

Double-check your DMARC, DKIM, RDNS and SPF. If you don’t see any problem, ask for someone else to take a look at it because there are at least 1 issue within your configuration (the error reported is DNS related and not Mautic related).

1 Like

Have you solved the problem?

I got the same error. My SMTP connection is working fine, but I cannot send e-mail. Even email test is not working.

1 Like

The solution is to allow sending “on behalf of” (it’s server side).

The issue should be brought to your sysadmin attention since it’s a server restriction (unrelated with Mautic)

2 Likes

Yes Check your dns records it may be a problem.

can you help me with this?

When I try to send a test email on Gmail, something like this pops up

Sure thing

Hi @totstrek, @marcus42

This has nothing to do with DKIM or the server side setup. It’s either a configuration issue or a bug in Mautic.

SMTP 553 is an authentication error. It means Mautic is tring to send an email from an account that doesn’t exist on the server.

I have shared more info and filed a bug report on github: Error code 553 - Symfony appending a bounce tag to the smtp account causing auth failure · Issue #14047 · mautic/mautic · GitHub

Basically from what I can tell, Mautic is messing with the “send from” address by adding a tag, and this causes the authentication failure.

Is this expected behaviour? Is there a setting to define re. bounce address that would be causing this?