list

site

Dovel website repository.

curl -O https://dovel.email/site.tar.gz tar.gz

index.html

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>dovel email</title>
  5. <meta charset="UTF-8">
  6. <meta name="author" content="Brian Lee Mayer">
  7. <meta name="description" content="Dovel is a simple and extensible SMTP server that let's you send and receive email using a self hosted instance with minimum configuration. Dovel is free and open source software written in Go.">
  8. <meta name="language" content="english">
  9. <meta name="keywords" content="email, dovel, blmayer, self host, software, smtp, web, interface">
  10. <meta name="viewport" content="width=device-width, initial-scale=1">
  11. <meta name="color-scheme" content="light dark">
  12. <style>
  13. body {
  14. max-width: 43em;
  15. margin: 60px auto;
  16. padding: 20px;
  17. font-family: sans-serif;
  18. }
  19. pre {
  20. font-weight: bold;
  21. background: lightgray;
  22. padding: 8px;
  23. border-radius: 8px;
  24. }
  25. ol li {
  26. padding-bottom: 10px;
  27. }
  28. @media (prefers-color-scheme: dark) {
  29. pre {
  30. background: darkslategray;
  31. }
  32. </style>
  33. </head>
  34. <body>
  35. <center>
  36. <pre style="background:none">
  37. _________ ______
  38. ______ /________ _________ /
  39. _ __ /_ __ \_ | / / _ \_ /
  40. / /_/ / / /_/ /_ |/ // __/ /
  41. \__,_/ \____/_____/ \___//_/ ________
  42. | ~~ # |
  43. | --- |
  44. '--------'
  45. </pre>
  46. <i>Self host your email in 5 easy steps.</i>
  47. <p>
  48. <a href=https://goreportcard.com/report/dovel.email/server><img src=https://goreportcard.com/badge/dovel.email/server></a>
  49. &emsp;
  50. <a href=https://pkg.go.dev/dovel.email/server><img src=https://pkg.go.dev/badge/dovel.email/server.svg></a>
  51. &emsp;
  52. <a href=git.html><img src="https://img.shields.io/badge/git-repos-blue?logo=git"></a>
  53. &emsp;
  54. <a href="//hub.docker.com/r/bleemayer/dovel"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/bleemayer/dovel?logo=docker&label=bleemayer%2Fdovel%20pulls%3A"></a>
  55. </p>
  56. </center>
  57. <h2>About</h2>
  58. Dovel is a SMTP server that sends and receives emails acording to a
  59. simple configuration file. It also comes with an optional web interface
  60. that you can use to browse your emails. It is designed to be simple and
  61. easy to use, and will remain so. Dovel is great because:
  62. <ul>
  63. <li>
  64. Is lightweight: Uses only a few MBs of RAM and loads
  65. pages super fast.
  66. </li>
  67. <li>Is easy to configure: Needs just one JSON file.</li>
  68. <li>Is easy to use: The design is simple and extensible.</li>
  69. <li>Supports DKIM</li>
  70. <li>Supports PGP using the WKD standard</li>
  71. </ul>
  72. This project is under the BSD-3-Clause license, its code can be found
  73. in our <a href=git.html>git repositories</a>.
  74. <h3>Roadmap</h3>
  75. Dovel is in early stages and in active development, this means there
  76. is a lot to be done. The major features planned are as follows:
  77. <ul>
  78. <li><s>Support DKIM.</s></li>
  79. <li><s>Multiple inboxes.</s></li>
  80. <li><s>PGP support.</s></li>
  81. <li><s>Multiple users.</s></li>
  82. <li>Create http and ssh clients.</li>
  83. </ul>
  84. <h2>Installation</h2>
  85. There are 2 ways of installing it: using docker or building the binary.
  86. To build and install the binary version you need <kbd>go</kbd>
  87. propperly installed, this guide works for MacOS, Linux and BSD systems.
  88. <ol>
  89. <li>
  90. Install dovel by running:
  91. <tt>go install dovel.email/server@v0.13.1</tt>.
  92. </li>
  93. <li>
  94. Configure dovel by creating the configuration file, an
  95. example is provided below. Running <kbd>server</kbd>
  96. is enough to start.
  97. </li>
  98. <li>
  99. Configure your MX record in your domain registrar to
  100. point to your server. This is needed to receive email.
  101. </li>
  102. <li>
  103. Configure other DNS records as you wish in your domain
  104. registrar such as PTR, SPF, DKIM or DMARC to improve
  105. sending emails. Dovel supports DKIM by passing the key
  106. path in the configuration file.
  107. </li>
  108. <li>
  109. Create the handlers you want for each domain. This is
  110. explained below.
  111. </li>
  112. </ol>
  113. <p>
  114. The docker version has similar steps, instead of 1. build the
  115. docker image. To run the container you need to give dovel a
  116. way to access config files, one option is to share the config
  117. folder using <kbd>-v</kbd> argument:
  118. </p>
  119. <kbd>docker run bleemayer/dovel -v CONFIG_FOLDER:/root/.config/dovel/</kbd>
  120. <h3>Configuring</h3>
  121. The following configuration is enought to receive emails: Dovel needs
  122. the file <kbd>~/.config/dovel/config.json</kbd> is order to work
  123. correctly, otherwise it will use default settings which may not
  124. suit you. The field <i>vaultFile</i> is optional for receiving emails.
  125. <pre>{
  126. "port": "8000",
  127. "domain": "dovel.email",
  128. "vaultFile": "users.json"
  129. }</pre>
  130. Now the hook must be placed: suppose your domain is <i>dovel.email</i>,
  131. emails addressed to <i>joe@dovel.email</i> will be handled by a hook
  132. named <kbd>receive-dovel.email</kbd> and emails sent by this domain are
  133. handled by <kbd>send-dovel.email</kbd> likewise.
  134. <p>
  135. So, to enable a domain, simply create the according script.
  136. To see all options please refer to the
  137. <a href=//pkg.go.dev/dovel.email/server> go docs</a>.
  138. </p>
  139. <h3>Hooks</h3>
  140. Dovel can handle email for different domains, so you can have multiple
  141. inboxes. To achieve this handler files must be created in the
  142. <kbd>~/.config/dovel/hooks/</kbd> folder. The program will run the
  143. corresponding hook passing the email as standard input.
  144. <p>
  145. Dovel has some usefull hooks in the
  146. <a href=hooks/index.html>hooks</a> repository:
  147. </p>
  148. <ul>
  149. <li>receive-example.domain</li>
  150. </ul>
  151. <h2>Using</h2>
  152. Using <kbd>dovel</kbd> email server is meant to be super easy: the server
  153. uses the configuration above, you can add the vault file in order to
  154. authenticate users that want to send emails. After creating the config
  155. file, simply run <kbd>server</kbd> to start the server.
  156. <h2>Contributing</h2>
  157. Sending bug reports, starting discussions and sending patches can be
  158. done easily by email, this project follows the git email convention,
  159. our git repositories can be found on <a href=git.html>our git</a>.
  160. <p>
  161. Financial support is also greatly appreciated, you can donate
  162. any amount by using this <a href=//ko-fi.com/blmayer>ko-fi</a>
  163. link. Thank you!
  164. </p>
  165. <hr>
  166. <footer>
  167. <small>
  168. This website is licensed under the MIT license.
  169. Copyright © 2022-24 Brian Mayer
  170. </small>
  171. </footer>
  172. </body>
  173. </html>