On 2014/8/29 3:26, [email protected] wrote: > Am 28.08.2014 um 21:16 schrieb Leon Wei: >> 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. > how is 993 related to SMTP or postfix? > 993 is IMAP over SSL and your daemon > listening on the port is most likely > not a SMTP server Sorry, I wrote a wrong port number, in fact SSL/TLS port should be 465. > > SMTP over SSL is 465 and needs to be enabled in *master.cf* > with "-o smtpd_tls_wrappermode=yes" which *must* not be > enabled for STARTTLS ports > > 465 inet n - n - 60 smtpd > -o smtpd_client_connection_count_limit=15 > -o smtpd_client_connection_rate_limit=80 > -o smtpd_sasl_auth_enable=yes > -o smtpd_delay_reject=yes > -o smtpd_client_restrictions=permit_sasl_authenticated,reject > -o smtpd_relay_restrictions= > -o smtpd_tls_wrappermode=yes > -o max_idle=1800 > -o max_use=500 > -o syslog_name=postfix/smtps By your suggestion, I have fixed the problem. SSL/TLS port is listening on 465 and working well now.Thanks for your help!
-- *Leon Wei* Guangzhou, China E-mail: [email protected]
