Error while using emai DSN on mautic

Your software
My Mautic version is: v5.0.4
My PHP version is: 8.1
My Database type and version is: mysql

Your problem
My problem is:

I just installed Mautic through Softaculous installer, it didn’t ask for any smtp, but now i can’t find any way to connect it other than trying this new Email DSN in the email settings area.

These errors are showing in the log:

Expected response code “250” but got code “554”, with message “554 5.9.2 Sender domain is not valid.”.

Steps I have tried to fix the problem:
tried ssl/tls, checked password, chaned from:email