Skip to content

Commit

Permalink
Send eveyrhting to mailhole
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed Jul 30, 2017
1 parent 07852c3 commit e0d2bbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tutormail/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ def __init__(self, *args, **kwargs):

self.exceptions = set()

def should_mailhole(self, message, recipient, sender):
# Send everything to mailhole
return True

def reject(self, envelope):
rcpttos = tuple(r.lower() for r in envelope.rcpttos)
subject = str(envelope.message.subject)
Expand Down

0 comments on commit e0d2bbf

Please sign in to comment.