Skip to content

evgenii/mailman-ex

Repository files navigation

#mailman-ex

Extension for mailman gem New features:

  • configure mailman at one place

    Mailman.config { :logger => Logger.new('log/mailman.log'), :pool_interval => 30, :pop3 => { :server => 'localhost', :username => '[email protected]', :password => 'password', } }

  • Add new type of geting mail - Maildirs - the same as Maildir but for domain at all

    Mailman.config.maildirs = '/home/vmail/domain1' this will monitoring all messages for domain1 (like: '/home/vmail/domain1/**/new/*' )

Mailman

Mailman is an incoming mail processing microframework (with POP3 and Maildir support), that works with Rails "out of the box".

require 'mailman'
Mailman::Application.run do
  to 'ticket-%id%@example.org' do

    Ticket.find(params[:id]).add_reply(message)
  end
end

See the User Guide for more information.

There is also a great Getting Started Guide written by Dan Sowter.

Installation

gem install mailman

Requirement

Works fine with Ruby >= 1.8.7, rubinius and jRuby. Does not work with Ruby 1.8.6.

Gems dependencies

  • mail >= 2.0.3
  • activesupport >= 2.3.4
  • fssm >= 0.1.4
  • maildir >= 0.5.0
  • i18n >= 0.4.1

Continous integration

Build Status

Thanks

This project was sponsored by the Ruby Summer of Code, and my mentor was Steven Soroka.

Contributors

Copyright

Copyright (c) 2010 Jonathan Rudenberg. See LICENSE for details.

About

Extension for mailman gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages