A CentOS 7 development server is used for prototyping webapps that send and receive email using JavaMail to connect with a remote mail server elsewhere on the internet. The remote mail server uses port 465 for smtp and port 993 for imap. Also, the local cable modem connecting the development server to the internet has blocked port 25.
I am reading quite a bit about this, and I think I need yum install postfix mailx dovecot on the development server. But all the google search results that I am finding seem to be related to building full fledged mail servers, when all I want to do is enable the web apps on a development web server to be able communicate with a remote mail server.
Am I going to be able to just yum install postfix dovecot mailx and have JavaMail be able to send and receive mail through port 465 and port 993 right away? Or will I have to take additional steps like setting up config files and creating/installing certificates, etc.?
I do not want to ask a broad question if there is a tutorial that can help me frame a narrower question. But so far the tutorials do not address this OP.