From 7b389d0ad3289969cbf619ee185d35cbcd5672a6 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 10 Jan 2024 15:55:53 -0500 Subject: [PATCH] fix(tools): make username, password optional in manage alerts for mail servers --- tools/anvil-manage-alerts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/anvil-manage-alerts b/tools/anvil-manage-alerts index acc6fc70..91e2bd03 100755 --- a/tools/anvil-manage-alerts +++ b/tools/anvil-manage-alerts @@ -670,7 +670,7 @@ sub handle_mail_servers { # Do we have what we need? my $problem = 0; - foreach my $switch ("mail-server-address", "mail-server-port", "mail-server-username", "mail-server-password", "mail-server-security", "mail-server-authentication", "mail-server-helo-domain") + foreach my $switch ("mail-server-address", "mail-server-port", "mail-server-security", "mail-server-authentication", "mail-server-helo-domain") { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { switch => $switch,