Other: Only listen on localhost and add send test

We should only listen on constants.Host when serving IMAP and SMTP.
This change fixes that. It also adds a test that we can send over SMTP
and receive over IMAP.
This commit is contained in:
James Houlahan
2022-10-28 13:38:16 +02:00
parent cb42358e2f
commit 93d9ae32fc
7 changed files with 124 additions and 11 deletions

View File

@ -34,7 +34,7 @@ var (
FullAppName = ""
// Version of the build.
Version = ""
Version = "0.0.0"
// Revision is current hash of the build.
Revision = ""