diff options
author | 2010-08-06 17:18:21 +0200 | |
---|---|---|
committer | 2010-12-02 21:48:39 +0100 | |
commit | 88f24642bd789ac41a86fe34ffe469cf9f0521a3 (patch) | |
tree | 0d3ca69c76c018c64a18acde50445db75d982d83 /db | |
parent | Send emails as delayed job (diff) | |
download | recruiting-webapp-88f24642bd789ac41a86fe34ffe469cf9f0521a3.tar.gz recruiting-webapp-88f24642bd789ac41a86fe34ffe469cf9f0521a3.tar.bz2 recruiting-webapp-88f24642bd789ac41a86fe34ffe469cf9f0521a3.zip |
Email answers allow checking signatures
Use Mail gem for receiving emails. Changed fixture email question to require a
valid signature. Tests for signatures validation.
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/questions-email.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/db/fixtures/questions-email.yml b/db/fixtures/questions-email.yml index 6ad2d95..6a4a64b 100644 --- a/db/fixtures/questions-email.yml +++ b/db/fixtures/questions-email.yml @@ -3,12 +3,13 @@ email_q1: documentation: question_category: ebuild content: "Email a major eclass change announcement. Replace all - @gentoo.org addresses with @localhost addresses. + @gentoo.org addresses with @localhost addresses. Remember to sign the email. The from field should match email you set in the application. \n\nTo configure postfix use for example recruiting: \n\n gentoo-dev-announce: | \"curl -F 'email=<-' http://localhost:3000/users/receive_email\" \n gentoo-dev: /dev/null \n\nin /etc/mail/aliases." - req_text: 'To : gentoo-dev-announce@localhost - To : gentoo-dev@localhost - Reply-to : gentoo-dev@localhost' + req_text: "To : gentoo-dev-announce@localhost\n + To : gentoo-dev@localhost\n + Reply-to : gentoo-dev@localhost\n + Signatures : signature" |