Commit graph

3 commits

Author SHA1 Message Date
Patrick Gansterer
ef5b5a11a2 Add reply_email_smtp_server task 2017-02-04 07:20:32 +01:00
Patrick Gansterer
4817ab6452 Move command line mail handling into separate function 2017-02-04 07:16:50 +01:00
Patrick Gansterer
4e35e2d58e Add handling for message reply via email
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
2016-03-04 18:11:27 +01:00