On Wed, 13 Oct 2010 08:36:37 +0400, ëÒÀÞËÏ× äÍÉÔÒÉÊ áÌÅËÓÁÎÄÒÏ×ÉÞ
<dimakda ÎÁ yandex.ru> wrote:
> úÄÒÁ×ÓÔ×ÕÊÔÅ, Exim-users.
> 
> äÏÂÒÙÊ  ÄÅÎØ,  Ñ  ÎÏ×ÉÞÏË  ×  ÏÂÌÁÓÔÉ Exim É ×ÏÐÒÏÓ ÎÅ ËÔÏ ÎÅ ÓÏÚÄÁ×ÁÌ
> ÞÅÒÎÙÅ   É   ÂÅÌÙÅ  ÓÐÉÓËÉ  E-Mail'Ï×   ÈÒÏÎÑÝÉÅÓÑ  ×  mysql  Á  ÎÅ  ×
> ÔÅËÓÔÏ×ÉËÁÈ.
> íÏÖÅÔ ÞÔÏ ÐÏÓÁ×ÅÔÕÅÔÅ ÉÌÉ ÐÒÉÍÅÒÎÏ ËÁË ÎÁÐÉÓÁÔØ ÐÏÄÏÂÎÏÅ.

GET_BL=select eat.value from email_attribute_3=eat, email_account_3=ea,
email_domain_3=ed where ea.did=ed.id and ea.id=eat.aid and eat.attr_id=2
and

        warn
        set acl_m2= ${lookup mysql{GET_BL ea.account='$local_part' and
ed.name='$domain'}}
        condition = ${if !eq{$acl_m2}{}{1}{0}}
        set acl_m2 = ${tr{$acl_m2}{,}{|}}
        set acl_m2 = ^($acl_m2)\$

        deny
        domains = +relay_to_domains:+local_domains
        condition = ${if !eq{$acl_m2}{}{1}{0}}
        condition = ${if match{$sender_address}{$acl_m2}{yes}{no}}
        message = "Mail is blocked. User $local_part@$domain enter address
$sender_address to personal black list. Exclude $local_part@$domain from
your mailing list. ABUSE"

× mysql ÈÒÁÎÉÔÓÑ ÓÔÒÉÎÇ ×ÉÄÁ
.*@gov.ru,vasya ÎÁ mail.ru,.*24 ÎÁ lux.net

-- 
best regards,
 Alexander                          mailto:tit ÎÁ irk.ru

Ответить