index.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>Installation d'un webmail - The Yojik Server Installation Guide</title>
  9. <link rel="shortcut icon" href="../img/favicon.ico">
  10. <link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
  11. <link rel="stylesheet" href="../css/theme.css" type="text/css" />
  12. <link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
  13. <link rel="stylesheet" href="../css/highlight.css">
  14. <script>
  15. // Current page data
  16. var mkdocs_page_name = "Installation d'un webmail";
  17. var mkdocs_page_input_path = "18-dixhuit.md";
  18. var mkdocs_page_url = "/18-dixhuit/";
  19. </script>
  20. <script src="../js/jquery-2.1.1.min.js"></script>
  21. <script src="../js/modernizr-2.8.3.min.js"></script>
  22. <script type="text/javascript" src="../js/highlight.pack.js"></script>
  23. <script src="../js/theme.js"></script>
  24. </head>
  25. <body class="wy-body-for-nav" role="document">
  26. <div class="wy-grid-for-nav">
  27. <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
  28. <div class="wy-side-nav-search">
  29. <a href=".." class="icon icon-home"> The Yojik Server Installation Guide</a>
  30. <div role="search">
  31. <form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
  32. <input type="text" name="q" placeholder="Search docs" />
  33. </form>
  34. </div>
  35. </div>
  36. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  37. <ul class="current">
  38. <li>
  39. <li class="toctree-l1 ">
  40. <a class="" href="..">Home</a>
  41. </li>
  42. <li>
  43. <li>
  44. <li class="toctree-l1 ">
  45. <a class="" href="../1-un/">Installation d'un serveur Debian/Stretch sécurisé</a>
  46. </li>
  47. <li>
  48. <li>
  49. <li class="toctree-l1 ">
  50. <a class="" href="../2-deux/">Premières étapes de sécurisation du serveur</a>
  51. </li>
  52. <li>
  53. <li>
  54. <li class="toctree-l1 ">
  55. <a class="" href="../3-trois/">Configuration du réseau</a>
  56. </li>
  57. <li>
  58. <li>
  59. <li class="toctree-l1 ">
  60. <a class="" href="../4-quatre/">Installation d'un serveur de temps</a>
  61. </li>
  62. <li>
  63. <li>
  64. <li class="toctree-l1 ">
  65. <a class="" href="../5-cinq/">Installation d'un pare-feu</a>
  66. </li>
  67. <li>
  68. <li>
  69. <li class="toctree-l1 ">
  70. <a class="" href="../6-six/">Contrer les attaques de brute-force avec fail2ban</a>
  71. </li>
  72. <li>
  73. <li>
  74. <li class="toctree-l1 ">
  75. <a class="" href="../7-sept/">Installation d'un serveur de courrier basique</a>
  76. </li>
  77. <li>
  78. <li>
  79. <li class="toctree-l1 ">
  80. <a class="" href="../8-huit/">Installation du serveur DNS</a>
  81. </li>
  82. <li>
  83. <li>
  84. <li class="toctree-l1 ">
  85. <a class="" href="../9-neuf/">Installation d'un serveur web</a>
  86. </li>
  87. <li>
  88. <li>
  89. <li class="toctree-l1 ">
  90. <a class="" href="../10-dix/">Installation de dovecot et de l'authentification</a>
  91. </li>
  92. <li>
  93. <li>
  94. <li class="toctree-l1 ">
  95. <a class="" href="../11-onze/">Installation des certificats letsencrypt</a>
  96. </li>
  97. <li>
  98. <li>
  99. <li class="toctree-l1 ">
  100. <a class="" href="../12-douze/">Ajout des enregistrements SPF et DKIM au fichier de zone DNS</a>
  101. </li>
  102. <li>
  103. <li>
  104. <li class="toctree-l1 ">
  105. <a class="" href="../17-dixsept/">Installation de programmes de surveillance du serveur</a>
  106. </li>
  107. <li>
  108. <li>
  109. <li class="toctree-l1 current">
  110. <a class="current" href="./">Installation d'un webmail</a>
  111. <ul>
  112. <li class="toctree-l3"><a href="#installation">Installation</a></li>
  113. <li class="toctree-l3"><a href="#configuration">configuration</a></li>
  114. <li class="toctree-l3"><a href="#creation-du-site-webmailyojiknet">Création du site webmail.yojik.net</a></li>
  115. <li class="toctree-l3"><a href="#creation-du-certificat-pour-webmailyojiknet">Création du certificat pour webmail.yojik.net</a></li>
  116. <li class="toctree-l3"><a href="#test">Test</a></li>
  117. </ul>
  118. </li>
  119. <li>
  120. <li>
  121. <li class="toctree-l1 ">
  122. <a class="" href="../19-dixneuf/">Installation de git et de gogs</a>
  123. </li>
  124. <li>
  125. </ul>
  126. </div>
  127. &nbsp;
  128. </nav>
  129. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  130. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  131. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  132. <a href="..">The Yojik Server Installation Guide</a>
  133. </nav>
  134. <div class="wy-nav-content">
  135. <div class="rst-content">
  136. <div role="navigation" aria-label="breadcrumbs navigation">
  137. <ul class="wy-breadcrumbs">
  138. <li><a href="..">Docs</a> &raquo;</li>
  139. <li>Installation d'un webmail</li>
  140. <li class="wy-breadcrumbs-aside">
  141. </li>
  142. </ul>
  143. <hr/>
  144. </div>
  145. <div role="main">
  146. <div class="section">
  147. <p>## Installation d'un webmail</p>
  148. <p>Le webmail permet de consulter/envoyer ses messages à partir d'un navigateur. Nous allons installer <strong>rainloop</strong>.
  149. Vous trouverez des informations complémentaires (installation, plugins, configuration) sur le site: <a href="http://www.rainloop.net/">Rainloop</a>. Il existe d'autres webmails, mais celui-ci me convient bien.</p>
  150. <h3 id="installation">Installation</h3>
  151. <ol>
  152. <li>Télécharger la version communautaire sur le site, et la décompresser dans votre répertoire web (/home/www/ pour moi)<br />
  153. ```shell
  154. wget http://www.rainloop.net/repository/webmail/rainloop-community-latest.zip</li>
  155. </ol>
  156. <pre><code>Création du répertoire /var/www/html/webmail et décompression de l'archive zip dans celui-ci
  157. </code></pre>
  158. <p>mkdir /var/www/html/webmail
  159. cp /home/ericadmin/rainloop-community-latest.zip /var/www/html/webmail/
  160. cd /var/www/html/webmail
  161. unzip rainloop-community-latest.zip</p>
  162. <pre><code>
  163. 2. Installation des dépendances: librairies et programmes
  164. Il nous faut les extensions php suivantes:
  165. &gt; cURL, json, libxml, dom, openssl, DateTime, PCRE, SPL, sqlite
  166. </code></pre>
  167. <p>root@adara:/etc# apt install php7.0 libapache2-mod-php7.0 php7.0-curl php7.0-xml php7.0-sqlite3
  168. ```</p>
  169. <h3 id="configuration">configuration</h3>
  170. <p>• Droits de lecture/écriture de l'application:</p>
  171. <p>cd /var/www/html/webmail/rainloop
  172. find . -type d -exec chmod 755 {} \;
  173. find . -type f -exec chmod 644 {} \;</p>
  174. <p>• Mise en place des propriétaires de l'application:</p>
  175. <p>cd /var/www/html/webmail/rainloop
  176. chown -R www-data:www-data .</p>
  177. <h3 id="creation-du-site-webmailyojiknet">Création du site webmail.yojik.net</h3>
  178. <h3 id="creation-du-certificat-pour-webmailyojiknet">Création du certificat pour webmail.yojik.net</h3>
  179. <p>Nous allons créer un certificat pour notre site webmail.</p>
  180. <h3 id="test">Test</h3>
  181. </div>
  182. </div>
  183. <footer>
  184. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  185. <a href="../19-dixneuf/" class="btn btn-neutral float-right" title="Installation de git et de gogs">Next <span class="icon icon-circle-arrow-right"></span></a>
  186. <a href="../17-dixsept/" class="btn btn-neutral" title="Installation de programmes de surveillance du serveur"><span class="icon icon-circle-arrow-left"></span> Previous</a>
  187. </div>
  188. <hr/>
  189. <div role="contentinfo">
  190. <!-- Copyright etc -->
  191. </div>
  192. Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  193. </footer>
  194. </div>
  195. </div>
  196. </section>
  197. </div>
  198. <div class="rst-versions" role="note" style="cursor: pointer">
  199. <span class="rst-current-version" data-toggle="rst-current-version">
  200. <span><a href="../17-dixsept/" style="color: #fcfcfc;">&laquo; Previous</a></span>
  201. <span style="margin-left: 15px"><a href="../19-dixneuf/" style="color: #fcfcfc">Next &raquo;</a></span>
  202. </span>
  203. </div>
  204. </body>
  205. </html>