Sha256: 43b770b7fb05b875e1f539d84c39ccfde36417f97eb68977e709e7e0016abb8c
Contents?: true
Size: 1 KB
Versions: 7
Compression:
Stored size: 1 KB
Contents
#!/usr/bin/env ruby require "rubygems" require "bundler/setup" require "mailman" ENV["RAILS_ENV"] ||= "development" require File.expand_path("../../config/environment.rb", __FILE__) Mailman.config.ignore_stdin = true Mailman.config.logger = Logger.new File.expand_path("../../log/mailman_#{Rails.env}.log", __FILE__) # Use Maildir # Mailman.config.maildir = "~/Maildir" # Use Pop3 # # Mailman.config.pop3 = { # server: 'pop.gmail.com', port: 995, ssl: true, # username: USERNAME, # password: PASSWORD # } # Use IMAP # # Mailman.config.imap = { # server: 'imap.gmail.com', # port: 993, # usually 995, 993 for gmail # ssl: true, # username: USERNAME, # password: PASSWORD, # } Mailman::Application.run do # DO NOT CHANGE. Replyr Route for processing reply emails to Replyr.address_pattern do Replyr::ReplyEmail.process(message) end # add your custom routes (independent of Replyr) here # to 'support%@example.org' do # # ... # end # # default do # # ... # end end
Version data entries
7 entries across 7 versions & 1 rubygems