From 63b8dee422c196f9993435f53417df23828e054f Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 10 Sep 2015 16:16:20 -0300 Subject: Removed bounced email contact removal (#441) This feature was never working anyway. Anybody could remove addresses from anyones adressbook by sending a bounce and then the receiver was not able to send an email to that address anymore. Nice dos :) --- service/pixelated/adapter/mailstore/searchable_mailstore.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'service/pixelated/adapter/mailstore/searchable_mailstore.py') diff --git a/service/pixelated/adapter/mailstore/searchable_mailstore.py b/service/pixelated/adapter/mailstore/searchable_mailstore.py index 8ffc41b8..0c5310eb 100644 --- a/service/pixelated/adapter/mailstore/searchable_mailstore.py +++ b/service/pixelated/adapter/mailstore/searchable_mailstore.py @@ -34,8 +34,6 @@ class SearchableMailStore(object): # implementes MailStore @defer.inlineCallbacks def add_mail(self, mailbox_name, mail): stored_mail = yield self._delegate.add_mail(mailbox_name, mail) - # the stored_mail dont't have a content type needed for identify - # that the email is bounced or not, but this header is setted on input_mail self._search_engine.index_mail(stored_mail) defer.returnValue(stored_mail) -- cgit v1.2.3