Configure Postfix and Dovecot for SSL
Configure Postfix, Dovecot for SSL on Linux CentOS4.3
Secure Sockets Layer (SSL), are cryptographic protocols that provide security and data integrity for communications over TCP/IP networks such as the Internet. TLS and SSL encrypt the segments of network connections at the Transport Layer end-to-end.
How to configure postfix and dovecot for SSL on Linux Platform?
–improvement for smtp over ssl authentication
#-issue server certifcate
# cd /usr/share/ssl/certs
# make mail.pem
# Country Name:US
# Province Name:NY
# Locality Name:Manhattan
# Organization Name :CIS
# Organization Unit Name:
# Common Name:mail.configureinstallsetup.com
# Email Address:admin@configureinstallsetup.com
# –>created as /isr/share/ssl/certs/mail.pem
use certificates of SSL of httpd
-configure postfix, openssl auth
in /etc/postfix/main.cf add
smtpd_user_tls = yes
smtpd_tls_cert_file = /usr/local/apache2/conf/ssl.crt/server.crt
smtpd_tls_key_file = /usr/local/apache2/conf/ssl.key/server.key
smtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_scache
broken_sasl_auth_clients = yes #for outlook express
in /etc/postfix/master.cf
smtp inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #space is necessary at the first column
#-o smptd_client_restrictions=permit_sasl_… #don’t remove # as a comment line
tlsmagr unix - - n 1000? 1 tlsmgr
-registration of smtps
in /etc/services add
smtps 465/tcp #SMTP over SSL
-configure dovecot, openssl aut
in /usr/local/etc/dovecot.conf
protocols = imap imaps pop3 pop3s
disable_plaintext_auth = yes
ssl_disable = no
ssl_cert_file = /usr/local/apache2/conf/ssl.crt/server.crt
ssl_key_file = /usr/local/apache2/conf/ssl.key/server.key
#it works by telnet mail.configureinstallsetup.com 465, though does not work by outlook express.
- 508 reads
Recent popular content



















