FAQ / Policy controls / Q0714



Q0714

Question

Is there a way to configure Exim to reject mail to a certain local host?

Answer

No, only to certain domains. To reject at SMTP time, you can put a line like this in your ACL:

deny message = this domain is deliberately rejected
     domains = a.certain.domain

To fail addresses in messages that do not arrive over SMTP, you can set up a router like this:

reject_a_certain_domain:
  driver = redirect
  domains = a.certain.domain
  allow_fail
  data = :fail: this domain is deliberately rejected



FAQ / Policy controls / Q0714


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Policy_controls/Q0714 (last edited 2008-09-25 11:39:28 by localhost)