-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Clarifying usage of delivery_whitelist #8575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was nothing to suggest that `delivery_whitelist` could not be used on its own. We had to find this out by trial an error. Hopefully, this change (or better equivalent) will help other people. Cheers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine by me!
status: reviewed
email/dev_environment.rst
Outdated
@@ -190,6 +190,10 @@ In the above example all email messages will be redirected to ``[email protected]` | |||
and messages sent to the ``[email protected]`` address or to any email address | |||
belonging to the domain ``specialdomain.com`` will also be delivered as normal. | |||
|
|||
.. caution:: | |||
|
|||
The ``delivery_whitelist`` option can only be used in conjuction with the ``delivery_addresses`` option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: conjunction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we reword this to make it easier to read? Something like this:
The ``delivery_whitelist`` option is ignored when the ``delivery_addresses``
option is not defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this:
The delivery_whitelist
option is ignored unless the delivery_addresses
option is defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and concise! I like it. Thanks!
I need to squash these commits into a single commit, right? |
@tomhv there's no need because we use a tool that squashes everything automatically. Cheers! |
Thank you @tomhv! |
There was nothing to suggest that
delivery_whitelist
could not be used on its own. We had to find this out by trial an error.Hopefully, this change (or better equivalent) will help other people.
Cheers.