Skip to main content


prohibited_hosts — prevent mail from being delivered to invalid destinations


Prohibited_Hosts = ("")

Prohibited_Hosts = ("" "fe80::a00:1")


Some providers use DNS tricks to deter systems they feel are abusing their resources. One technique is to return a loopback or other local address to you when you query their MX records.

There are some addresses you may never want to deliver mail to. For example, when configured as an outbound e-mail relay you have no reason to deliver mail to your own ip, or any loopback addresses on your machine. To prevent delivery to loopback addresses ( or the null route, you can use the following line:

Prohibited_Hosts = ( "" "" )


Note: This setting does not in any way affect where you can receive mail from, only where you can deliver mail to.


prohibited_hosts is valid in the global scope.

Was this page helpful?