4e35e2d58e
If the reply_email_domain configuration is set the messages plugin will use unique Reply-To addresses for every email. They contain enough information to reconstruct the message context and a hash to avoid user forgery and spam. A mail transfer agent must be configured to call the new rake task foodsoft:parse_reply_email for incoming mails. The rake task requires the receipt of the mail in the RECIPIENT variable and the raw message via standard input. An example invocation would look like: rake foodsoft:parse_reply_email RECIPIENT=f.1.1.HASH < test.eml
25 lines
815 B
Ruby
25 lines
815 B
Ruby
$:.push File.expand_path("../lib", __FILE__)
|
|
|
|
# Maintain your gem's version:
|
|
require "foodsoft_messages/version"
|
|
|
|
# Describe your gem and declare its dependencies:
|
|
Gem::Specification.new do |s|
|
|
s.name = "foodsoft_messages"
|
|
s.version = FoodsoftMessages::VERSION
|
|
s.authors = ["robwa"]
|
|
s.email = ["foodsoft-messages@ini.tiative.net"]
|
|
s.homepage = "https://github.com/foodcoops/foodsoft"
|
|
s.summary = "Messaging plugin for foodsoft."
|
|
s.description = "Adds the ability to exchange messages to foodsoft."
|
|
|
|
s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "README.md"]
|
|
s.test_files = Dir["test/**/*"]
|
|
|
|
s.add_dependency "rails"
|
|
s.add_dependency "base32"
|
|
s.add_dependency "deface", "~> 1.0.0"
|
|
s.add_dependency "mail"
|
|
|
|
s.add_development_dependency "sqlite3"
|
|
end
|