Koozali.org: home of the SME Server

Does email server sme8 use ssl when connecting to others?

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Does email server sme8 use ssl when connecting to others?
« on: August 03, 2013, 10:03:56 PM »
Hi,

with all the prism stuff going on sending and receiving email over ssl would be a good thing.

How is sme doing this at the moment?

Does the email server:
  • accepts email form other servers over ssl?
  • try to deliver its email to other servers first by using ssl?

I am quite sure you can pop your email over ssl.

Anybody knows?
nl.linkedin.com/in/hanscees/

Offline TerryF

  • grumpy old man
  • *
  • 1,848
  • +6/-0
Re: Does email server sme8 use ssl when connecting to others?
« Reply #1 on: August 03, 2013, 11:13:44 PM »
« Last Edit: August 04, 2013, 01:15:14 AM by TerryF »
--
qui scribit bis legit

Offline janet

  • *****
  • 4,812
  • +0/-0
« Last Edit: August 04, 2013, 01:21:28 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Does email server sme8 use ssl when connecting to others?
« Reply #3 on: August 05, 2013, 11:45:30 PM »
non of your answers help me of course. At least the first one is an attempt.

Let me explain:
Postfix can be configured to first try ssl when the mta sends email to another mta. If all smtp mta's would behave like that AND accept smtp via ssl/tls the internet would be a safer place with regard to user privacy:
Since governments can eavesdrop on smtp, but not on ssl/tls such a feature of the mta improves chances your email will not be monitored while travelling form MTA to MTA.

I thus was asking how does SME-server behave in this regard: does it use ssl between MTA's

Apparently the answer is NO, or I don't know.

thank you



nl.linkedin.com/in/hanscees/

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Does email server sme8 use ssl when connecting to others?
« Reply #4 on: August 06, 2013, 02:39:28 PM »
accepts email form other servers over ssl?

Yes.

Quote
try to deliver its email to other servers first by using ssl?

In qeneral no. It will use SSL to the SmartHost if you have one, and configure port 465.

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Does email server sme8 use ssl when connecting to others?
« Reply #5 on: August 06, 2013, 09:44:20 PM »
Yes.

In qeneral no. It will use SSL to the SmartHost if you have one, and configure port 465.

Thank you for the answer Charlie. While #prism news rocks the internet I would certainly prefer having a server that tries to deliver my email to other email servers without being eavesdropped upon. I also think that the linux community should uphold the long tradition of being safe for endusers.

Just my two cents. I aprececiate your hard work, it is not criticism. Just noticing that thinking about internet has changed here in Europe since #prism.
nl.linkedin.com/in/hanscees/

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Does email server sme8 use ssl when connecting to others?
« Reply #6 on: August 06, 2013, 09:49:12 PM »
While #prism news rocks the internet I would certainly prefer having a server that tries to deliver my email to other email servers without being eavesdropped upon.

That would require a switch from qmail to something else, or very substantial changes to qmail. Neither is a trivial change.

I notice somebody has developed patches for qmail to allow it to do MTA-to-MTA encryption:

http://inoa.net/qmail-tls/
« Last Edit: August 06, 2013, 09:51:40 PM by CharlieBrady »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Does email server sme8 use ssl when connecting to others?
« Reply #7 on: August 06, 2013, 09:56:22 PM »
Note however that using TLS/SSL in the MTA isn't a silver bullet. You will have lots of disruption of mail delivery if you don't accept self-signed certs, but if you accept self-signed certs, then man-in-the-middle attacks become very simple, so your ISP (or somebody working with them) could crack open your email and read it.

If you care about secrecy of your email, do it end-to-end using PGP or S/MIME.

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Does email server sme8 use ssl when connecting to others?
« Reply #8 on: August 06, 2013, 09:59:56 PM »
That would require a switch from qmail to something else, or very substantial changes to qmail. Neither is a trivial change.

I notice somebody has developed patches for qmail to allow it to do MTA-to-MTA encryption:

http://inoa.net/qmail-tls/
http://notes.sagredo.eu/node/84
nl.linkedin.com/in/hanscees/

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Does email server sme8 use ssl when connecting to others?
« Reply #9 on: August 06, 2013, 10:08:09 PM »
Note however that using TLS/SSL in the MTA isn't a silver bullet. You will have lots of disruption of mail delivery if you don't accept self-signed certs,

Why is that? Are MTA admins lazy?

Man in the middle attack makes it difficult yes. Solution would mean to verify certificate in dns. Anyway, then it gets murky.

Some discussion about this subject here: http://serverfault.com/questions/315365/using-self-signed-ssl-for-mail

However, smtp over tls (apparently using port 25) might not be perfect, it might just be enough not to be eavesdropped upon, since that would mean a lot more preparation to listen in. But you are correct to assume it is not watertight.
Not accepting self-signed certificates might not be realistic.
« Last Edit: August 06, 2013, 10:22:32 PM by hanscees »
nl.linkedin.com/in/hanscees/