Hi,

How do you do.

I setup a mail system with centos-postfix-dovecot, I can sent mail with
STARTTLS in port 25, but SSL/TLS (port 993) doesn't work.

This  is related configuration in main.cf:

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes

smtpd_tls_security_level = encrypt
smtpd_tls_loglevel = 4
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/postfix/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination,
        reject_unknown_recipient_domain, reject_unauth_pipelining
============================================================================================================
[root@centos postfix]# netstat -ln |more
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign
Address             State     
tcp        0      0 0.0.0.0:143                
0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:25                 
0.0.0.0:*                   LISTEN     
tcp        0      0 0.0.0.0:993                
0.0.0.0:*                   LISTEN     
tcp        0      0 :::25                      
:::*                        LISTEN  


Can anyone tell me what's wrong with my system?

By the way, there is INPUT & OUTPUT ACCEPT in iptables.

-- 
*Leon Wei*
Guangzhou, China
E-mail: leon...@mail.kingdest.com

Reply via email to