Yes, server logs will tell you the problem but in this case it is likely that the client is not authenticating itself before it sends out mail.
In Thunderbird and Gmail app, you must enable the option that says outgoing server requires authentication - and enter the email credentials again for this.
Its pretty clear its incorrect password. Maybe you have entered a space somewhere.
I think if the SMTP encryption type was wrong the error would be different.
If you installed using the Virtualmin installed script and not changed anything in postfix it should work.
Hang on this is the webmin forum, that could be a issue with incorrect configuration. I would recommend you use Virtualmin, the install script configures everything to work off the bat, but the install script requires a clean OS to install on, no adding software like postfix dovecot etc as virtualmin will do that for you.
The installation was clean from virtualmin to webmin, but because thunderbird made the correct configuration to have the email, but when sending it gives an error.