Sha256: 5a6a065b4fe87b00972ee479702e6593594fed2b2356d543fa92f2c17f82a800

Contents?: true

Size: 1.68 KB

Versions: 3

Compression:

Stored size: 1.68 KB

Contents

# MAYaml for Getmail

[![Gem Version](https://badge.fury.io/rb/mayaml-getmail.svg)](http://badge.fury.io/rb/mayaml-getmail)
[![Code Climate](https://codeclimate.com/github/skopciewski/mayaml-getmail/badges/gpa.svg)](https://codeclimate.com/github/skopciewski/mayaml-getmail)
[![Dependency Status](https://gemnasium.com/badges/github.com/skopciewski/mayaml-getmail.svg)](https://gemnasium.com/github.com/skopciewski/mayaml-getmail)

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

## 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 = user@mailserver.net
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][semver]

## 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

[semver]: http://semver.org/
[mayaml_url]: https://github.com/skopciewski/mayaml

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mayaml-getmail-4.0.2 README.md
mayaml-getmail-4.0.1 README.md
mayaml-getmail-4.0.0 README.md