I am trying to configure the pop and imap with ssl (pop3s and imaps with sendmail) but iam not getting successful. Iam using redhat 9. can you help me with this configuration.

I tried to configure sendmail without ssl and it works fine. i tried to configure imaps and pop3s, and it stops working. The client gives me a message saying that the server is not configured as a secure server.

i have installed the openssl rpm, imap2002 rpm, sendmail.cf rpm. I have edited the configuration files but iam unsuccessful.I need some advice about how i can configure secure pop and imap.

Thanks in advance,
Rathish