458ae95c95
This is first working version of an added login query to the account creation process. It fixes the first part of #6, but there still needs to be more testing for the second part of that issue, which concerns creating accounts with domains not listed in domain.csv.
19 lines
459 B
Plaintext
19 lines
459 B
Plaintext
[Account $title]
|
|
|
|
localrepository = $title-local
|
|
remoterepository = $title-remote
|
|
|
|
[Repository $title-remote]
|
|
type = $type
|
|
remoteuser = $login
|
|
sslcacerfile = /etc/ssl/cets/ca-certificates.crt
|
|
remotepasseval = mailpasswd("$title")
|
|
remotehost = $imap
|
|
port = $iport
|
|
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
|
|
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
[Repository $title-local]
|
|
type = Maildir
|
|
localfolders = ~/.mail/$title
|