I am getting the following error when I try to send email using a relayhost from a CentOS 7 server using postfix:  Oct 19 19:53:08 localhost postfix/pickup[7174]: 64DAF1A53CB: uid=1002 from=<me>Oct 19 19:53:08 localhost postfix/cleanup[7184]: 64DAF1A53CB: message-id=<20151020025308.64DAF1A53CB@mydomain.com>Oct 19 19:53:08 localhost postfix/qmgr[7175]: 64DAF1A53CB: from=<me@mydomain.com>, size=447, nrcpt=1 (queue active)Oct 19 19:53:08 localhost postfix/smtp[7177]: CLIENT wrappermode (port smtps/465) is unimplementedOct 19 19:53:08 localhost postfix/smtp[7177]: instead, send to (port submission/587) with STARTTLSOct 19 19:53:18 localhost postfix/smtp[7177]: 64DAF1A53CB: to=<test.account@anotherdomain.com>, relay=emailserver.com[ip.of.email.server]:465, delay=10, delays=0.06/0/10/0, dsn=d.s.n, status=deferred (lost connection with emailserver.com[ip.of.email.server] while receiving the initial server greeting)  The steps I took leading up to this are:  # yum -y install postfix cyrus-sasl-plain mailx# systemctl restart postfix# systemctl enable postfix# vi /etc/postfix/main.cf//Add the following at THE VERY END OF THE FILE:myhostname = mydomain.comrelayhost = [emailserver.com]:465smtp_use_tls = yessmtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdsmtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crtsmtp_sasl_security_options = noanonymoussmtp_sasl_tls_security_options = noanonymous// save and close, then create the following new file:# vi /etc/postfix/sasl_passwd// add the following one line:[emailserver.com]:465 username:password// save and close the file// create a postfix lookup table by running the following command:# postmap /etc/postfix/sasl_passwd// restrict access to the file:# chown root:postfix /etc/postfix/sasl_passwd*# chmod 640 /etc/postfix/sasl_passwd*# systemctl reload postfixThen I set up a new user on CentOS named me and entered the following command:  echo This is a test. | mail -s test message test.account@anotherdomain.comWhen I change port 465 to port 587 in the above commands, I am able to successfully send a message using the echo command.  However, the emailserver.com customer support line says that port 465 is SSL only, and that port 587 has SSL disabled, so the problem here is that SSL does not work.  How can I set this up so that SSL SMTP is sent through port 465?Note that the CentOS 7 development server is behind a residential cable modem with port 25 disabled, so I have no choice but to use a relayhost.  Also, I want to use port 465 to ensure an SSL connection.  The email must travel via SSL.  The entire /etc/postfix/main.cf file contents are:  queue_directory = /var/spool/postfixcommand_directory = /usr/sbindaemon_directory = /usr/libexec/postfixdata_directory = /var/lib/postfixmail_owner = postfixinet_interfaces = localhostinet_protocols = allmydestination = $myhostname, localhost.$mydomain, localhostunknown_local_recipient_reject_code = 550alias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliasesdebug_peer_level = 2debugger_command =         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin         ddd $daemon_directory/$process_name $process_id & sleep 5sendmail_path = /usr/sbin/sendmail.postfixnewaliases_path = /usr/bin/newaliases.postfixmailq_path = /usr/bin/mailq.postfixsetgid_group = postdrophtml_directory = nomanpage_directory = /usr/share/mansample_directory = /usr/share/doc/postfix-2.10.1/samplesreadme_directory = /usr/share/doc/postfix-2.10.1/README_FILES######################################################################## Everything below was added to set up relayhost for smtp#####################################################################myhostname = mydomain.comrelayhost = [emailserver.com]:465smtp_use_tls = yessmtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdsmtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crtsmtp_sasl_security_options = noanonymoussmtp_sasl_tls_security_options = noanonymous  NOTE: In firewalld, I set the smtp.xml file to use port 465 for smtp instead of port 25.  But I did not create an smtps service.  I don't think this is relevant, but I thought I would share it in case it is relevant.
CLIENT wrappermode (port smtps/465) is unimplemented
centos;email;postfix