How to find the SMTP server address for UCS domain?

I am trying to set up SMTP with UCS and nextcloud. Im unable to find my smtp server address and Imap address.

This is solved. For anyone else looking for this information you can find it here :

/etc/postfix/main.cf