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

ca322a7

Author: brian (git@myr.sh)

Date: Sun Oct 1 17:56:42 2023 -0300

Parent: 94df03a

Small updates

Diff

README.md

commit ca322a71ee1c5ecd6b4db608f8c5eab59e7f666b
Author: brian <git@myr.sh>
Date:   Sun Oct 1 17:56:42 2023 -0300

    Small updates

diff --git a/README.md b/README.md
index e2b9216..bb3145f 100644
--- a/README.md
+++ b/README.md
@@ -6,19 +6,20 @@ _  __  /_  __ \_ | / /  _ \_  /
 / /_/ / / /_/ /_ |/ //  __/  /  
 \__,_/  \____/_____/ \___//_/   
 ```
+
+[![Go Report Card](https://goreportcard.com/badge/git.derelict.garden/dovel/email)](https://goreportcard.com/report/git.derelict.garden/dovel/email)
+[![Go Reference](https://pkg.go.dev/badge/git.derelict.garden/dovel/email.svg)](https://pkg.go.dev/git.derelict.garden/dovel/email)
 </center>
 
 # dovel development home
 
 Welcome! This is the git repository of the dovel.email project, here you'll
-find the go code and template pages. Feel free to send us email and contribute.
+find the go code for the SMTP server.
 
-Some code meta information:
-
-[![Go Report Card](https://goreportcard.com/badge/git.derelict.garden/dovel/email)](https://goreportcard.com/report/git.derelict.garden/dovel/email)
-[![Go Reference](https://pkg.go.dev/badge/git.derelict.garden/dovel/email.svg)](https://pkg.go.dev/git.derelict.garden/dovel/email)
 
-Also, take a look at our landing page:
+## Contributing
 
-[dovel website](https://dovel.email)
+General instructions can be found on the [git index page](/git.html), to keep
+track of patches or bug reports use the mail link on the header of this page.
 
+Thank you for taking your time.

TODO.txt

commit ca322a71ee1c5ecd6b4db608f8c5eab59e7f666b
Author: brian <git@myr.sh>
Date:   Sun Oct 1 17:56:42 2023 -0300

    Small updates

diff --git a/TODO.txt b/TODO.txt
index 0c35df6..11e2cd8 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,15 +1,10 @@
 ✓ Receive emails
 ✓ Multiple inboxes
 ✓ Send emails
-✓ Sort emails
-☐ Improve documentation
-☐ Outbox folder
-✓ Support PGP
-☐ Add PGP key by inbox, not webuser
 ✓ Support DKIM if needed
-☐ Improve web users
-✓ Add insert attachments button
+✓ Support PGP
 ✓ Use XDG desktop for config path
-✓ Support SMTP for sending email?
-☐ Add config menu
+✓ Support SMTP for sending email
 ☐ Add denylist filtering
+☐ Improve documentation
+☐ Change PGP to external package

cmd/dovel/backend.go

commit ca322a71ee1c5ecd6b4db608f8c5eab59e7f666b
Author: brian <git@myr.sh>
Date:   Sun Oct 1 17:56:42 2023 -0300

    Small updates

diff --git a/cmd/dovel/backend.go b/cmd/dovel/backend.go
index fa95135..32d4518 100644
--- a/cmd/dovel/backend.go
+++ b/cmd/dovel/backend.go
@@ -146,7 +146,6 @@ func (s *Session) Logout() error {
 	return nil
 }
 
-// TODO: remove pgp logic, move to client packages
 func (s *Session) Send(from string, tos []*mail.Address, raw io.Reader) error {
 	email, err := mail.ReadMessage(raw)
 	if err != nil {
@@ -177,6 +176,7 @@ func (s *Session) Send(from string, tos []*mail.Address, raw io.Reader) error {
 			return err
 		}
 
+		// TODO: use external package
 		slog.Debug("checking wkd key")
 		key, _ := wkd.Discover(to.Address)
 		if key != nil {