Unverified Commit 7b14664e authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Allow SMTP 'RCPT TO: bridges@bridgedb'.

parent 891b75af
......@@ -316,7 +316,8 @@ class SMTPIncomingDelivery(smtp.SMTP):
recipient = user.dest
ourAddress = smtp.Address(self.context.smtpFromAddr)
if not (ourAddress.domain in recipient.domain):
if not ((ourAddress.domain in recipient.domain) or
(recipient.domain == "bridgedb")):
logging.debug(("Not our domain (%s) or subdomain, skipping"
" SMTP 'RCPT TO' address: %s")
% (ourAddress.domain, str(recipient)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment