Project

redimap

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Redimap provides a simple executable for polling mailboxes within an IMAP account. It keeps track of what it's seen using Redis. For new messages, the mailbox and uid are queued in Redis. The queue format should be compatible with Resque and Sidekiq.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 3.0.3
 Project Readme

Redimap

Redimap provides a simple executable for polling mailboxes within an IMAP account. It keeps track of what it's seen using Redis. For new messages, the mailbox and uid are queued in Redis. The queue format should be compatible with Resque and Sidekiq.

More sleep lost by tiredpixel.

Installation

Install using:

$ gem install redimap

Usage

View the available options:

$ bundle exec redimap --help

Most settings have defaults, but it is necessary to at least set up IMAP.

Check and queue new messages and quit:

$ bundle exec redimap --imap-host mail.example.com --imap-username a@example.com --imap-password helpimacarrot

Use --eternal to run eternally.

Contributions

Contributions are embraced with much love and affection! Please fork the repository and wizard your magic, ensuring that any tests are not broken by the changes. Then send a pull request. Simples! If you'd like to discuss what you're doing or planning to do, or if you get stuck on something, then just wave. :)

Do whatever makes you happy. We'll probably still like you. :)

Tests are written using minitest, which is included by default in Ruby 1.9 onwards. To run all tests in a pretty way:

ruby -rminitest/pride test/redimap.rb

Or, if you're of that turn of mind, use TURN (gem install turn):

turn test/redimap.rb

Blessing

May you find peace, and help others to do likewise.

Licence

© tiredpixel 2013. It is free software, released under the MIT License, and may be redistributed under the terms specified in LICENSE.