SOURCECODEBD.NET

Live Experience

Congigure SSL

[root@mail ~]# vi /etc/postfix/main.cf
 
# add them at the bottom
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/pki/tls/certs/server.crt
smtpd_tls_key_file = /etc/pki/tls/certs/server.key
smtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_scache

[root@mail ~]# vi /etc/postfix/master.cf
# line 17-18: make valid
smtps       inet   n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
 
[root@mail ~]# vi /etc/dovecot.conf
# line 89: make valid
ssl = yes

# line 95: specify cert file
ssl_cert_file = /etc/pki/tls/certs/server.crt

# line 96: specify key file
ssl_key_file = /etc/pki/tls/certs/server.key
 
[root@mail ~]# /etc/rc.d/init.d/postfix restart
[root@mail ~]# /etc/rc.d/init.d/dovecot restart

You are here: Home / VPN / Fedora_Mail / Congigure SSL