Error: no valid recipients

Your software
My Mautic version is: 4.0.2
My PHP version is: 7.4.25
My Database type and version is: 10.5.12-MariaDB-cll-lve

Your problem
My problem is: Unable to send test email after set-up.

These errors are showing in the log:

[2021-11-29 20:40:10] mautic.ERROR: [MAIL ERROR] Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.ovh.com >> EHLO mautic.ekart.com << 250-smtp.ovh.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM: >> RCPT TO: >> DATA << 250 2.1.0 Ok << 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com !! Expected response code 250/251/252 but got code “553”, with message "553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com " (code: 553) << 554 5.5.1 Error: no valid recipients !! Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " (code: 554) Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.ovh.com >> EHLO mautic.ekart.com << 250-smtp.ovh.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM: >> RCPT TO: >> DATA << 250 2.1.0 Ok << 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com !! Expected response code 250/251/252 but got code “553”, with message "553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com " (code: 553) << 554 5.5.1 Error: no valid recipients !! Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " (code: 554) !! Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.ovh.com >> EHLO mautic.ekart.com << 250-smtp.ovh.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM: >> RCPT TO: >> DATA << 250 2.1.0 Ok << 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com !! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com " (code: 553) << 554 5.5.1 Error: no valid recipients !! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients " (code: 554) (code: 554) Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.ovh.com >> EHLO mautic.ekart.com << 250-smtp.ovh.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM: >> RCPT TO: >> DATA << 250 2.1.0 Ok << 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com << 554 5.5.1 Error: no valid recipients (send); offersx@outlook.com {“exception”:”[object] (Swift_TransportException(code: 554): Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n”\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220 ESMTP smtp.ovh.com\r\n\n>> EHLO mautic.ekart.com\r\n\n<< 250-smtp.ovh.com\r\n250-PIPELINING\r\n250-SIZE 48811212\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> MG5lTW9yRXhhbXBsZSE=\r\n\n<< 235 2.7.0 Authentication successful\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:\r\n\n>> RCPT TO:\r\n\n>> DATA\r\n\n<< 250 2.1.0 Ok\r\n\n<< 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com\r\n\n!! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com\r\n” (code: 553)\n<< 554 5.5.1 Error: no valid recipients\r\n\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n” (code: 554)\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220 ESMTP smtp.ovh.com\r\n\n>> EHLO mautic.ekart.com\r\n\n<< 250-smtp.ovh.com\r\n250-PIPELINING\r\n250-SIZE 48811212\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> MG5lTW9yRXhhbXBsZSE=\r\n\n<< 235 2.7.0 Authentication successful\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:\r\n\n>> RCPT TO:\r\n\n>> DATA\r\n\n<< 250 2.1.0 Ok\r\n\n<< 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com\r\n\n!! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com\r\n” (code: 553)\n<< 554 5.5.1 Error: no valid recipients\r\n\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n” (code: 554)\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n”\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220 ESMTP smtp.ovh.com\r\n\n>> EHLO mautic.ekart.com\r\n\n<< 250-smtp.ovh.com\r\n250-PIPELINING\r\n250-SIZE 48811212\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> T2ZmZXJzQENhcnRzcHJpbmdzLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> MG5lTW9yRXhhbXBsZSE=\r\n\n<< 235 2.7.0 Authentication successful\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:\r\n\n>> RCPT TO:\r\n\n>> DATA\r\n\n<< 250 2.1.0 Ok\r\n\n<< 553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com\r\n\n!! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 : Sender address rejected: not owned by user offers@ekart.com\r\n” (code: 553)\n<< 554 5.5.1 Error: no valid recipients\r\n\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n” (code: 554) (code: 554) at /home/55632742/domains/ekart.com/public_html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124)”}

Steps I have tried to fix the problem: checked the email smtp settings, tested the connection, updated the cronjobs but still the problem persists. I even allowed a couple of days to rule out the possibility of DNS not being propagated.

Any assistance in resolving the issue is much appreciated.

Can you plz test if your recipient has a valid email address?
This error is showing that you are trying to send an email to someone with not a valid email.

Also this might be a problem:
Sender address rejected: not owned by user offers@ekart.com

thank you Joeyk, I have verified the email address multiple times, tried multiple email addresses as well.

I own the email address and also have set the default Mailer as owner in config settings.

is the domain fully authenticated ?

What’s does this 554 error code mean? … 554 error code means that the receiving server sees something in the From or To Headers of the message , that it doesn’t like. This can be caused by a spam filter identifying your machine as a relay, or as a machine not trusted to send emails from your domain

Do you have SSL setup ?

Yes, I confirm that SSL has been set-up to begin with :confused:

