1753773 Members
5259 Online
108799 Solutions
New Discussion юеВ

Re: RHEL5 IMAPS

 
GoHP
Advisor

RHEL5 IMAPS

Hi,
I try to setup the imaps server with dovecot and sendmail running on RHEL5.1.

Do I need to add these four lines to sendmail.mc ? Are they conflict with the dovecot.conf ssl_cert_file ?

If don't need them, why they are showing in the sendmail.mc ?


define(`confCACERT_PATH',`/etc/pki/tls/certs') dnl

define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl

define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl

define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl


Thanks
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: RHEL5 IMAPS

Shalom,

sendmail and dovecot work together, but they do SSL differently.

My Dovecot self signed certificate does not use the same certificate as sendmail does, which I do not use SSL for.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
GoHP
Advisor

Re: RHEL5 IMAPS

Thanks Steven,

You meant that I don't need to define sendmail certificate and dovecot will take care SSL part for imaps ?

Tam
Ivan Ferreira
Honored Contributor

Re: RHEL5 IMAPS

To enable IMAPS you only need to configure the dovecot configuration file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
GoHP
Advisor

Re: RHEL5 IMAPS

Please tell me why I get the error when verify self signed ceretificate.
Can I use this certificate for testing ?

openssl s_client -connect station5:993

CONNECTED(00000003)
depth=0 /OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com
verify error:num=18:self signed certificate
verify return:1
depth=0 /OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com
verify return:1
.......
.....
...