Group: Member 
Post Group: Newbie
Posts: 16
Status: 
|
I've followed your instruction very carefully, but there are some gaps.
OK, first of all I've made a backup of the 10-ssl.conf file.
On the terminal I've used this command: openssl req -new -x509 -days 1000 -nodes -out
"/etc/pki/dovecot/certs/cadovecot.pem" -keyout
"/etc/pki/dovecot/private/cadovecot.pem"
and filled all the fields (area code, state, company name, email...) and I've checked the locations, so the files are created.
With this command: cat /etc/dovecot/conf.d/10-ssl.conf | grep ssl
I've checked and there are no errors.
After that I've edited the 10-ssl.conf file and make these lines like this:
#ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
#ssl_key = </etc/pki/dovecot/private/dovecot.pem
ssl_cert = </etc/pki/dovecot/certs/cadovecot.pem
ssl_key = </etc/pki/dovecot/private/cadovecot.pem
So, the commented lines are actually the original paths and I've set the new created files with /cadovacot.pem.
On your previous post you wrote this:
ssl_cert = </etc/ssl/certs/foo.com_wildcard.pem
ssl_key = </etc/ssl/private/foo.com_wildcard.key
but /etc/ssl/private...are not the proper paths.
Anyway, after saving the changes I've restarted The exim and Dovecot with these commands:
service dovecot restart
service exim restart
I'm logged as a root user, so I don't need to write Root as a command.
OK, after that I've tried with my email info@mydomain.com on Thunderbird where mydomain.com is the primary domain. Unfortunately the outgoing still miss the STARTTLS and instead shows No Encryption. I've tried manually to set using STARTTLS, but the Thunderbird shows: "Thunderbird failed to find the settings for your email account". Damn.
I've noticed something different with shared hosting account and the VPS.
On the VPS I have emails there from different websites. For an example:
info@mydomain.com, office@mydomain.com,
info@mydomain2.com, help@mydomain2.com
let's say I'm trying to set this email info@domain.com
Every time when I set in Thunderbird I see it like this:
incoming:IMAP,mydomain.com,STARTTLS
outgoing:SMTP,mydomain.com,No Encryption
If I try to set info@domain2.com, the result is like this:
incoming:IMAP,mydomain2.com,STARTTLS
outgoing:SMTP,mydomain2.com,No Encryption
But on the shared hosting when I try with to set info@domain.com, the result is like this:
Incoming:IMAP, server.hostingcompanyname.com, SSL
Outgoing: SMTP, server.hostingcompanyname.com, SSL
And if I try other email from other domain, let's say info@domain2.com, the result is like this:
Incoming:IMAP, server.hostingcompanyname.com, SSL
Outgoing: SMTP, server.hostingcompanyname.com, SSL
So, you can see every time the results of the host names are the same.
How can I do this?
By the way, I have StartSSL certificate, but I don't know how to use it. As I previously wrote the Webuzo shows pass missmatch when I try to install, even I've double checked.
The Webuzo documentation doesn't help at all for Email + SSL.
|