[Notice] Announcing the End of Demo Server [Read me]
채수원 2015-03-02
Merge branch 'feature/mailbox' of dlab/hive
from pull-request 1501

* refs/heads/feature/mailbox:
  Mailbox: Ignore emails from a person who is not a Yobi user

Reviewed-by: 채수원 
--- app/mailbox/EmailHandler.java
+++ app/mailbox/EmailHandler.java
@@ -217,6 +217,10 @@
             author = User.findByEmail(senderAddress.getAddress());
+            if (author.isAnonymous()) {
+                continue;
+            }
             try {
                 createResources(msg, author, errors);
             } catch (MailHandlerException e) {
--- docs/technical/mailbox.md
+++ docs/technical/mailbox.md
@@ -39,7 +39,7 @@
 Yobi posts the fetched emails as an issue or a comment if possible.
 Mailbox determines the author by the sender's email address from 'From' header of
-the email.
+the email. Emails from the sender who is not a user of Yobi are ignored.
 Mailbox determines the projects by the detail parts, which comes after plus
 sign in local part, e.g. owner/project from yobi+owner/project@mail.com, of the
Add a comment