How do i get my dovecot server running?

i have been trying forever to get a dovecot server running. it starts running, no issues, ports open, no firewall, but telnet wont connect. lsof returns dovecot on 143 and 993 but telnet returns connection refused, and i cant figure out why, 143 and 993 show as closed on port scanners.