68fe8623ad
This patch started by addresssing the code review comments to close https://github.com/rycee/home-manager/pull/290. However initiating a new pull request it became clear, that home-manager changed significantly since then. This changes the initial pull request to be consistent with the email account management in home-manager now. It also adds a simple test and support for multiple accounts.
16 lines
299 B
Plaintext
16 lines
299 B
Plaintext
# Generated by Home-Manager.
|
|
[retriever]
|
|
type = SimpleIMAPSSLRetriever
|
|
server = imap.example.com
|
|
username = home.manager
|
|
password_command = ('password-command')
|
|
mailboxes = ( 'INBOX', 'Sent', 'Work' )
|
|
|
|
[destination]
|
|
type = MDA_external
|
|
path = /bin/maildrop
|
|
|
|
[options]
|
|
delete = false
|
|
read_all = true
|