> # dig txt interomen.ru

Он у меня в черном списке для $sender_address_domain, совсем небольшом:

aolchina.com
yahoo.cn
yahoo.com.cn
yahoo.com.hk
badoo.com
*.apphosting.bounces.google.com
interomen.ru
warmsend.ru
asiapd.com
ssm87.in
mail.vn

> interomen.ru. 1947 IN TXT "v=spf1 ip4:195.191.40.160 ip4:128.1.1.1/1 a mx 
> ~all"

  deny  set acl_m_spf = ${lookup dnsdb{defer_never,txt=$sender_address_domain}}
        message = SPF record for $sender_address_domain explicitly states \
                  that this domain should never send mail
        condition = ${if eq{$acl_m_spf}{v=spf1 -all}}

  deny  message = SPF record for $sender_address_domain lists too many \
                  IP-addresses, perhaps the whole world - that`s cheating
        condition = ${if match{$acl_m_spf}{\N(?m)^v=spf(.+?/\d\s){2}\N}}

Последнюю строку сейчас переделаю, вот так:

        condition = ${if match{$acl_m_spf}\
                              {\N(?m)^v=spf((.+?/\d\s){2}|.+/[1-6]\s)\N}}

inetnum:        195.191.40.0 - 195.191.41.255
descr:          Intellect Commerce LTD
address:        Russia, 141205, Moscow region, Pushkino city,
address:        Yaroslavskoe shosse str., 64
e-mail:         [email protected]

Host intellect-commerce.ru not found: 3(NXDOMAIN)

domain:        INTELLECT-COMMERCE.RU
state:         REGISTERED, NOT DELEGATED, VERIFIED

Заношу 195.191.40.0/23 в черный список.

_______________________________________________
Exim-users mailing list
[email protected]
http://mailground.net/mailman/listinfo/exim-users

Ответить