Is there a solution to this, I have observed that after installing some SSL certificates from the module, port 443 no longer appears closed, but this remains closed, is there a solution and on the other hand, SSL certificates also affect the sending of emails, or that is not implemented yet
SMTPTLS port 587 Close after fresh Install
|
(06-05-2024, 08:47 PM)franmm25 Wrote: Is there a solution to this, I have observed that after installing some SSL certificates from the module, port 443 no longer appears closed, but this remains closed, is there a solution and on the other hand, SSL certificates also affect the sending of emails, or that is not implemented yet franmm25, This port will remain closed until you manually setup postfix/dovecot with TLS cert. This is not a bug or issue.
-Jettaman-
NEW: Sentora v.2.0.1 has been released!!! Sentora's quick recovery depends on community support and donations. We need to stand as one and help Sentora into the future. Donate HERE and do your part. We thank you for your support.
I make this changes
================= Dovecot (dovecot.cnf) ================= # SSL configuration - Begin = yes ssl_cert = </etc/letsencrypt/live/test.com/fullchain.pem ssl_key = </etc/letsencrypt/live/test.com/privkey.pem # Disable SSLV3 - Poodle ssl_protocols = !SSLv2 !SSLv3 # SSL configuration - End ================= Postfix (main.cf) ================= smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_security_level = may smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache smtpd_tls_cert_file = /etc/letsencrypt/live/test.com/fullchain.pem smtpd_tls_key_file = /etc/letsencrypt/live/test.com/privkey.pem But continue with the port 587 closed, restar the services without problem, but i don´t know if its necessary more changes, regards
Run this test and other tests with 100% results all OK with TLS:
https://www.checktls.com/TestReceiver. But port 587 continues to show as closed. I don't understand this situation. Can you help with this configuration?, Regards.
[Not Solved]
RE: SMTPTLS port 587 Close after fresh Install
06-10-2024, 02:05 AM
(This post was last modified: 06-10-2024, 02:07 AM by franmm25.)
I think there is a problem with the SSL certificates generated by the SSL module. In my case, to fix the situation, I needed to change the following:
For Postfix: Quote:Edit main.cf and master.cf In main.cf: Quote:smtp_use_tls = yes The SSL certificates created inside Quote:/var/sentora/hostdata/zadmin/ssl/sencrypt/letsencrypt/domain.com Not work with Postfix. I needed to install `certbot` on Ubuntu to create and regenerate SSL certificates in the specified path, adding "domain.com (your domain" and "mail.domain.com". Note that Apache needs to be stopped during the installation. To fix port 587, add these two lines inside `master.cf` if you want to use both ports simultaneously, or select the port you want: Quote:smtp inet n - n - - smtpd Also, you need to configure Dovecot with the same paths as in Postfix, need edit dovecot2.conf : Quote:ssl = yes When I ran the test on https://www.checktls.com/TestReceiver, everything worked 100%. I don’t know if this is the best approach for Sentora, but support told me it is the best way to fix this issue. At the moment, I haven't found another solution, and this works perfectly. Ideally, everything should be activated automatically from Sentora, in my opinion. Additionally, I have noticed that sometimes the SSL module fails to renew certificates, and other times it doesn’t. I think it is necessary to address these issues. Regards.
That is how I did it for postfix also, but mine is using my main domain.com certs. I'l have to look into how I did it.
Hey! I see you're struggling with port 587 after SSL installation. Make sure your Postfix and Dovecot configs are spot on. You might need to add the right SSL certificates to both config files. Don’t forget to restart the services after making changes. Let me know how it goes!
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
\debian 12 install sript? | kevwebbie | 1 | 577 |
08-20-2024, 07:45 AM Last Post: TGates |
|
Problem Install Sentora 2.0.1 | franmm25 | 11 | 3 ,800 |
06-24-2024, 10:53 AM Last Post: TGates |
|
SSL problem fresh install | franmm25 | 0 | 654 |
06-02-2024, 10:26 AM Last Post: franmm25 |
Users browsing this thread: 1 Guest(s)