# Nextcloud Mail Server

**URL:** <https://help.nextcloud.com/t/nextcloud-mail-server/157>\
**Category:** ℹ️ Support\
**Tags:** mail-app\
**Created:** [June 2, 2016, 5:06pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157 "2016-06-02T17:06:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben](https://help.nextcloud.com/letter_avatar/ben/32/5_5575768a8748004e209b776fc1b2916d.png) [@Ben](https://help.nextcloud.com/u/Ben)\
**Post date:** [June 2, 2016, 5:06pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/1 "2016-06-02T17:06:05Z")

</div>

Are there plans to integrate a mail server in nextcloud? The user own his data so I think emails, too. In that proposal you could fork thunderbird and make it more slender and integrate the calendar function as default. The community needs a open source Microsoft Exchange and Outlook alternative imho.

I know at the moment you have many different things in your mind and important things to do, but it’s a recommendation for the future. 🙂

---

<div class="post-metadata">

**Author:** ![JaredBusch](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jaredbusch/32/67_2.png) [@JaredBusch](https://help.nextcloud.com/u/JaredBusch)\
**Post date:** [June 2, 2016, 5:21pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/2 "2016-06-02T17:21:29Z")

</div>

I will strongly disagree with this.

Nextcloud needs to be Nextcloud. Including everything under the sun in a single product is always a horrible idea.

This product runs on platforms that already have perfectly workable mail servers available for them.

Additionally, this prodcut is a server side system. there is no reason to include a mail _client_ in it.

---

<div class="post-metadata">

**Author:** ![Ben](https://help.nextcloud.com/letter_avatar/ben/32/5_5575768a8748004e209b776fc1b2916d.png) [@Ben](https://help.nextcloud.com/u/Ben)\
**Post date:** [June 2, 2016, 5:40pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/3 "2016-06-02T17:40:44Z")

</div>

I understand your point.  
But I was not talking about all features under the sun just about a feature to support another data critical aspect of life. Maybe you don’t have to implement a own mail server but to improve the collaboration with an existing and break down possible barriers to integrate a specific mail server with nextcloud. It might be possible to view all mails from that mail server in your nextcloud UI or provide a graphical userinterface for that mail server. It’s just a generic idea which is still to discuss.

---

<div class="post-metadata">

**Author:** ![miska](https://help.nextcloud.com/user_avatar/help.nextcloud.com/miska/32/71_2.png) [@miska](https://help.nextcloud.com/u/miska)\
**Post date:** [June 2, 2016, 5:59pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/4 "2016-06-02T17:59:07Z")

</div>

AFAIK there is a mail application for ownCloud. You don’t want to reimplement mail **server** especially in php web app. But mail client is there and AFAIK is being developed. Not as fancy as roundcube yet, but usable for basic stuff.

---

<div class="post-metadata">

**Author:** ![joergschulz](https://help.nextcloud.com/user_avatar/help.nextcloud.com/joergschulz/32/55349_2.png) [@joergschulz](https://help.nextcloud.com/u/joergschulz)\
**Post date:** [June 2, 2016, 5:59pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/5 "2016-06-02T17:59:25Z")

</div>

Current Owncloud has a promising - albeit beta - mail client with basic features and connectivity to popular mail server backend protocols like imap, pop, smtp. Given this app will be enhanced with better PGP/S-Mime integration, better calender integration, everything is planned already. Please have a look at the github discussions for the mail app about encryption; basically it is not desirable to have private keys on the cloud server, so we have a conceptual issue here. By the way, we have the same issue with contacts and calendars: no server side encryption possible.

---

<div class="post-metadata">

**Author:** ![Shugotenshi](https://help.nextcloud.com/user_avatar/help.nextcloud.com/shugotenshi/32/6635_2.png) [@Shugotenshi](https://help.nextcloud.com/u/Shugotenshi)\
**Post date:** [June 2, 2016, 5:59pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/6 "2016-06-02T17:59:55Z")

</div>

I agree with JaredBusch entirely. A major part of the Linux/Unix philosophy is built around modularity. Bringing other core system functions into dependency on one application defeats this advantage, and we’re left with something very limited and cumbersome like MS Exchange, or Active Directory.

As Ben mentions, an app (client or management interface) that can integrate with an existing mail server would be a worthwhile approach.

---

<div class="post-metadata">

**Author:** ![MorrisJobke](https://help.nextcloud.com/user_avatar/help.nextcloud.com/morrisjobke/32/19_2.png) [@MorrisJobke](https://help.nextcloud.com/u/MorrisJobke)\
**Post date:** [June 2, 2016, 6:03pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/7 "2016-06-02T18:03:19Z")

</div>

Just to link to the app: [https://github.com/nextcloud/mail](https://github.com/nextcloud/mail)

Also @ChristophWurst @Gomez and @jan are already here 😉

---

<div class="post-metadata">

**Author:** ![oparoz](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oparoz/32/135_2.png) [@oparoz](https://help.nextcloud.com/u/oparoz)\
**Post date:** [June 2, 2016, 6:03pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/8 "2016-06-02T18:03:46Z")

</div>

> [@JaredBusch](#):
>
> Additionally, this prodcut is a server side system. there is no reason to include a mail client in it.

Actually, it’s both. It’s a file and “data” repo AND a GUI for both, but the current Mail app is a strange animal, because it manages data which sits outside of xyzCloud, so there is little reason to use it (just add contacts and calendars to a webmail instead), but it’s quite popular, so it’s here to stay and maybe one day it will store messages locally.

EDIT: It’s true that some other apps also manage files stored on proprietary clouds, so maybe it’s not such a strange concept to manage external data.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [June 2, 2016, 9:04pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/9 "2016-06-02T21:04:26Z")

</div>

There are already great open source mail servers such as postfix or exim. Someone could provide a configuration sample for the mailserver together with a configuration interface plugin for owncloud (like postfixadmin or vexim).

---

<div class="post-metadata">

**Author:** ![joergschulz](https://help.nextcloud.com/user_avatar/help.nextcloud.com/joergschulz/32/55349_2.png) [@joergschulz](https://help.nextcloud.com/u/joergschulz)\
**Post date:** [June 2, 2016, 9:08pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/10 "2016-06-02T21:08:44Z")

</div>

I don’t think this is necessary because all these standard tools live on their own. They have their own documentation and their own prerequisites.  
The mail App just uses standard protocols in a standard way (yes, the mail.app developers even documented what has to be altered for google and for exim), so I assume all is covered. \*cloud and mail.app are independent of the mail tools.

---

<div class="post-metadata">

**Author:** ![benediktg](https://help.nextcloud.com/user_avatar/help.nextcloud.com/benediktg/32/4074_2.png) [@benediktg](https://help.nextcloud.com/u/benediktg)\
**Post date:** [June 2, 2016, 9:18pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/11 "2016-06-02T21:18:33Z")

</div>

If you look for an easy way of self-hosting a mail server then [http://mailcow.email](http://mailcow.email) might be worth a look. Otherwise the Owncloud (now Nextcloud 🙂) mail app does the job for providing access to mailboxes IMO.

---

<div class="post-metadata">

**Author:** ![alefattorini](https://help.nextcloud.com/user_avatar/help.nextcloud.com/alefattorini/32/80_2.png) [@alefattorini](https://help.nextcloud.com/u/alefattorini)\
**Post date:** [June 2, 2016, 9:58pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/12 "2016-06-02T21:58:47Z")

</div>

You should take a look at [www.nethserver.org](http://www.nethserver.org) it has already integrated owncloud 9.x with one click install, making a module also for nextcloud would be very cool and interesting. NethServer’s straightforward to install and administrate, all through a modern webUI and based on CentOS  
I’m happy to see this new project, I have waited for @jos’s next move for a while. Hi @jospoortvliet😉

Disclosure: I’m the NethServer community guy 😊

---

<div class="post-metadata">

**Author:** ![xandcg](https://help.nextcloud.com/letter_avatar/xandcg/32/5_5575768a8748004e209b776fc1b2916d.png) [@xandcg](https://help.nextcloud.com/u/xandcg)\
**Post date:** [June 3, 2016, 3:12am UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/13 "2016-06-03T03:12:18Z")

</div>

Beyond of what had be said, mail servers are too complex security-wise to be integrated into anything.

I think if Nextcloud find a way to make

> [https://protonmail.com](https://protonmail.com)

to create a plugin for _Nextcloud_ would be a lot of more interesting for everyone.

---

<div class="post-metadata">

**Author:** ![jyaworski](https://help.nextcloud.com/letter_avatar/jyaworski/32/5_5575768a8748004e209b776fc1b2916d.png) [@jyaworski](https://help.nextcloud.com/u/jyaworski)\
**Post date:** [June 3, 2016, 3:14am UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/14 "2016-06-03T03:14:25Z")

</div>

I’m in the ‘no’ camp here. Where Nextcloud’s functionality excels is its ability to integrate with other solutions and serve as a central command, per-se. It shouldn’t be a mail server; it should be able to talk to one, though. That’s why the plugin architecture is fantastic for this.

---

<div class="post-metadata">

**Author:** ![RuudschMaHinda](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ruudschmahinda/32/79_2.png) [@RuudschMaHinda](https://help.nextcloud.com/u/RuudschMaHinda)\
**Post date:** [June 3, 2016, 3:51am UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/15 "2016-06-03T03:51:20Z")

</div>

A mail server is something completely different. If you want to have a PHP-JS-Mail-server you can always look for or create an app for that. Until then, you should try your own mail server and you will soon realize why there are so few rolling their own.  
Including a mail server is a whole nother ballgame.  
The Mail Client on the other hand is being worked on AFAIK.

---

<div class="post-metadata">

**Author:** ![Ben](https://help.nextcloud.com/letter_avatar/ben/32/5_5575768a8748004e209b776fc1b2916d.png) [@Ben](https://help.nextcloud.com/u/Ben)\
**Post date:** [June 3, 2016, 12:32pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/16 "2016-06-03T12:32:12Z")

</div>

Ok let met change my suggestion to improve the mail server integration instead of create a Nextcloud mail server 😛

---

<div class="post-metadata">

**Author:** ![jospoortvliet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jospoortvliet/32/3_2.png) [@jospoortvliet](https://help.nextcloud.com/u/jospoortvliet)\
**Post date:** [June 7, 2016, 9:53am UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/17 "2016-06-07T09:53:53Z")

</div>

yeah, that’s what the Mail app is all about. And we want to deeply integrate it, like Calendar and Contacts.

Hi @alefattorini !!! Nice to see you here. Nethserver offers a great base for Nextcloud, once we have our first release (very, very soon!) we can sure see if we can promote the combination 😉

---

<div class="post-metadata">

**Author:** ![jan](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jan/32/75_2.png) [@jan](https://help.nextcloud.com/u/jan)\
**Post date:** [June 7, 2016, 4:32pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/18 "2016-06-07T16:32:55Z")

</div>

Maybe @ChristophWurst and @Gomez of the Mail app want to state their plans here? 🙂

@xandcg just as a note – Protonmail claim they are open source but are not really, see [https://twitter.com/jancborchardt/status/740219550805987332](https://twitter.com/jancborchardt/status/740219550805987332)

---

<div class="post-metadata">

**Author:** ![ChristophWurst](https://help.nextcloud.com/user_avatar/help.nextcloud.com/christophwurst/32/51805_2.png) [@ChristophWurst](https://help.nextcloud.com/u/ChristophWurst)\
**Post date:** [June 7, 2016, 5:05pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/19 "2016-06-07T17:05:44Z")

</div>

This has been discussed before (can’t find the issue ATM) and I am still convinced that we should not re-invent the wheel. There is no sane reason to implement that ourselves if we can use a standardized protocol to communicate with existing, well tested, open source IMAP severs.

However, as mentioned, I’d welcome if someone documents how admins can set up and configure the Mail app and an external (but on their own servers) mail server 🙂

---

<div class="post-metadata">

**Author:** ![alefattorini](https://help.nextcloud.com/user_avatar/help.nextcloud.com/alefattorini/32/80_2.png) [@alefattorini](https://help.nextcloud.com/u/alefattorini)\
**Post date:** [June 8, 2016, 8:36pm UTC](https://help.nextcloud.com/t/nextcloud-mail-server/157/20 "2016-06-08T20:36:32Z")

</div>

Mail app + a good turnkey mail server easy to administrate + nextcloud installation with 1 click = awesome!

[Next page](https://help.nextcloud.com/t/nextcloud-mail-server/157.md?page=2)
