|
I want to forbid sending mail to all domains except one. How can i do this ? |
Answered by
foxcpp
Sep 21, 2023
Replies: 1 comment 1 reply
|
You can use |
1 reply
Answer selected by
Maloupi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
destinationdirectives insubmissionblock to define routing for each domain separately. In default config,,default_destinationsends outbound messages via queue. You can change it to reject and then move queue use todestination gooddomain.comto allow such delivery for this destination domain. Like this: