Answer the question
In order to leave comments, you need to log in
How do I allow exim to send mail ONLY to certain domains?
Good afternoon.
There is a server with Linux and Exim.
It is necessary to allow exim to send emails only to certain domains.
Now the letters go without restrictions:
fr_router:
driver = queryprogram
command = /var/www/exim/exim_filter.py $message_id $sender_address
command_user = exim
domains = ! +local_domains
transport = remote_smtp
domainlist allowed_domains = ukr.net : mail.ru
domains = +allowed_domains
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question