Postfix errors

Hello,

I’ve been trying for 2 days to fix this thingy on my Inviosn Community (v5 fresh installation) platform through CyberPanel Postfix mail server (on my own dedicated server) and i can’t find the solution and i’m already completely LOST, made so many changes that i don’t even know where to continue from. I tried to enable the SMTP AUTH LOGIN METHOD
The error due to which i started modifying certain .conf files from both Postfix and Dovecot is this:

Not sure if the image uploaded properly but the error is like:

535 5.7.8 Error: authentication failed: Invalid authentication mechanism

However the latest error i get to from my forum platform is this:

A test email could not be sent. Check the settings entered are correct or contact your hosting or SMTP provider for more information.

454 4.7.0 Temporary authentication failure: Connection lost to authentication server

And so i searched and i understood i have to enable the login mechanism and so i did but it didn’t change anything. I have no UFW or CSF (completely disabled for the moment i tried the SMTP)

EmailTo test:

I uploaded both mail.err and mail.log from WEBMIN and i also replaced my dedicated server ip to MYSERVERIP and my domain to DOMAIN.COM and some passwords in some tests to MYPASSWORD for obvious reasons

Here are the LOGS and the conf files (.txt files so they can be readable on browser)

Thank you.

If i want to reinstall Postfix & Dovecot current versions is there anything i should do afterwards to have it work normally with CyberPanel? All i need now is to go back to the default configruation files