Bump the version to 2.1.0.
[mailpopbox.git] / config.go
index 1ed9d5a00c3becd3ce31e89fbb11fc02aad16fbc..961d2cb8f36ca36d15d32c2c8eec61428437c7f5 100644 (file)
--- a/config.go
+++ b/config.go
@@ -1,3 +1,9 @@
+// mailpopbox
+// Copyright 2020 Blue Static <https://www.bluestatic.org>
+// This program is free software licensed under the GNU General Public License,
+// version 3.0. The full text of the license can be found in LICENSE.txt.
+// SPDX-License-Identifier: GPL-3.0-only
+
 package main
 
 import (
@@ -29,8 +35,9 @@ type Server struct {
        // Location to store the mail messages.
        MaildropPath string
 
-       // Blacklisted addresses that should not accept mail.
-       BlacklistedAddresses []string
+       // Addresses that should not accept mail. This should include the @domain
+       // component.
+       BlockedAddresses []string
 }
 
 func (c Config) GetTLSConfig() (*tls.Config, error) {