I rechecked the MX, SPF and DKIM records as well, reset them again and checked the DNS checker.

Looks like the CNAME records are not yet fully propagated, can this be an issue here?

Yes. Could you confirm it’s working once it’s propagated?

Hi Joeyk, Hope you are doing well. All DNS records are fully propagated and the issue still seems to persists. What else could be a possible solution to this?

Can u plz post fresh logs?

Joeyl, It is the same as error posted earlier to the letter. no change at all. I’ve also reached out to the hosting service provider about the same, waiting for their response for now.

You had an issue with ‘email address not verified’. Is it still coming up?

Sorry @joeyk I couldn’t reply back any sooner.

Here is an update, I’ve just upgraded Mautic to the latest version and the error is as follows:

[2021-12-21 02:58:39] mautic.ERROR: [MAIL ERROR] Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO mautic.xxxxxxxxx.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com >> RCPT TO:offersx@outlook.com >> DATA << 250 2.1.0 Ok << 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com !! Expected response code 250/251/252 but got code “553”, with message "553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com " (code: 553) << 554 5.5.1 Error: no valid recipients !! Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " (code: 554) Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO mautic.xxxxxxxxx.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com >> RCPT TO:offersx@outlook.com >> DATA << 250 2.1.0 Ok << 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com !! Expected response code 250/251/252 but got code “553”, with message "553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com " (code: 553) << 554 5.5.1 Error: no valid recipients !! Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " (code: 554) !! Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO mautic.xxxxxxxxx.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com >> RCPT TO:offersx@outlook.com >> DATA << 250 2.1.0 Ok << 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com !! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com " (code: 553) << 554 5.5.1 Error: no valid recipients !! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients " (code: 554) (code: 554) Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO mautic.xxxxxxxxx.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ== << 334 UGFzc3dvcmQ6 >> MG5lTW9yRXhhbXBsZSE= << 235 2.7.0 Authentication successful ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com >> RCPT TO:offersx@outlook.com >> DATA << 250 2.1.0 Ok << 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com << 554 5.5.1 Error: no valid recipients (send); offersx@outlook.com {“exception”:”[object] (Swift_TransportException(code: 554): Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n”\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220 ESMTP smtp.hostinger.com\r\n\n>> EHLO mautic.xxxxxxxxx.com\r\n\n<< 250-smtp.hostinger.com\r\n250-PIPELINING\r\n250-SIZE 48811212\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> MG5lTW9yRXhhbXBsZSE=\r\n\n<< 235 2.7.0 Authentication successful\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com\r\n\n>> RCPT TO:offersx@outlook.com\r\n\n>> DATA\r\n\n<< 250 2.1.0 Ok\r\n\n<< 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com\r\n\n!! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com\r\n” (code: 553)\n<< 554 5.5.1 Error: no valid recipients\r\n\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n” (code: 554)\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220 ESMTP smtp.hostinger.com\r\n\n>> EHLO mautic.xxxxxxxxx.com\r\n\n<< 250-smtp.hostinger.com\r\n250-PIPELINING\r\n250-SIZE 48811212\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> MG5lTW9yRXhhbXBsZSE=\r\n\n<< 235 2.7.0 Authentication successful\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com\r\n\n>> RCPT TO:offersx@outlook.com\r\n\n>> DATA\r\n\n<< 250 2.1.0 Ok\r\n\n<< 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com\r\n\n!! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com\r\n” (code: 553)\n<< 554 5.5.1 Error: no valid recipients\r\n\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n” (code: 554)\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n”\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220 ESMTP smtp.hostinger.com\r\n\n>> EHLO mautic.xxxxxxxxx.com\r\n\n<< 250-smtp.hostinger.com\r\n250-PIPELINING\r\n250-SIZE 48811212\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> b2ZmZXJzQGNhcnRzcHJpbmdzLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> MG5lTW9yRXhhbXBsZSE=\r\n\n<< 235 2.7.0 Authentication successful\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:bounce+bounce_61c0f587394c9@xxxxxxxxx.com\r\n\n>> RCPT TO:offersx@outlook.com\r\n\n>> DATA\r\n\n<< 250 2.1.0 Ok\r\n\n<< 553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com\r\n\n!! Expected response code 250/251/252 but got code “553”, with message “553 5.7.1 bounce+bounce_61c0f587394c9@xxxxxxxxx.com: Sender address rejected: not owned by user offers@xxxxxxxxx.com\r\n” (code: 553)\n<< 554 5.5.1 Error: no valid recipients\r\n\n!! Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n” (code: 554) (code: 554) at /home/u318912797/domains/xxxxxxxxx.com/public_html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124)”}

You seem not fully qualified to send emails from the address you try to send from. This is my impression.