Ubuntu: How to setup TLS on postfix and dovecot
#21
RE: Ubuntu: How to setup TLS on postfix and dovecot
The tutorial here didn't work for me as it forces you to create a PEM passphrase, which postfix doesn't support.

The response here by americanninja worked fine for me. Sentora TLS

The link provided takes you here: PostFix TLS

this eliminated the generation of a CA cert and Key.
Reply
#22
RE: Ubuntu: How to setup TLS on postfix and dovecot
I have a problem, tested in http://checktls.com/perl/TestReceiver.pl


Result:
[Image: TLS+Receiver+Test.jpg]

[Image: TLS+Receiver+Test.jpg]

Help.
Reply
#23
RE: Ubuntu: How to setup TLS on postfix and dovecot
Confused
Nothing we can do, you are using a self-signed certificate. Get a free certificate using Let's Encrypt Big Grin

You can use parts of this tutorial to get a certificate: http://forums.sentora.org/showthread.php?tid=2535

Just skip the parts for custom vhost entries and port forwarding, etc. Just make sure you have openSSL, mod_ssl and let's encrypt installed (Info in the tutorial) then update your email settings to use the new let's encrypt certificate Wink
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#24
RE: Ubuntu: How to setup TLS on postfix and dovecot
Followed all the steps but I got error

http://prntscr.com/gfv5g0
Reply
#25
RE: Ubuntu: How to setup TLS on postfix and dovecot
TLS works nicely after following this guide, unfortunately the forwarding stopped working.
Any idea why?
Reply
#26
RE: Ubuntu: How to setup TLS on postfix and dovecot
(09-02-2017, 01:22 AM)DaniCV Wrote: Followed all the steps but I got error

http://prntscr.com/gfv5g0

Hi, have you found a solution to this? I have the same problem. Followed step-by-step from step3. I used letsencrypt for certificates. I'm no linux expert but what I found is dovecot is no longer running, status I'm getting is "dovecot stop/waiting" when checking the status (service dovecot status).

FYI, I created a certificate for "mydomain.com" + "mail.mydomain.com" + "panel.mydomain.com"... "mydomain.com" & "panel.mydomain.com" is working fine with ssl. Might this be the problem? Should I create a separate certificate for "mail.mydomain.com?



Ubuntu 14.04.5 | Sentora 1.0.3
Reply
#27
RE: Ubuntu: How to setup TLS on postfix and dovecot
I make separate certificates for each domain. Especially mail.domain.com because it is a different way of verifying that domain since it is not technically 'web readable'.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#28
RE: Ubuntu: How to setup TLS on postfix and dovecot
(02-14-2018, 04:09 PM)TGates Wrote: I make separate certificates for each domain. Especially mail.domain.com because it is a different way of verifying that domain since it is not technically 'web readable'.

Thanks. I'll try this and get back with feedback.
Reply
#29
RE: Ubuntu: How to setup TLS on postfix and dovecot
Changed /etc/dovecot/dovecot.conf line: "ssl = no to ssl = yes" to "ssl=required" and all green ticks on https://www.checktls.com
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Postfix + Dovecot + sieve (vacation) not working for email aliases - FIX paknet 1 8 ,721 06-12-2025, 03:26 PM
Last Post: AnthonyDillard
Upgrade to Ubuntu 16.04 from 14.04 HogensHero 8 33 ,807 07-18-2020, 03:13 AM
Last Post: dycott78
Ubuntu: How to Enable tls/ssl in proftpd Diablo925 2 14 ,222 04-21-2020, 03:35 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)