mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
e72e241d7a
The mailboxes must be a tuple of string or the string "ALL". The generated value was broken if the mailboxes configuration was a list of only one string (but not "ALL"): the generated expression ( "str" ) was not a tuple but a string. Now, we always generate a tuple (by adding a comma, even with a list of size one). Getmail works with the special value "ALL" whether it is a in tuple or not, so this case is not specifically handled.
16 lines
312 B
Text
16 lines
312 B
Text
# Generated by Home-Manager.
|
|
[retriever]
|
|
type = SimpleIMAPSSLRetriever
|
|
server = imap.example.com
|
|
port = 993
|
|
username = home.manager
|
|
password_command = ('password-command')
|
|
mailboxes = ( 'INBOX', 'Sent', 'Work', )
|
|
|
|
[destination]
|
|
type = MDA_external
|
|
path = /bin/maildrop
|
|
|
|
[options]
|
|
delete = false
|
|
read_all = true
|