diff cmd/sievemgr/internal/config/parser.go @ 19:854167f55839

Fix SRV record lookup Do not use a configuration file default value for port in order to detect when it is not set by the user so that SRV record lookup is triggered. Depend on version 0.8.1 of go.guido-berhoerster.org/managesieve which contains an additional necessary fix.
author Guido Berhoerster <guido+sievemgr@berhoerster.name>
date Wed, 03 Feb 2021 13:34:44 +0100
parents 4dff4c3f0fbb
children
line wrap: on
line diff
--- a/cmd/sievemgr/internal/config/parser.go	Tue Feb 02 23:57:37 2021 +0100
+++ b/cmd/sievemgr/internal/config/parser.go	Wed Feb 03 13:34:44 2021 +0100
@@ -92,7 +92,6 @@
 			}
 			acct = &Account{
 				Name: lit,
-				Port: "4190",
 			}
 		case "default":
 			isDefault = true