Up.
This commit is contained in:
parent
112ea6cd86
commit
5700a78e7e
@ -6,14 +6,18 @@
|
||||
|
||||
[data]
|
||||
email = {{ $email | quote }}
|
||||
mbsyncAccountNumber = {{ $mbsyncAccountNumber }}
|
||||
|
||||
{{- if gt $mbsyncAccountNumber 0 -}}
|
||||
{{- range $i, $e := until $mbsyncAccountNumber -}}
|
||||
{{ $mbsyncAccountName := promptString "MbSync account name " }}
|
||||
{{ $mbsyncAccountMail := promptString "MbSync account mail " }}
|
||||
{{ $mbsyncAccountUser := promptString "MbSync account user " }}
|
||||
{{ $mbsyncAccountHost := promptString "MbSync account host " }}
|
||||
[[data.mbsync]]
|
||||
name = {{ promptString "MbSync account name " }}
|
||||
email = "accountEmail"
|
||||
username = "accountUserName"
|
||||
server = "accountServer"
|
||||
|
||||
name = {{ $mbsyncAccountName | quote }}
|
||||
mail = {{ $mbsyncAccountMail | quote }}
|
||||
user = {{ $mbsyncAccountUser | quote }}
|
||||
host = {{ $mbsyncAccountHost | quote }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
@ -31,9 +31,9 @@ BufferLimit 100M
|
||||
|
||||
IMAPAccount {{ $value.name }}
|
||||
# Address to connect to
|
||||
Host {{ $value.server }}
|
||||
User {{ $value.username }}
|
||||
PassCmd "pass {{ $value.server }}/{{ $value.username }}"
|
||||
Host {{ $value.host }}
|
||||
User {{ $value.user }}
|
||||
PassCmd "pass {{ $value.host }}/{{ $value.user }}"
|
||||
# Use SSL
|
||||
# SSLType IMAPS
|
||||
SSLType None
|
||||
|
Loading…
Reference in New Issue
Block a user