Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
BridgeDB
Commits
7b14664e
Unverified
Commit
7b14664e
authored
Jun 07, 2014
by
Isis Lovecruft
Browse files
Allow SMTP 'RCPT TO: bridges@bridgedb'.
parent
891b75af
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bridgedb/email/server.py
View file @
7b14664e
...
...
@@ -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
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment