#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 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.
gem install mailman
Works fine with Ruby >= 1.8.7, rubinius and jRuby. Does not work with Ruby 1.8.6.
- mail >= 2.0.3
- activesupport >= 2.3.4
- fssm >= 0.1.4
- maildir >= 0.5.0
- i18n >= 0.4.1
This project was sponsored by the Ruby Summer of Code, and my mentor was Steven Soroka.
Copyright (c) 2010 Jonathan Rudenberg. See LICENSE for details.