Parcourir la source

Fix typo "addresses"

Simon Legner il y a 5 ans
Parent
commit
999cfea307
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      config.go
  2. 2 2
      smtprelay.ini

+ 2 - 2
config.go

@@ -19,8 +19,8 @@ var (
 	localKey          = flag.String("local_key", "", "SSL private key for STARTTLS/TLS")
 	localForceTLS     = flag.Bool("local_forcetls", false, "Force STARTTLS (needs local_cert and local_key)")
 	allowedNets       = flag.String("allowed_nets", "127.0.0.1/8 ::1/128", "Networks allowed to send mails")
-	allowedSender     = flag.String("allowed_sender", "", "Regular expression for valid FROM EMail adresses")
-	allowedRecipients = flag.String("allowed_recipients", "", "Regular expression for valid TO EMail adresses")
+	allowedSender     = flag.String("allowed_sender", "", "Regular expression for valid FROM EMail addresses")
+	allowedRecipients = flag.String("allowed_recipients", "", "Regular expression for valid TO EMail addresses")
 	allowedUsers      = flag.String("allowed_users", "", "Path to file with valid users/passwords")
 	remoteHost        = flag.String("remote_host", "smtp.gmail.com:587", "Outgoing SMTP server")
 	remoteUser        = flag.String("remote_user", "", "Username for authentication on outgoing SMTP server")

+ 2 - 2
smtprelay.ini

@@ -27,11 +27,11 @@
 ; Networks that are allowed to send mails to us
 ;allowed_nets = 127.0.0.1/8 ::1/128
 
-; Regular expression for valid FROM EMail adresses
+; Regular expression for valid FROM EMail addresses
 ; Example: ^(.*)@localhost.localdomain$
 ;allowed_sender =
 
-; Regular expression for valid TO EMail adresses
+; Regular expression for valid TO EMail addresses
 ; Example: ^(.*)@localhost.localdomain$
 ;allowed_recipients =