> From: Denis Zaika

> äÌÑ IP ÁÄÒÅÓÁ ÎÁ ËÏÔÏÒÏÍ ÓÌÕÛÁÅÔ íôá ÓÕÝÅÓÔ×ÕÅÔ ÎÅÓËÏÌØËÏ
> ÄÅÓÑÔËÏ× ÚÁÐÉÓÅÊ á × ÒÁÚÎÙÈ ÚÏÎÁÈ. óÅÎÄÍÅÊÌ ÐÒÉÎÉÍÁÌ ÐÏÞÔÕ
> ÄÌÑ ×ÓÅÈ ÜÔÉÈ ÄÏÍÅÎÏ×

> íÏÖÎÏ ÌÉ ÓÄÅÌÁÔØ ÐÒÏ×ÅÒËÕ, × ËÏÔÏÒÏÊ ËÒÏÍÅ domain = +local_domains
> ÉÌÉ domain = !+local_domains ÐÒÏ×ÅÒÑÌÓÑ ÂÙ ÅÝÅ É A-record ÄÌÑ ÄÏÍÅÎÁ
> ÐÏÌÕÞÁÔÅÌÑ ÎÁ ÓÏ×ÐÁÄÅÎÉÅ Ó ÌÏËÁÌØÎÙÍ IP ÁÄÒÅÓÏÍ ÓÅÒ×ÅÒÁ.

http://docs.exim.org/current/spec_html/ch10.html#SECTdomainlist :

| If a pattern consists of the string @mx_any it matches any domain that
| has an MX record pointing to the local host or to any host that is
| listed in hosts_treat_as_local.

| Sometimes you may want to ignore certain IP addresses when using one of
| these patterns. You can specify this by following the pattern with
| "/ignore="<ip list>, where <ip list> is a list of IP addresses. These
| addresses are ignored when processing the pattern (compare the
| ignore_target_hosts option on a router). For example:
|
| domains = @mx_any/ignore=127.0.0.1
|
| This example matches any domain that has an MX record pointing to one of
| the local host's IP addresses other than 127.0.0.1.

> ÷ÏÔ ÐÒÏÂÏ×ÁÌ ÔÁË
> 
> dnslookup:
>       driver = dnslookup
>       domains = !+local_domains

ðÏÐÒÏÂÕÊÔÅ:

        domains = !+local_domains : !@mx_any/ignore=127.0.0.1

ôÕÔ ÐÒÏ×ÅÒÑÅÔÓÑ ÎÅ ÚÁÐÉÓØ A, Á ÚÁÐÉÓÉ MX, ÎÏ ÜÔÏ ÄÁÖÅ ÐÒÁ×ÉÌØÎÅÅ.

ôÏÌØËÏ ÐÒÏÄÕÍÁÊÔÅ ËÕÄÁ (× ËÁËÕÀ ÄÉÒÅËÔÏÒÉÀ/ÆÁÊÌ) ÐÉÓØÍÏ ÐÏÊÄÅÔ,
ÅÓÌÉ ÄÏÍÅÎÁ ÎÅÔÕ × ÓÐÉÓËÅ.

Ответить