vomit-config 0.4.0

Shared configuration library for all Vomit project tools
Documentation
account example {
    # `local` defaults to "~/.maildir", but is best set explicitly:
    local '/home/test/.maildir'
    # The mail server. Must support IMAPS
    remote 'imap.example.com'
    # Login name for the mail server
    user 'johndoe'
    # Password for the mail server. Can be set explicitly:
    #password 'hunter1'
    # but that's not great for security. Instead use a command,
    # e.g. to interact with your password manager
    pass-cmd 'pass show mail/example.com'
    # If sending mail is handled by a different server (i.e. a dedicated
    # SMTP server), override it like this:
    send {
        remote 'smtp.example.com'
        # Some mail setups have different credentials for sending,
        # so those can be overridden, too:
        user 'johndoe@example.com'
        # See password and pass-cmd above:
        password 's3cr3t'
        pass-cmd 'pass show mail/smtp.example.com'
    }
}