2024-03-04 12:30:21 +00:00
|
|
|
[data]
|
2024-03-04 13:21:42 +00:00
|
|
|
email = {{ promptString "Git main email address " "" | quote }}
|
2024-03-04 19:02:02 +00:00
|
|
|
{{- with promptInt "How many mail accounts would you like to configure " 0 -}}{{- $count := . | int }}
|
2024-03-04 15:20:30 +00:00
|
|
|
{{- if gt $count 0 -}}
|
|
|
|
{{- range $i, $e := until $count }}
|
2024-03-04 19:02:02 +00:00
|
|
|
[[data.mail]]
|
|
|
|
comment = {{ promptString "Mail description " | quote }}
|
|
|
|
account = {{ promptString "Mail account name " | quote }}
|
|
|
|
address = {{ promptString "Mail address " | quote }}
|
|
|
|
usrname = {{ promptString "Mail username " | quote }}
|
|
|
|
imapsrv = {{ promptString "Mail imap host " | quote }}
|
|
|
|
smtpsrv = {{ promptString "Mail smtp host " | quote }}
|
|
|
|
smtport = {{ promptInt "Mail smtp port " 465 }}
|
|
|
|
smtpaut = {{ promptChoice "Mail smtp auth " (list "on" "plain") "on" }}
|
|
|
|
autofro = {{ promptChoice "Auto from " (list "on" "off") "off" }}
|
2024-03-04 15:20:30 +00:00
|
|
|
{{- end }}
|
2024-03-04 15:23:00 +00:00
|
|
|
{{- end }}
|
2024-03-04 15:03:46 +00:00
|
|
|
{{- end }}
|