Would anyone know how to go about configuring dovecot to use port 465 or 587 for outgoing email? Right now I can connect to my server using imaps 993 and outgoing port 25 with Normal Password authentication and STARTTLS security.. It may be my inexperience but this doesn't seem that secure. Would someone be able to explain how to config dovecot to use SSL/TLS and port 465?

The server is running Ubuntu 11.10 with postfix and dovecot.

If you need any log/config posts from me please let me know.