# Can MiaB be configured for forward secrecy (ECDHE or DHE)?

**URL:** <https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799>\
**Category:** Maintenance\
**Created:** [March 15, 2021, 9:18pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799 "2021-03-15T21:18:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![grosen](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/grosen/32/1798_2.png) [@grosen](https://discourse.mailinabox.email/u/grosen)\
**Post date:** [March 15, 2021, 9:18pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799/1 "2021-03-15T21:18:40Z")

</div>

Hi,

I use [hardenize.com](http://hardenize.com) to help me improve security on both my websites and my MiaB email servers.

Hardenize suggest the following for my MiaB email server:

**Headline:**  
“_Reconfigure server to use forward secrecy and authenticated encryption_”

**Detail:**  
“_Even though this server supports TLS 1.2, the cipher suite configuration is suboptimal. We recommend that you reconfigure the server so that the cipher suites providing forward secrecy (ECDHE or DHE in the name, in this order of preference) and authenticated encryption (GCM or CHACHA20 in the name) are at the top. The server must also be configured to select the best-available suite._”

Is this analysis by Hardenize for my MiaB email server correct?

If yes, is it possible to change configuration for MaiB to provide ECDHE or DHE ?

Thank you in advance for taking time to read this and thx for any suggested proposals.

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [March 15, 2021, 10:16pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799/2 "2021-03-15T22:16:47Z")

</div>

It already is. If I’m reading the report correctly, it is advising to make ECDHE and DHE preferred by MiaB.

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [March 15, 2021, 10:30pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799/3 "2021-03-15T22:30:17Z")

</div>

For more information on configuring encryption, you might be interested in this page:

[http://www.postfix.org/FORWARD\_SECRECY\_README.html](http://www.postfix.org/FORWARD_SECRECY_README.html)

You can run `postconf -d` to print out `postfix` current configuration.

---

<div class="post-metadata">

**Author:** ![grosen](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/grosen/32/1798_2.png) [@grosen](https://discourse.mailinabox.email/u/grosen)\
**Post date:** [March 15, 2021, 10:49pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799/4 "2021-03-15T22:49:52Z")

</div>

Thank you for your fast reply, I will check the link you provided 👍

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [March 15, 2021, 11:01pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799/5 "2021-03-15T23:01:27Z")

</div>

If you discover a configuration that Hardenize likes, please share it here in the forum.

---

<div class="post-metadata">

**Author:** ![grosen](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/grosen/32/1798_2.png) [@grosen](https://discourse.mailinabox.email/u/grosen)\
**Post date:** [March 15, 2021, 11:12pm UTC](https://discourse.mailinabox.email/t/can-miab-be-configured-for-forward-secrecy-ecdhe-or-dhe/7799/6 "2021-03-15T23:12:55Z")

</div>

Yes, of course, I will provide you with any workable solution I might find 🙂
