From 459724889a62d65ff09ee15d6b6bd98b650e1cb7 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sun, 20 Aug 2023 22:09:01 +0200 Subject: wizard: add sendmail support Allow users to configure sendmail as outgoing protocol. Signed-off-by: Robin Jarry Reviewed-by: Tristan Partin Tested-by: Tim Culverhouse --- widgets/account-wizard.go | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/account-wizard.go b/widgets/account-wizard.go index 4e65439e..266b86f5 100644 --- a/widgets/account-wizard.go +++ b/widgets/account-wizard.go @@ -158,6 +158,7 @@ const ( MAILDIRPP = "Maildir++" NOTMUCH = "notmuch" SMTP = "SMTP" + SENDMAIL = "sendmail" // transports SSL_TLS = "SSL/TLS" OAUTH = "SSL/TLS+OAUTHBEARER" @@ -168,7 +169,7 @@ const ( var ( sources = []string{IMAP, JMAP, MAILDIR, MAILDIRPP, NOTMUCH} - outgoings = []string{SMTP, JMAP} + outgoings = []string{SMTP, JMAP, SENDMAIL} transports = []string{SSL_TLS, OAUTH, XOAUTH, STARTTLS, INSECURE} ) @@ -327,7 +328,7 @@ Press and to cycle between each field in this form, or