Answer the question
In order to leave comments, you need to log in
How can I prevent sending mail from certain domains in Exim?
There are about 100 domains on the server.
There are domains from which you need to prohibit sending mail (for example, for the domain bladeomen.com it is forbidden to send mail). These domains are removed from Exim's list of domains (domainlist local_domains = lsearch;/etc/exim/domains)
But still, Exim sends mail from these domains (mail from [email protected] goes to [email protected] without problems)
How to disable in Exim send mail from specific domains?
Tried:
reject_domains:
driver = redirect
domains = +blocked_domains
#blocked_domains
allow_fail = yes
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
no_more
Answer the question
In order to leave comments, you need to log in
https://debian.pro/1541 it's easier to go from the opposite way
Although I also wrote in the comments how to disable certain boxes, on the contrary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question