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