Where can I go to find out what ports my system is using?

Example:

  • Incoming mail (IMAP): ? (for SSL - ?)
  • Incoming mail (POP3): ? (for SSL - ?)
  • Outgoing mail (SMTP): ? (for SSL - ?)