list

server

This is the main dovel repository, it has the Go code to run dovel SMTP server.

curl https://dovel.email/server.tar tar

7a673f0

Author: bmayer3 (bmayer@sibros.tech)

Date: Tue Feb 7 20:01:53 2023 -0300

Parent: 37824a8

Fix typos

Diff

interfaces/file/file.go

commit 7a673f06e9fc06c37c307c749a26c3bc75fa47fa
Author: bmayer3 <bmayer@sibros.tech>
Date:   Tue Feb 7 20:01:53 2023 -0300

    Fix typos

diff --git a/interfaces/file/file.go b/interfaces/file/file.go
index 9724160..2d4a78f 100644
--- a/interfaces/file/file.go
+++ b/interfaces/file/file.go
@@ -174,7 +174,7 @@ func (f FileHandler) SendHandler() http.HandlerFunc {
 			}
 			if len(mxs) == 0 {
 				println("empty MX response")
-				http.Error(w, "empty MX reponse", http.StatusInternalServerError)
+				http.Error(w, "empty MX response", http.StatusInternalServerError)
 				return
 			}
 

interfaces/main.go

commit 7a673f06e9fc06c37c307c749a26c3bc75fa47fa
Author: bmayer3 <bmayer@sibros.tech>
Date:   Tue Feb 7 20:01:53 2023 -0300

    Fix typos

diff --git a/interfaces/main.go b/interfaces/main.go
index 6a31539..2a97773 100644
--- a/interfaces/main.go
+++ b/interfaces/main.go
@@ -34,7 +34,7 @@ type Info struct {
 type Mailbox struct {
 	Title   string
 	LastMod time.Time
-	Lenght  int
+	Length  int
 }
 
 type Attachment struct {