Hi !
i installed a certif to my email server and the configuration of IMAPs and Pop3s work !
i use my port 993 correctly !
but for my SMTP ! it work only 587 !
NB : i work with postfix and dovecot !
i tested the firwall ! 465 it allowed
i tested my port 465 on postfix it listen on 465 !
this is my main code
TLS parameters
smtpd_use_tls = yes
#smtpd_tls_cert_file=/etc/dovecot/private/dovecot.pem
#smtpd_tls_key_file=/etc/dovecot/private/dovecot.key
smtpd_tls_cert_file=/etc/letsencrypt/live/mail.2m-partners.tn/fullchain.pem
smtpd_tls_key_file=/etc/letsencrypt/live/mail.2m-partners.tn/privkey.pem
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_security_level=may
smtp_use_tls = yes
#smtp_tls_CApath=/etc/ssl/certs
smtp_tls_security_level=may
#smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
#smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
this is my master code :
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=$mua_client_restrictions
-o smtpd_helo_restrictions=$mua_helo_restrictions
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#-o smtpd_tls_auth_only=yes
#-o smtpd_sasl_security_options=noanonymous,noplaintext