U
U
uralmas2019-01-14 12:22:41
Exim
uralmas, 2019-01-14 12:22:41

How to tell Exim a list of whitelisted recipients?

I want to configure exim so that it sends letters only to the emails specified in the white list, and does not let the rest. On the Internet I found a description for the white list of SENDERS, but in addition to it, a white list of RECIPIENTS is needed.

check_outgoing:
  driver = redirect
  domains = ! +local_domains
  senders = ! : ! *@lsearch;/etc/exim/allowed.domains : ! lsearch;/etc/exim/allowed.mails
  allow_fail
  data = :fail: You can not send mail from this mailbox from this server.

I tried to copy the line from sendersand specify the check for recipients, but this is a configuration error.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question