A basic SMTP server.
[mailpopbox.git] / config.go
index 8f3c7347d0ec419dd0fef0ad8b2babe3cf76981f..c50104bf628b0cd9d896897acd88577b815f8226 100644 (file)
--- a/config.go
+++ b/config.go
@@ -4,6 +4,9 @@ type Config struct {
        SMTPPort int
        POP3Port int
 
+       // Hostname is the name of the MX server that is running.
+       Hostname string
+
        Servers []Server
 }
 
@@ -11,9 +14,6 @@ type Server struct {
        // Domain is the second component of a mail address: <local-part@domain.com>.
        Domain string
 
-       // Hostname is the name of the MX server that is running.
-       Hostname string
-
        TLSKeyPath  string
        TLSCertPath string