MAYaml for Getmail

Gem Version Code Climate

This is the getmail configs generator which gets the accounts settigns from yaml file. See Mayaml

Installation

Add this line to your application's Gemfile:

gem 'mayaml-getmail'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mayaml-getmail

Usage

If ruby bin dir is in your PATH, just call mayaml-getmail <path_to_the_yaml_file> [<dir_for_storing_configs>] to list generated configs or store them in <dir_for_storing_configs>.

The result may looks like:

### Name: acc1 ==================================================
[retriever]
type = SimpleIMAPSSLRetriever
server = test.mailserver.net
port = 998
username = [email protected]
password = sercet_password
mailboxes = ("INBOX")

[destination]
type = MDA_external
path = /usr/bin/procmail
unixfrom = True

[options]
verbose = 1
delivered_to = false
received = false
read_all = true
delete = true

Versioning

See semver.org

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request