Exim как включить DROP для спама и bounce

EXIM, sendmail, postfix, Dovecot и прочие. Решение проблем связанных с работой электронной почты

Модератор: xM

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 13:07:10

получилось, но вот bounce все также сыпятся :(

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 13:20:00

значит надо смотреть на каком этапе принимается bounce и перенести warn с ratelimit ДО этого момента в check_recipient.


Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 14:22:53

я вот сюда поднял , всеравно сыпятся
accept hosts = :

accept hosts = +skipsmtpcheck_hosts


# Accept bounces to lists even if callbacks or other checks would fail
warn message = X-WhitelistedRCPT-nohdrfromcallback: Yes
condition = \
${if and {{match{$local_part}{(.*)-bounces\+.*}} \
{exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
{yes}{no}}

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 14:32:40

вот этот

Код: Выделить всё

      warn hosts      = !+relay_hosts
           senders    = :
           ratelimit  = 2 / 30m / per_rcpt / $local_part@$domain
           set acl_m3 = $local_part@$domain
после accept hosts = +skipsmtpcheck_hosts вставили? или где вставили?

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 14:41:22

да после , как написал выше так и стоит

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 14:50:19

может попрбовать как пишут тут:
Прибиваем спам, отправляемый как рикошет:
(когда спамеры подставляют адрес юзера в обратный адрес - сам огрёб позавчера несколько сотен писем :)) Вариант примитивный - но должен работать.
в ACL data:

Код: Выделить всё • Развернуть

# bounce test
deny message = Message that generate bounce not coming from main hosts
condition = ${if !match{$message_body}{X-Bounce-ID}{yes}{no}}
condition = ${if eq{$sender_address}{}{yes}{no}}


в транспорте:

Код: Выделить всё • Развернуть

remote_smtp:
driver = smtp
headers_add = "X-Bounce-ID: $primary_hostname"

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 15:05:11

Можно и попробовать. У меня работает первый вариант (хотя редкий спаммер до него дойдет).
Что касается вставки в транспорте дополнительного заголовка и отслеживания по нему сообщений от <>, то почему нет.

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 15:22:18

прописал, всеравно bounce сыпятся

Код: Выделить всё

 

hostlist senderverifybypass_hosts = net-iplsearch;/etc/senderverifybypasshosts

hostlist skipsmtpcheck_hosts = net-iplsearch;/etc/skipsmtpcheckhosts

hostlist spammeripblocks = net-iplsearch;/etc/spammeripblocks

hostlist backupmx_hosts = lsearch;/etc/backupmxhosts

hostlist trustedmailhosts = lsearch;/etc/trustedmailhosts

domainlist user_domains = lsearch;/etc/userdomains

smtp_receive_timeout = 165s

ignore_bounce_errors_after = 3d

timeout_frozen_after = 5d

auto_thaw = 7d

callout_domain_negative_expire = 1h

callout_negative_expire = 1h

daemon_smtp_ports = 25 : 2525 : 465

tls_on_connect_ports = 465

tls_require_ciphers = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP

acl_smtp_connect = acl_connect

acl_smtp_mail = acl_mail

acl_smtp_notquit = acl_notquit

spamd_address = 127.0.0.1 783




acl_smtp_rcpt = check_recipient
acl_smtp_data = check_message
acl_smtp_predata = check_predata


domainlist local_domains = lsearch;/etc/localdomains

domainlist relay_domains = lsearch;/etc/localdomains : \
    lsearch;/etc/secondarymx
hostlist relay_hosts = lsearch;/etc/relayhosts : \
    localhost
hostlist auth_relay_hosts = *









perl_startup = do '/etc/exim.pl'



smtp_banner = "${primary_hostname} ESMTP Exim ${version_number} \
  We do not authorize the use of this system to transport unsolicited, \n\
  and/or bulk e-mail."


untrusted_set_sender = *
local_from_check = false

rfc1413_query_timeout = 2s

split_spool_directory = yes

smtp_connect_backlog = 50
smtp_accept_max = 100

deliver_queue_load_max = 3










message_body_visible = 5000










never_users = root
















tls_certificate = /etc/exim.crt
tls_privatekey = /etc/exim.key
tls_advertise_hosts = *

helo_accept_junk_hosts = *

smtp_enforce_sync = false




begin acl




acl_mail:

	accept authenticated = *

	accept  condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
	accept hosts = +relay_hosts


deny
    condition = ${if eq{$sender_helo_name}{}}
    message   = HELO required before MAIL



drop  
    condition = ${if match{$sender_helo_name}{$primary_hostname}}
    message   = "REJECTED - Bad HELO - Host impersonating [$sender_helo_name]"


drop 
    condition = ${if eq{[$interface_address]}{$sender_helo_name}}
    message   = "REJECTED - Interface: $interface_address is _my_ address"

drop
    condition   = ${if isip{$sender_helo_name}}
    message     = Access denied - Invalid HELO name (See RFC2821 4.1.3)

drop
    condition   = ${if match{$sender_helo_name}{\N^\[\N}{no}{yes}}
    condition   = ${if match{$sender_helo_name}{\N\.\N}{no}{yes}}
    message     = Access denied - Invalid HELO name (See RFC2821 4.1.1.1)

drop
    condition   = ${if match{$sender_helo_name}{\N\.$\N}}
    message     = Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
    
drop
    condition   = ${if match{$sender_helo_name}{\N\.\.\N}}
    message     = Access denied - Invalid HELO name (See RFC2821 4.1.1.1)


    accept


acl_connect:


    accept
        hosts = +trustedmailhosts

    accept
        condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}


    accept
        condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}

    accept
        hosts = +relay_hosts : +backupmx_hosts

    accept 
        condition = ${if eq {$interface_port}{25}{no}{yes}}

    defer 
        message = The server has reached its limit for processing requests from your host.  Please try again later.
        log_message = "Host is ratelimited ($sender_rate/$sender_rate_period max:$sender_rate_limit)"
        ratelimit = 1.2 / 1h / strict / per_conn / noupdate



drop
    message = Your host is not allowed to connect to this server.
    log_message = Host is banned
    hosts = +spammeripblocks



    accept

acl_notquit:


accept authenticated = *

accept  condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
accept hosts = +relay_hosts

accept condition = ${if eq {$interface_port}{25}{no}{yes}}

warn condition = ${if match {$smtp_notquit_reason}{command}{yes}{no}}
    log_message = "Connection Ratelimit - $sender_fullhost because of notquit: $smtp_notquit_reason ($sender_rate/$sender_rate_period max:$sender_rate_limit)"    
    ratelimit = 1.2 / 1h / strict / per_conn

check_predata:
    drop message    = Bounce messages rate exceeds per $sender_rate_period for $acl_m3
        log_message = Bounce ratelimit: rate $sender_rate, period $sender_rate_period for $acl_m3
         condition  = ${if def:acl_m3 {1}}

accept



check_recipient:





  accept  hosts = :

  accept hosts = +skipsmtpcheck_hosts


  warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
           condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                {yes}{no}}

  accept   condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                {yes}{no}}


  warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
           condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                {yes}{no}}

  accept   condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                {yes}{no}}

   deny  hosts = ! +senderverifybypass_hosts
        ! verify = sender

  accept  hosts = *
          authenticated = *


  accept  condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
          add_header = ${if exists{/etc/eximpopbeforesmtpwarning}{${perl{popbeforesmtpwarn}{$sender_host_address}}{}}
  
  accept  hosts = +relay_hosts
          add_header = ${if exists{/etc/eximpopbeforesmtpwarning}{${perl{popbeforesmtpwarn}{$sender_host_address}}{}}




    require verify = recipient




  warn
    log_message = "Detected Dictionary Attack (Let $rcpt_fail_count bad recipients though before engaging)"
    condition = ${if > {${eval:$rcpt_fail_count}}{4}{yes}{no}}
    set acl_m7 = 1

  warn
    condition = ${if eq {${acl_m7}}{1}{1}{0}}
    ratelimit = 0 / 1h / strict / per_conn
    log_message = "Increment Connection Ratelimit - $sender_fullhost because of Dictionary Attack"

  drop 
    condition = ${if eq {${acl_m7}}{1}{1}{0}}
    message = "Number of failed recipients exceeded.  Come back in a few hours."

      warn hosts      = !+relay_hosts
           senders    = :
           ratelimit  = 2 / 30m / per_rcpt / $local_part@$domain
           set acl_m3 = $local_part@$domain	
	
    warn ratelimit = 0 / 1h / strict
    log_message = Sender rate $sender_rate / $sender_rate_period

 accept
    hosts = +trustedmailhosts
 
 accept
     condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}








  warn  domains = ! ${primary_hostname} : +local_domains
         condition = ${if <= {$message_size}{200K}{${if eq {${acl_m0}}{1}{0}{${if exists{/etc/global_spamassassin_enable}{1}{${if exists{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.spamassassinenable}{1}{0}}}}}}}{0}}
         set acl_m0    = 1
         set acl_m1    = ${lookup{$domain}lsearch*{/etc/userdomains}{$value}}

  warn  domains = ${primary_hostname}
          condition = ${if <= {$message_size}{200K}{${if eq {${acl_m0}}{1}{0}{${if exists{/etc/global_spamassassin_enable}{1}{${if exists{${extract{5}{:}{${lookup passwd{$local_part}{$value}}}}/.spamassassinenable}{1}{0}}}}}}}{0}}
          set acl_m0    = 1
          set acl_m1    = $local_part

 warn
     condition = ${if exists {/etc/mailproviders/rim/ips}{${if match_ip{$sender_host_address}{iplsearch;/etc/mailproviders/rim/ips}{1}{0}}}{0}}
     set acl_m0 = 0


  accept  domains = +relay_domains

  deny    message = $sender_fullhost is currently not permitted to \
                        relay through this server. Perhaps you \
                        have not logged into the pop/imap server in the \
                        last 30 minutes or do not have SMTP Authentication turned on in your email client.


check_message:
 accept  hosts = 127.0.0.1 : +relay_hosts

  accept  hosts = *
          authenticated = *

    accept
        hosts = +trustedmailhosts

    accept
        condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
deny message = Message that generate bounce not coming from main hosts
condition = ${if !match{$message_body}{X-Bounce-ID}{yes}{no}}
condition = ${if eq{$sender_address}{}{yes}{no}}

  warn
    condition = ${if eq {${acl_m0}}{1}{1}{0}}
    spam =  ${acl_m1}/defer_ok
    log_message = "SpamAssassin as ${acl_m1} detected message as spam ($spam_score)"
    add_header = X-Spam-Subject:  $h_subject
    add_header = X-Spam-Status: Yes, score=$spam_score
    add_header = X-Spam-Score: $spam_score_int
    add_header = X-Spam-Bar: $spam_bar
    add_header = X-Spam-Report: $spam_report
    add_header = X-Spam-Flag: YES
    set acl_m2 = 1

  warn
      condition =  ${if eq {$spam_score_int}{}{0}{${if <= {${spam_score_int}}{8000}{${if >= {${spam_score_int}}{50}{${perl{store_spam}{$sender_host_address}{$spam_score}}}{0}}}{0}}}}

  warn
  condition = ${if eq {${acl_m0}}{1}{${if eq {${acl_m2}}{1}{0}{1}}}{0}}
  add_header = X-Spam-Status: No, score=$spam_score
  add_header = X-Spam-Score: $spam_score_int
  add_header = X-Spam-Bar: $spam_bar
  add_header = X-Spam-Report: $spam_report
  add_header = X-Spam-Flag: NO
  log_message = "SpamAssassin as ${acl_m1} detected message as NOT spam ($spam_score)"


    
 accept






begin authenticators

courier_plain:
    driver = plaintext
    public_name = PLAIN
    server_prompts = :
    server_condition = ${if and{{!match {$auth2}{\N[/]\N}}{eq{${if match {$auth2}{\N[+%:@]\N}{${lookup{${extract{2}{+%:@}{$auth2}}}lsearch{/etc/demodomains}{yes}}}{${lookup{$auth2}lsearch{/etc/demousers}{yes}}}}}{}}{!eq{${extract{address}{${readsocket{/var/spool/authdaemon/socket}{AUTH ${strlen:exim\{$sender_host_address\|$received_ip_address\}\nlogin\n$auth2\n$auth3\n}\nexim\{$sender_host_address\|$received_ip_address\}\nlogin\n$auth2\n$auth3\n}}}}}{}}}{true}{false}}
    server_set_id = $auth2

courier_login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = Username:: : Password::
  server_condition = ${if and{{!match {$auth1}{\N[/]\N}}{eq{${if match {$auth1}{\N[+%:@]\N}{${lookup{${extract{2}{+%:@}{$auth1}}}lsearch{/etc/demodomains}{yes}}}{${lookup{$auth1}lsearch{/etc/demousers}{yes}}}}}{}}{!eq{${extract{address}{${readsocket{/var/spool/authdaemon/socket}{AUTH ${strlen:exim\{$sender_host_address\|$received_ip_address\}\nlogin\n$auth1\n$auth2\n}\nexim\{$sender_host_address\|$received_ip_address\}\nlogin\n$auth1\n$auth2\n}}}}}{}}}{true}{false}}
  server_set_id = $auth1







begin rewrite






begin routers



mailman_virtual_router:
    driver = accept
    require_files = /usr/local/cpanel/3rdparty/mailman/lists/${lc::$local_part}_${lc::$domain}/config.pck
    local_part_suffix_optional
    local_part_suffix = -admin     : \
			-bounces   : -bounces+* : \
                        -confirm   : -confirm+* : \
			-join      : -leave     : \
			-owner	   : -request   : \
			-subscribe : -unsubscribe
    transport = mailman_virtual_transport

mailman_virtual_router_nodns:
    driver = accept
    require_files = /usr/local/cpanel/3rdparty/mailman/lists/${lc::$local_part}/config.pck
    condition    = \
           ${if or {{match{$local_part}{.*_.*}} \
                     {eq{$local_part}{mailman}}} \
                {1}{0}}
    local_part_suffix_optional
    local_part_suffix = -admin     : \
			-bounces   : -bounces+* : \
                        -confirm   : -confirm+* : \
			-join      : -leave     : \
			-owner	   : -request   : \
			-subscribe : -unsubscribe
    domains = +local_domains
    transport = mailman_virtual_transport_nodns







democheck:
    driver = redirect
    require_files = "+/etc/demouids"
    condition = "${if eq {${lookup {$originator_uid} lsearch {/etc/demouids} {$value}}}{}{false}{true}}"
    allow_fail
    data = :fail: demo accounts are not permitted to relay email





boxtrapper_autowhitelist:
  driver = accept
  condition = ${if eq {$authenticated_id}{}{0}{${if eq {$sender_address}{$local_part@$domain}{0}{${if match{$received_protocol}{local}{${perl{checkbx_autowhitelist}{$authenticated_id}}}{${if match{$received_protocol}{\N^e?smtps?a$\N}{${perl{checkbx_autowhitelist}{$authenticated_id}}}{0}}}}}}}}
  require_files = "+/usr/local/cpanel/bin/boxtrapper"
  transport = boxtrapper_autowhitelist
  unseen
 

checkspam2:
    domains = ! +local_domains
    condition = "${perl{checkspam2}}"
    driver = redirect
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    allow_fail
    data = "${perl{checkspam2_results}}"

trackbandwidth:
    domains = ! +local_domains
    condition = "${perl{trackbandwidth}}"
    driver = redirect
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    allow_fail
    verify = false
    data = "${perl{trackbandwidth_results}}"

    
dk_lookuphost:
    driver = dnslookup
    domains = ! +local_domains
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    require_files = "+/var/cpanel/domain_keys/private/${sender_address_domain}" 
    headers_add = "${perl{mailtrapheaders}}"
    transport = dk_remote_smtp
    
    
lookuphost:
    driver = dnslookup
    domains = ! +local_domains
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    headers_add = "${perl{mailtrapheaders}}"
    transport = remote_smtp



literal:
    driver = ipliteral
    domains = ! +local_domains
    headers_add = "${perl{mailtrapheaders}}"
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    transport = remote_smtp






fail_remote_domains:
  driver = redirect
  domains = ! +local_domains : ! localhost : ! localhost.localdomain
  allow_fail
  data = ":fail: The mail server could not deliver mail to $local_part@$domain.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries."



















virtual_user_maildir_overquota:
  driver = redirect
  domains = +user_domains
  router_home_directory = ${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch{/etc/userdomains}{$value}}}{$value}}}}
  require_files = $home/etc/$domain
  condition = "${if exists {$home/etc/$domain/quota}{${if > {${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{0}{${if eq {${if exists {$home/mail/$domain/$local_part/maildirsize}{1}{0}}}{0}{${if > {${run {/usr/local/cpanel/bin/eximwrap GETDISKUSED $local_part $domain}}}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{true}{false}}}{${perl{checkuserquota}{$domain}{$local_part}{$message_size}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}}}{$home/mail/$domain/$local_part/maildirsize}}}}}{false}}}{false}}"
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  data = :fail:Mailbox quota exceeded
  allow_fail

        



        






central_filter:
    driver = redirect
    allow_filter
    no_check_local_user
    file = /etc/vfilters/${domain}
    file_transport = address_file
    directory_transport = address_directory
    domains = +user_domains
    pipe_transport = virtual_address_pipe
    reply_transport = address_reply
    router_home_directory = ${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}
    user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
    allow_fail
    no_verify

mainacct_central_user_filter:
    driver = redirect  
    allow_filter  
    allow_fail
    check_local_user
    domains = ! +user_domains
    condition = ${if eq {${lookup{$local_part}lsearch{/etc/domainusers}{$value}}}{}{0}{${if exists {/etc/vfilters/${lookup{$local_part}lsearch{/etc/domainusers}{$value}}}{1}{0}}}}
    file = "/etc/vfilters/${lookup{$local_part}lsearch{/etc/domainusers}{$value}}"
    directory_transport = address_directory
    file_transport = address_file  
    pipe_transport = address_pipe
    reply_transport = address_reply
    retry_use_local_part  
    no_verify

central_user_filter:
    driver = redirect
    allow_filter
    allow_fail
    check_local_user
    domains = ! +user_domains
    file = "${extract{5}{:}{${lookup passwd{$local_part}{$value}}}}/etc/filter"
    require_files = "+${extract{5}{::}{${lookup passwd{$local_part}{$value}}}}/etc/filter"
    router_home_directory = ${extract{5}{:}{${lookup passwd{$local_part}{$value}}}}
    directory_transport = address_directory
    file_transport = address_file
    pipe_transport = virtual_address_pipe
    reply_transport = address_reply
    retry_use_local_part
    no_verify

virtual_user_filter:
    driver = redirect
    allow_filter
    allow_fail
    no_check_local_user
    domains = +user_domains
    require_files = "+${extract{5}{::}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/filter"
    file = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/filter"
    router_home_directory = ${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}
    directory_transport = address_directory
    file_transport = address_file
    pipe_transport = virtual_address_pipe
    reply_transport = address_reply
    user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
    no_verify

virtual_aliases_nostar:
  driver = redirect
  allow_defer
  allow_fail
  require_files = "+/etc/valiases/$domain"
  data = ${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}
  file_transport = address_file
  group = mail
  pipe_transport = virtual_address_pipe
  retry_use_local_part
  unseen


virtual_user_spam:
    driver = accept
    domains = +user_domains
    require_files = "+${extract{5}{::}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.spamassassinboxenable:+${extract{5}{::}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd"
    condition = ${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{}{false}{${if match{$h_X-Spam-Status:}{\N^Yes\N}{true}{false}}}}
    headers_remove="x-spam-exim"
    transport = virtual_userdelivery_spam
    

virtual_boxtrapper_user:
  driver = accept 
  domains = +user_domains
  require_files = "+/usr/local/cpanel/bin/boxtrapper:+${extract{5}{::}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd"
  condition = ${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/.boxtrapperenable} {true} {false}}}}
  retry_use_local_part
  transport = virtual_boxtrapper_userdelivery

virtual_user:
  driver = accept
  headers_remove="x-spam-exim"
  domains = +user_domains
  require_files = "+${extract{5}{::}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd"
  condition = ${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{true}}
  transport = virtual_userdelivery


has_alias_but_no_mailbox_discarded_to_prevent_loop:
        driver = redirect
        require_files = "+/etc/valiases/$domain"
        domains = +user_domains
        condition = "${perl{checkvalias}{$domain}{$local_part}}"
        group = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
        user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
        allow_filter
        disable_logging = true

valias_domain_file:
  driver = redirect
  allow_defer
  allow_fail
  require_files = +/etc/vdomainaliases/$domain
  condition = ${lookup {$domain} lsearch {/etc/vdomainaliases/$domain}{yes}{no} }
  data = $local_part@${lookup {$domain} lsearch {/etc/vdomainaliases/$domain} }
virtual_aliases:
    driver = redirect
    allow_defer
    allow_fail
    require_files = "+/etc/valiases/$domain"
    data = ${lookup{*}lsearch{/etc/valiases/$domain}}
    file_transport = address_file
    group = mail
    pipe_transport = virtual_address_pipe







system_aliases:
  driver = redirect
  allow_defer
  allow_fail
  data = ${lookup{$local_part}lsearch{/etc/aliases}}
  file_transport = address_file
  pipe_transport = address_pipe
  retry_use_local_part

                                                                                                                                                                                                                                                       
local_aliases:
  driver = redirect
  allow_defer
  allow_fail
  data = ${lookup{$local_part}lsearch{/etc/localaliases}}
  file_transport = address_file
  pipe_transport = address_pipe
  check_local_user
                                                                                                                                                                                                                                                       


userforward:
  driver = redirect
  allow_filter
  check_ancestor
  check_local_user
  domains = ! +user_domains
  no_expn
  file = $home/.forward
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  directory_transport = address_directory
  no_verify


localuser_spam:
    driver = accept
    headers_remove="x-spam-exim"
    domains = ! +user_domains
    require_files = "+$home/.spamassassinboxenable"
    condition = ${if match{$h_X-Spam-Status:}{\N^Yes\N}{true}{false}}
    check_local_user
    transport = local_delivery_spam

boxtrapper_localuser:
  driver = accept
  require_files = "+/usr/local/cpanel/bin/boxtrapper:+$home/etc/.boxtrapperenable"
  check_local_user
  domains = ! +user_domains
  transport = local_boxtrapper_delivery

  
localuser:
    driver = accept
    headers_remove="x-spam-exim"
    check_local_user
    domains = ! +user_domains
    transport = local_delivery














begin transports





remote_smtp:
   driver = smtp
headers_add = "X-Bounce-ID: $primary_hostname"
  interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
  helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_hostname}}
  

dk_remote_smtp:
  driver = smtp
  interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
  helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_hostname}}
  dk_private_key = "/var/cpanel/domain_keys/private/${dk_domain}"
  dk_canon = nofws
  dk_selector = default




local_delivery:
    driver = appendfile
    delivery_date_add
    envelope_to_add
    directory = "${extract{5}{:}{${lookup passwd{$local_part}{$value}}}}/mail"
    maildir_use_size_file
    maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash$)[^\@]+)$
    maildir_format
    maildir_tag = ,S=$message_size
    quota_size_regex = ,S=(\d+)
    mode = 0660
    return_path_add
    group = ${extract{3}{:}{${lookup passwd{$local_part}{$value}}}}
    user = $local_part
    shadow_condition = ${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.cpanel/rim/bis/$local_part}{1}{0}}
    shadow_transport = rim_bis_notifier_local_user

rim_bis_notifier_local_user:
    driver = pipe
    headers_only
    command = /usr/local/cpanel/bin/rim_bis_notifier "${local_part}" ${extract{5}{:}{${lookup passwd{$local_part}{$value}}}}
    group = ${extract{3}{:}{${lookup passwd{$local_part}{$value}}}}
    user = $local_part
    log_output = true
    current_directory = "/tmp"
    return_fail_output = true
    return_path_add = false

local_delivery_spam:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  directory = "${extract{5}{:}{${lookup passwd{$local_part}{$value}}}}/mail/.spam"
  maildir_use_size_file
  maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash$)[^\@]+)$
  maildir_format
  maildir_tag = ,S=$message_size
  quota_size_regex = ,S=(\d+)
  group = ${extract{3}{:}{${lookup passwd{$local_part}{$value}}}}
  mode = 0660
  return_path_add
  user = $local_part


        







address_directory:
    driver        = appendfile
    maildir_tag = ,S=$message_size
    quota_size_regex = ,S=(\d+)
    maildir_format
    maildir_use_size_file
    maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash$)[^\@]+)$
    mode = 0660
    delivery_date_add
    envelope_to_add
    return_path_add
address_pipe:
  driver = pipe
  return_output

virtual_address_pipe:
  driver = pipe
  group = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  return_output
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"


address_file:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  return_path_add




        


virtual_userdelivery_spam:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  directory = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/mail/${domain}/${local_part}/.spam"
  maildir_use_size_file
  maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash$)[^\@]+)$
  maildir_format
  maildir_tag = ,S=$message_size
  quota_size_regex = ,S=(\d+)
  mode = 0660
  quota = "${if exists{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/${domain}/quota} {${lookup{$local_part}lsearch*{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/${domain}/quota}{$value}}} {}}"
  quota_is_inclusive = false
  quota_directory = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/mail/${domain}/${local_part}"
  return_path_add
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  group = ${extract{3}{:}{${lookup passwd{${lookup{$domain}lsearch* {/etc/userdomains}{$value}}}{$value}}}}

boxtrapper_autowhitelist:
  driver = pipe
  headers_only
  command = /usr/local/cpanel/bin/boxtrapper --autowhitelist "${authenticated_id}"
  user = ${perl{getemailuser}{$authenticated_id}}
  group = ${extract{3}{:}{${lookup passwd{${perl{getemailuser}{$authenticated_id}}}{$value}}}}
  log_output = true
  current_directory = "/tmp"
  return_fail_output = true
  return_path_add = false

local_boxtrapper_delivery:
  driver = pipe
  command = /usr/local/cpanel/bin/boxtrapper "${local_part}" $home
  user = $local_part
  group = ${extract{3}{:}{${lookup passwd{$local_part}{$value}}}}
  log_output = true
  current_directory = "/tmp"
  return_fail_output = true
  return_path_add = false

virtual_boxtrapper_userdelivery:
  driver = pipe
  command = /usr/local/cpanel/bin/boxtrapper "${local_part}@${domain}" $home 
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  group = ${extract{3}{:}{${lookup passwd{${lookup{$domain}lsearch* {/etc/userdomains}{$value}}}{$value}}}}
  log_output = true
  current_directory = "/tmp"
  return_fail_output = true
  return_path_add = false


virtual_userdelivery:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  directory = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/mail/${domain}/${local_part}"
  maildir_use_size_file
  maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash$)[^\@]+)$
  maildir_format
  maildir_tag = ,S=$message_size
  quota_size_regex = ,S=(\d+)
  mode = 0660
  quota = "${if exists{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/${domain}/quota} {${lookup{$local_part}lsearch*{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/${domain}/quota}{$value}}} {}}"
  quota_is_inclusive = false
  quota_directory = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/mail/${domain}/${local_part}"
  return_path_add
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  group = ${extract{3}{:}{${lookup passwd{${lookup{$domain}lsearch* {/etc/userdomains}{$value}}}{$value}}}}
  shadow_condition = ${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.cpanel/rim/bis/$local_part@$domain}{1}{0}}
  shadow_transport = rim_bis_notifier_virtual_user

rim_bis_notifier_virtual_user:
  driver = pipe
  headers_only
  command = /usr/local/cpanel/bin/rim_bis_notifier "${local_part}@${domain}" ${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  group = ${extract{3}{:}{${lookup passwd{${lookup{$domain}lsearch* {/etc/userdomains}{$value}}}{$value}}}}
  log_output = true
  current_directory = "/tmp"
  return_fail_output = true
  return_path_add = false


address_reply:
  driver = autoreply


mailman_virtual_transport:
    driver = pipe
    command = /usr/local/cpanel/3rdparty/mailman/mail/mailman \
              '${if def:local_part_suffix \
                    {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
              ${lc:$local_part}_${lc:$domain}
    current_directory = /usr/local/cpanel/3rdparty/mailman
    home_directory = /usr/local/cpanel/3rdparty/mailman
    user = mailman
    group = mailman


mailman_virtual_transport_nodns:
    driver = pipe
    command = /usr/local/cpanel/3rdparty/mailman/mail/mailman \
              '${if def:local_part_suffix \
                    {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
              ${lc:$local_part}
    current_directory = /usr/local/cpanel/3rdparty/mailman
    home_directory = /usr/local/cpanel/3rdparty/mailman
    user = mailman
    group = mailman













begin retry

*			quota



*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h







blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 15:44:30

хорошо.. с какого ипа/ипов сыпятся такие сообщения? выберите один

Код: Выделить всё

#!/bin/sh

( echo "EHLO HELO_OF_SPAMMER"; echo "MAIL FROM: <>"; echo "RCPT TO: USER@DOMAIN"; echo "DATA"; echo "sdfgdfsg"; echo "."; echo "QUIT";) \
| /usr/sbin/exim -d -bhc SPAMMER_IP > testlog 2>&1
смотреть testlog

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 16:06:51

с кодом что с этим делать? куда вставлять?

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 16:09:05

эх... самому уже интересно..
короче. записываете данный код в файл exim_test, вместо слов с большими буквами подставляете свои значения.
затем sudo sh exim_test и смотрите testlog

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 16:20:58

Код: Выделить всё

Exim version 4.69 uid=0 gid=0 pid=916 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (July 12, 2010)
Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning Old_Demime Experimental_SPF Experimental_SRS Experimental_DomainKeys Experimental_DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=916
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /etc/exim.conf
log selectors = 00000ffc 00212001
trusted user
admin user
changed uid/gid: privilege not needed
  uid=47 gid=12 pid=916
  auxiliary group list: 12
seeking password data for user "mailman": cache not available
getpwnam() succeeded uid=32006 gid=32006
seeking password data for user "mailman": using cached result
getpwnam() succeeded uid=32006 gid=32006
originator: uid=0 gid=0 login=root name=root
sender address = root@dl.domenru.net
sender_fullhost = [83.143.29.10]
sender_rcvhost = [83.143.29.10]
host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
  SMTP connection from [83.143.29.10]
host in host_lookup? no (option unset)
set_process_info:   916 handling incoming connection from [83.143.29.10]
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
host in helo_accept_junk_hosts? yes (matched "*")
using ACL "acl_connect"
processing "accept"
check hosts = +trustedmailhosts
sender host name required, to match against lsearch;/etc/trustedmailhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa (PTR) gave TRY_AGAIN
10.29.143.83.in-addr.arpa in dns_again_means_nonexist? no (option unset)
returning DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/trustedmailhosts"? no (failed to find host name for 83.143.29.10)
host in "+trustedmailhosts"? no (end of list)
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/trustedmailhosts"
search_find: file="/etc/trustedmailhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/trustedmailhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/trustedmailhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
                = 0
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts : +backupmx_hosts
sender host name required, to match against lsearch;/etc/relayhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa-PTR: using cached value DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/relayhosts : localhost"? no (failed to find host name for 83.143.29.10)
sender host name required, to match against lsearch;/etc/backupmxhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa-PTR: using cached value DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/backupmxhosts"? no (failed to find host name for 83.143.29.10)
host in "+relay_hosts : +backupmx_hosts"? no (end of list)
accept: condition test failed
processing "accept"
check condition = ${if eq {$interface_port}{25}{no}{yes}}
                = yes
accept: condition test succeeded
SMTP>> 220-dl.domenru.net ESMTP Exim 4.69 #1 Fri, 24 Dec 2010 16:18:23 +0300 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
smtp_setup_msg entered

**** SMTP testing session as if from host 83.143.29.10
**** but without any ident (RFC 1413) callback.
**** This is not for real!

220-dl.domenru.net ESMTP Exim 4.69 #1 Fri, 24 Dec 2010 16:18:23 +0300 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
SMTP<< EHLO HELO_OF_SPAMMER
HELO_OF_SPAMMER in helo_lookup_domains? no (end of list)
sender_fullhost = (HELO_OF_SPAMMER) [83.143.29.10]
sender_rcvhost = [83.143.29.10] (helo=HELO_OF_SPAMMER)
set_process_info:   916 handling incoming connection from (HELO_OF_SPAMMER) [83.143.29.10]
host in pipelining_advertise_hosts? yes (matched "*")
host in auth_advertise_hosts? yes (matched "*")
host in tls_advertise_hosts? yes (matched "*")
SMTP>> 250-dl.domenru.net Hello HELO_OF_SPAMMER [83.143.29.10]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
SMTP<< MAIL FROM: <>
using ACL "acl_mail"
processing "accept"
check authenticated = *
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
  cached open
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
cached data used for lookup of 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "+relay_hosts"? no (end of list)
accept: condition test failed
processing "deny"
check condition = ${if eq{$sender_helo_name}{}}
                = 
deny: condition test failed
processing "drop"
check condition = ${if match{$sender_helo_name}{$primary_hostname}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if eq{[$interface_address]}{$sender_helo_name}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if isip{$sender_helo_name}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if match{$sender_helo_name}{\N^\[\N}{no}{yes}}
                = yes
check condition = ${if match{$sender_helo_name}{\N\.\N}{no}{yes}}
                = yes
drop: condition test succeeded
SMTP>> 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
LOG: MAIN REJECT
  H=(HELO_OF_SPAMMER) [83.143.29.10] rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
LOG: smtp_connection MAIN
  SMTP connection from (HELO_OF_SPAMMER) [83.143.29.10] closed by DROP in ACL
using ACL "acl_notquit"
processing "accept"
check authenticated = *
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
  cached open
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
cached data used for lookup of 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "+relay_hosts"? no (end of list)
accept: condition test failed
processing "accept"
check condition = ${if eq {$interface_port}{25}{no}{yes}}
                = yes
accept: condition test succeeded
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=916 terminating with rc=0 >>>>>>>>>>>>>>>>
250-dl.domenru.net Hello HELO_OF_SPAMMER [83.143.29.10]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 16:29:41

вот bounce сообщение , domennamoemservere.net расположен на моем сервере

Код: Выделить всё

1PW7AU-0004yB-5Q-H
mailnull 47 12
<>
1293195286 0
-ident mailnull
-received_protocol local
-body_linecount 48
-max_received_linelength 154
-allow_unqualified_recipient
-allow_unqualified_sender
-deliver_firsttime
-localerror
XX
1
marimbasc8@eguxaji.ru

148P Received: from mailnull by dl.domenru.net with local (Exim 4.69)
	id 1PW7AU-0004yB-5Q
	for marimbasc8@eguxaji.ru; Fri, 24 Dec 2010 15:54:46 +0300
040  X-Failed-Recipients: tehnomagix@mail.ru
029  Auto-Submitted: auto-replied
060F From: Mail Delivery System <Mailer-Daemon@dl.domenru.net>
026T To: marimbasc8@eguxaji.ru
059  Subject: Mail delivery failed: returning message to sender
049I Message-Id: <E1PW7AU-0004yB-5Q@dl.domenru.net>
038  Date: Fri, 24 Dec 2010 15:54:46 +0300

Data spool file

1PW7AU-0004yB-5Q-D
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  tehnomagix@mail.ru
    (generated from petr@domennamoemservere.net)
    SMTP error from remote mail server after end of data:
    host mxs.mail.ru [94.100.176.20]: 550 spam message rejected. Please visit http://mail.ru/notspam/ or report details to abuse@corp.mail.ru. Error code:
    18F5AD6D7FA25610D04C78790E4B878D8C04033F2FD0B4AE83EE4AAED8661A5D96CD60301E737C6DE5C4B0BBF52FA87455C3E1C68D5187EA2DFF4D1199CC7E61

------ This is a copy of the message, including all the headers. ------

Return-path: <marimbasc8@eguxaji.ru>
Received: from [83.143.29.10]
	by dl.domenru.net with esmtp (Exim 4.69)
	(envelope-from <marimbasc8@eguxaji.ru>)
	id 1PW7AT-0004vC-9a
	for petr@domennamoemservere.net; Fri, 24 Dec 2010 15:54:45 +0300
Received: (from ggw.ru@localhost)
	by ggw.ru (8.13.8/8.13.8/Submit) id j861gfem937832;
	Fri, 24 Dec 2010 14:54:55 +0200
	(envelope-from wulab@ggw.ru)
X-Authentication-Warning: ggw.ru: yqet set sender to wulab@ggw.ru using -f
To: petr <<petr@domennamoemservere.net>>
Subject: =?koi8-r?B?7u/37+dP5O7l5SDw7/rk8uH37EXu6eUg7/Qg7+9PICLy5frp7uE4MQ==?=	=?koi8-r?B?MiI=?=
Date: Fri, 24 Dec 2010 14:54:55 +0200
From: =?koi8-r?B?68HT2NHOIOvPzsTSwdTYxdc=?= 
	<marimbasc8@eguxaji.ru>
Reply-to: =?koi8-r?B?68HT2NHOIOvPzsTSwdTYxdc=?= 
	<marimbasc8@eguxaji.ru>
Message-ID: <qdv36xaup86669ealk@localhost.localdomain>
X-Priority: 3Reply-to: =?koi8-r?B?68HT2NHOIOvPzsTSwdTYxdc=?= 
	<marimbasc8@eguxaji.ru>
X-Mailer: Kayako eSupport v3.40.01
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: multipart/alternative;
  boundary="----------HSH6DQW2PMB8M4MK"

This is a multi-part message in MIME format.

------------HSH6DQW2PMB8M4MK
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 8bit

?/?.(812) 324-22-10SALE@REZINA812.RUWWW.REZINA812.RU195248, ?????-?????????,????? ?????????, 84

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 16:35:42

HELO_OF_SPAMMER - здесь подставить именно то EHLO, которое подставляет спаммер. Если ничего не придумаете - поставьте test.com. Т.е. даже до RCPT счас не доходит.
Что касается сообщения - здесь говорится, что mail.ru считает ваши сообщения спамом (можно обратиться по адресу abuse@corp.mail.ru для разъяснений).

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 16:36:24

вот еще, домену распложены у меня но таких ящиков не существует

Код: Выделить всё

1PW7Pb-0007FI-UJ-H
mailnull 47 12
<>
1293196223 0
-ident mailnull
-received_protocol local
-body_linecount 52
-max_received_linelength 154
-allow_unqualified_recipient
-allow_unqualified_sender
-frozen 1293196227
-localerror
XX
1
bleateda7@enorm.ru

145P Received: from mailnull by dl.domenru.net with local (Exim 4.69)
	id 1PW7Pb-0007FI-UJ
	for bleateda7@enorm.ru; Fri, 24 Dec 2010 16:10:23 +0300
040  X-Failed-Recipients: tehnomagix@mail.ru
029  Auto-Submitted: auto-replied
060F From: Mail Delivery System <Mailer-Daemon@dl.domenru.net>
023T To: bleateda7@enorm.ru
059  Subject: Mail delivery failed: returning message to sender
049I Message-Id: <E1PW7Pb-0007FI-UJ@dl.domenru.net>
038  Date: Fri, 24 Dec 2010 16:10:23 +0300

Data spool file

1PW7Pb-0007FI-UJ-D
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  tehnomagix@mail.ru
    (generated from spartak@domennamoemservere.net)
    SMTP error from remote mail server after end of data:
    host mxs.mail.ru [94.100.176.20]: 550 spam message rejected. Please visit http://mail.ru/notspam/ or report details to abuse@corp.mail.ru. Error code:
    3C9084E505FFB369B500E7CDCD8D52D0C9590463AD935A574E66022674209089D5F82AF4939FBC7EDB43605007479C869DD4995EBD65D2EACA2A8B5430D7C2DEEF67EB6795250125

------ This is a copy of the message, including all the headers. ------

Return-path: <bleateda7@enorm.ru>
Received: from [116.71.16.77]
	by dl.domenru.net with esmtp (Exim 4.69)
	(envelope-from <bleateda7@enorm.ru>)
	id 1PW7Pa-0007Eh-Am
	for spartak@domennamoemservere.net; Fri, 24 Dec 2010 16:10:23 +0300
Received: (from root@localhost)
	by zdc.enorm.ru (8.13.8/8.13.8/Submit) id y147qygh658068;
	Fri, 24 Dec 2010 18:10:31 +0500
Date: Fri, 24 Dec 2010 18:10:31 +0500
Content-Type: text/plain; charset="koi8-r"
Message-Id: <20101224181031.y147qygh658068@zdc.enorm.ru>
To: <spartak@domennamoemservere.net>
Cc: <stanislav@domennamoemservere.net>
Subject: =?koi8-r?B?VklQIC0g9+ns7OEg7uEg4uXy5ef1IO/r5eHu4Q==?=
From: =?koi8-r?B?4czFy9PFyiD0ydTP1w==?= <bleateda7@enorm.ru>
X-Mailer: IPB PHP Mailer


VIP - ????? ?? ?????? ?????? ? ?????? ?? 6 - 12 ???????

????????? ?????? ? ????? - 10.000 ???????? ???

?????????? ?????????? - 12-14 ???????

??????????? ??????? ? ???????????? ??????

????????????? ?????????? - ?????? ????????!

??????? ?????????? ?? ?????? ?????? - ?????????? ????? ??? ??????????????? ??????.   

????????? ?? ???: 1(347) 651-11-74

???????? ????? ??????????? ?? ??????? ???????? ????? ????? 

Kite Beach ? Playa Encuentro ? ?????? ?? ????????.

e-mail: saledominicana@gmail.com


Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 16:43:28

подставил test.com

Код: Выделить всё

Exim version 4.69 uid=0 gid=0 pid=13201 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (July 12, 2010)
Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning Old_Demime Experimental_SPF Experimental_SRS Experimental_DomainKeys Experimental_DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=13201
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /etc/exim.conf
log selectors = 00000ffc 00212001
trusted user
admin user
changed uid/gid: privilege not needed
  uid=47 gid=12 pid=13201
  auxiliary group list: 12
seeking password data for user "mailman": cache not available
getpwnam() succeeded uid=32006 gid=32006
seeking password data for user "mailman": using cached result
getpwnam() succeeded uid=32006 gid=32006
originator: uid=0 gid=0 login=root name=root
sender address = root@dl.domenru.net
sender_fullhost = [83.143.29.10]
sender_rcvhost = [83.143.29.10]
host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
  SMTP connection from [83.143.29.10]
host in host_lookup? no (option unset)
set_process_info: 13201 handling incoming connection from [83.143.29.10]
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
host in helo_accept_junk_hosts? yes (matched "*")
using ACL "acl_connect"
processing "accept"
check hosts = +trustedmailhosts
sender host name required, to match against lsearch;/etc/trustedmailhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa (PTR) gave TRY_AGAIN
10.29.143.83.in-addr.arpa in dns_again_means_nonexist? no (option unset)
returning DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/trustedmailhosts"? no (failed to find host name for 83.143.29.10)
host in "+trustedmailhosts"? no (end of list)
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/trustedmailhosts"
search_find: file="/etc/trustedmailhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/trustedmailhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/trustedmailhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
                = 0
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts : +backupmx_hosts
sender host name required, to match against lsearch;/etc/relayhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa-PTR: using cached value DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/relayhosts : localhost"? no (failed to find host name for 83.143.29.10)
sender host name required, to match against lsearch;/etc/backupmxhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa-PTR: using cached value DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/backupmxhosts"? no (failed to find host name for 83.143.29.10)
host in "+relay_hosts : +backupmx_hosts"? no (end of list)
accept: condition test failed
processing "accept"
check condition = ${if eq {$interface_port}{25}{no}{yes}}
                = yes
accept: condition test succeeded
SMTP>> 220-dl.domenru.net ESMTP Exim 4.69 #1 Fri, 24 Dec 2010 16:41:33 +0300 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
smtp_setup_msg entered

**** SMTP testing session as if from host 83.143.29.10
**** but without any ident (RFC 1413) callback.
**** This is not for real!

220-dl.domenru.net ESMTP Exim 4.69 #1 Fri, 24 Dec 2010 16:41:33 +0300 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
SMTP<< test.com
LOG: smtp_syntax_error MAIN
  SMTP syntax error in "test.com" H=[83.143.29.10] unrecognized command
SMTP>> 500 unrecognized command
SMTP<< MAIL FROM: <>
using ACL "acl_mail"
processing "accept"
check authenticated = *
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
  cached open
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
cached data used for lookup of 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "+relay_hosts"? no (end of list)
accept: condition test failed
processing "deny"
check condition = ${if eq{$sender_helo_name}{}}
                = true
deny: condition test succeeded
SMTP>> 550 HELO required before MAIL
LOG: MAIN REJECT
  H=[83.143.29.10] rejected MAIL <>: HELO required before MAIL
SMTP<< RCPT TO: marimbasc8@eguxaji.ru
LOG: smtp_protocol_error MAIN
  SMTP protocol error in "RCPT TO: marimbasc8@eguxaji.ru" H=[83.143.29.10] sender not yet given
SMTP>> 503 sender not yet given
SMTP<< 
LOG: smtp_syntax_error MAIN
  SMTP syntax error in "" H=[83.143.29.10] unrecognized command
SMTP>> 500 unrecognized command
SMTP<< DATA
SMTP>> 503-All RCPT commands were rejected with this error:
SMTP>> 503-503 sender not yet given
LOG: smtp_protocol_error MAIN
  SMTP protocol error in "DATA" H=[83.143.29.10] valid RCPT command must precede DATA
LOG: MAIN REJECT
  SMTP call from [83.143.29.10] dropped: too many syntax or protocol errors (last command was "DATA")
SMTP>> 503-valid RCPT command must precede DATA
SMTP>> 503 Too many syntax or protocol errors
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=13201 terminating with rc=0 >>>>>>>>>>>>>>>>
500 unrecognized command
550 HELO required before MAIL
503 sender not yet given
500 unrecognized command
503-All RCPT commands were rejected with this error:
503-503 sender not yet given
503-valid RCPT command must precede DATA
503 Too many syntax or protocol errors

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 16:46:34

Еще вам хинт
$ host enorm.ru
enorm.ru has address 79.174.72.66

$ host 79.174.72.66
66.72.174.79.in-addr.arpa domain name pointer cf1.hc.ru

прямая и обратная зоны НЕ совпадают.

SMTP<< test.com
LOG: smtp_syntax_error MAIN

Так, судя по всему вы не слишком разбираетесь в работе smtp-протокола. Это так.
Правильно - EHLO test.com

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 16:52:12

я вообще exim-ом не занимался , но в последнее время bounce достал, поэтому не пинайте сильно :)
так что делать ?

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 16:58:34

Код: Выделить всё

#!/bin/sh

( echo "EHLO test.com"; echo "MAIL FROM: <>"; echo "RCPT TO: ваш_юзер@ваш_домен"; echo "DATA"; echo "sdfgdfsg"; echo "."; echo "QUIT";) \
| /usr/sbin/exim -d -bhc SPAMMER_IP > testlog 2>&1
и в бой

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 18:26:11

вот:

Код: Выделить всё

Exim version 4.69 uid=0 gid=0 pid=5600 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (July 12, 2010)
Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning Old_Demime Experimental_SPF Experimental_SRS Experimental_DomainKeys Experimental_DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=5600
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /etc/exim.conf
log selectors = 00000ffc 00212001
trusted user
admin user
changed uid/gid: privilege not needed
  uid=47 gid=12 pid=5600
  auxiliary group list: 12
seeking password data for user "mailman": cache not available
getpwnam() succeeded uid=32006 gid=32006
seeking password data for user "mailman": using cached result
getpwnam() succeeded uid=32006 gid=32006
originator: uid=0 gid=0 login=root name=root
sender address = root@dl.myserver.ru
sender_fullhost = [83.143.29.10]
sender_rcvhost = [83.143.29.10]
host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
  SMTP connection from [83.143.29.10]
host in host_lookup? no (option unset)
set_process_info:  5600 handling incoming connection from [83.143.29.10]
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
host in helo_accept_junk_hosts? yes (matched "*")
using ACL "acl_connect"
processing "accept"
check hosts = +trustedmailhosts
sender host name required, to match against lsearch;/etc/trustedmailhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa (PTR) gave TRY_AGAIN
10.29.143.83.in-addr.arpa in dns_again_means_nonexist? no (option unset)
returning DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/trustedmailhosts"? no (failed to find host name for 83.143.29.10)
host in "+trustedmailhosts"? no (end of list)
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/trustedmailhosts"
search_find: file="/etc/trustedmailhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/trustedmailhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/trustedmailhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
                = 0
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts : +backupmx_hosts
sender host name required, to match against lsearch;/etc/relayhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa-PTR: using cached value DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/relayhosts : localhost"? no (failed to find host name for 83.143.29.10)
sender host name required, to match against lsearch;/etc/backupmxhosts
looking up host name for 83.143.29.10
DNS lookup of 10.29.143.83.in-addr.arpa-PTR: using cached value DNS_AGAIN
IP address PTR lookup gave temporary error
host in "lsearch;/etc/backupmxhosts"? no (failed to find host name for 83.143.29.10)
host in "+relay_hosts : +backupmx_hosts"? no (end of list)
accept: condition test failed
processing "accept"
check condition = ${if eq {$interface_port}{25}{no}{yes}}
                = yes
accept: condition test succeeded
SMTP>> 220-dl.myserver.ru ESMTP Exim 4.69 #1 Fri, 24 Dec 2010 18:21:35 +0300 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
smtp_setup_msg entered

**** SMTP testing session as if from host 83.143.29.10
**** but without any ident (RFC 1413) callback.
**** This is not for real!

220-dl.myserver.ru ESMTP Exim 4.69 #1 Fri, 24 Dec 2010 18:21:35 +0300 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
SMTP<< EHLO test.com
test.com in helo_lookup_domains? no (end of list)
sender_fullhost = (test.com) [83.143.29.10]
sender_rcvhost = [83.143.29.10] (helo=test.com)
set_process_info:  5600 handling incoming connection from (test.com) [83.143.29.10]
host in pipelining_advertise_hosts? yes (matched "*")
host in auth_advertise_hosts? yes (matched "*")
host in tls_advertise_hosts? yes (matched "*")
SMTP>> 250-dl.myserver.ru Hello test.com [83.143.29.10]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
SMTP<< MAIL FROM: <>
using ACL "acl_mail"
processing "accept"
check authenticated = *
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
  cached open
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
cached data used for lookup of 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "+relay_hosts"? no (end of list)
accept: condition test failed
processing "deny"
check condition = ${if eq{$sender_helo_name}{}}
                = 
deny: condition test failed
processing "drop"
check condition = ${if match{$sender_helo_name}{$primary_hostname}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if eq{[$interface_address]}{$sender_helo_name}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if isip{$sender_helo_name}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if match{$sender_helo_name}{\N^\[\N}{no}{yes}}
                = yes
check condition = ${if match{$sender_helo_name}{\N\.\N}{no}{yes}}
                = no
drop: condition test failed
processing "drop"
check condition = ${if match{$sender_helo_name}{\N\.$\N}}
                = 
drop: condition test failed
processing "drop"
check condition = ${if match{$sender_helo_name}{\N\.\.\N}}
                = 
drop: condition test failed
processing "accept"
accept: condition test succeeded
SMTP>> 250 OK
SMTP<< RCPT TO: petr@domennaserv.ru
using ACL "check_recipient"
processing "accept"
check hosts = :
host in ":"? no (end of list)
accept: condition test failed
processing "accept"
check hosts = +skipsmtpcheck_hosts
search_open: iplsearch "/etc/skipsmtpcheckhosts"
search_find: file="/etc/skipsmtpcheckhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/skipsmtpcheckhosts
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/skipsmtpcheckhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/skipsmtpcheckhosts
lookup failed
host in "net-iplsearch;/etc/skipsmtpcheckhosts"? no (end of list)
host in "+skipsmtpcheck_hosts"? no (end of list)
accept: condition test failed
processing "warn"
check condition = ${if and {{match{$local_part}{(.*)-bounces\+.*}} {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} {yes}{no}}
                = no
warn: condition test failed
processing "accept"
check condition = ${if and {{match{$local_part}{(.*)-bounces\+.*}} {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} {yes}{no}}
                = no
accept: condition test failed
processing "warn"
check condition = ${if and {{match{$local_part}{(.*)-bounces\+.*}} {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} {yes}{no}}
                = no
warn: condition test failed
processing "accept"
check condition = ${if and {{match{$local_part}{(.*)-bounces\+.*}} {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} {yes}{no}}
                = no
accept: condition test failed
processing "deny"
check hosts = ! +senderverifybypass_hosts
search_open: iplsearch "/etc/senderverifybypasshosts"
search_find: file="/etc/senderverifybypasshosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/relayhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/senderverifybypasshosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/senderverifybypasshosts
lookup failed
host in "net-iplsearch;/etc/senderverifybypasshosts"? no (end of list)
host in "! +senderverifybypass_hosts"? yes (end of list)
check !verify = sender
deny: condition test failed
processing "accept"
check hosts = *
host in "*"? yes (matched "*")
check authenticated = *
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/relayhosts"
  cached open
search_find: file="/etc/relayhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/relayhosts"
  type=iplsearch key="83.143.29.10"
cached data used for lookup of 83.143.29.10
  in /etc/relayhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/relayhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
                = 0
accept: condition test failed
processing "accept"
check hosts = +relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "+relay_hosts"? no (end of list)
accept: condition test failed
processing "require"
check verify = recipient
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Verifying petr@domennaserv.ru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering petr@domennaserv.ru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing petr@domennaserv.ru
--------> mailman_virtual_router router <--------
local_part=petr domain=domennaserv.ru
checking require_files
file check: /usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}_${lc:$domain}/config.pck
expanded file: /usr/local/cpanel/3rdparty/mailman/lists/petr_domennaserv.ru/config.pck
stat() yielded -1
errno = 2
mailman_virtual_router router skipped: file check
--------> mailman_virtual_router_nodns router <--------
local_part=petr domain=domennaserv.ru
checking domains
search_open: lsearch "/etc/localdomains"
search_find: file="/etc/localdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/localdomains"
  type=lsearch key="domennaserv.ru"
file lookup required for domennaserv.ru
  in /etc/localdomains
lookup yielded: 
domennaserv.ru in "lsearch;/etc/localdomains"? yes (matched "lsearch;/etc/localdomains")
data from lookup saved for cache for +local_domains: 
domennaserv.ru in "+local_domains"? yes (matched "+local_domains")
checking require_files
file check: /usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}/config.pck
expanded file: /usr/local/cpanel/3rdparty/mailman/lists/petr/config.pck
stat() yielded -1
errno = 2
mailman_virtual_router_nodns router skipped: file check
--------> democheck router <--------
local_part=petr domain=domennaserv.ru
checking require_files
file check: +/etc/demouids
expanded file: /etc/demouids
stat() yielded 0
checking "condition"
search_open: lsearch "/etc/demouids"
search_find: file="/etc/demouids"
  key="0" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/demouids"
  type=lsearch key="0"
file lookup required for 0
  in /etc/demouids
lookup failed
democheck router skipped: condition failure
--------> boxtrapper_autowhitelist router <--------
local_part=petr domain=domennaserv.ru
checking require_files
file check: +/usr/local/cpanel/bin/boxtrapper
expanded file: /usr/local/cpanel/bin/boxtrapper
stat() yielded 0
checking "condition"
boxtrapper_autowhitelist router skipped: condition failure
--------> checkspam2 router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +local_domains
cached lookup data = 
domennaserv.ru in "! +local_domains"? no (matched "! +local_domains" - cached)
checkspam2 router skipped: domains mismatch
--------> trackbandwidth router <--------
local_part=petr domain=domennaserv.ru
trackbandwidth router skipped: verify 2 0 0
--------> dk_lookuphost router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +local_domains
cached lookup data = 
domennaserv.ru in "! +local_domains"? no (matched "! +local_domains" - cached)
dk_lookuphost router skipped: domains mismatch
--------> lookuphost router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +local_domains
cached lookup data = 
domennaserv.ru in "! +local_domains"? no (matched "! +local_domains" - cached)
lookuphost router skipped: domains mismatch
--------> literal router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +local_domains
cached lookup data = 
domennaserv.ru in "! +local_domains"? no (matched "! +local_domains" - cached)
literal router skipped: domains mismatch
--------> fail_remote_domains router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +local_domains
cached lookup data = 
domennaserv.ru in "! +local_domains : ! localhost : ! localhost.localdomain"? no (matched "! +local_domains" - cached)
fail_remote_domains router skipped: domains mismatch
--------> virtual_user_maildir_overquota router <--------
local_part=petr domain=domennaserv.ru
checking domains
search_open: lsearch "/etc/userdomains"
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
file lookup required for domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
domennaserv.ru in "lsearch;/etc/userdomains"? yes (matched "lsearch;/etc/userdomains")
data from lookup saved for cache for +user_domains: kuber718
domennaserv.ru in "+user_domains"? yes (matched "+user_domains")
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
database lookup required for kuber718
seeking password data for user "kuber718": cache not available
getpwnam() succeeded uid=713 gid=713
lookup yielded: *:713:713::/home/kuber718:/bin/false
checking require_files
file check: $home/etc/$domain
expanded file: /home/kuber718/etc/domennaserv.ru
stat() yielded 0
checking "condition"
search_open: lsearch "/home/kuber718/etc/domennaserv.ru/quota"
search_find: file="/home/kuber718/etc/domennaserv.ru/quota"
  key="petr" partial=-1 affix=NULL starflags=0
LRU list:
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/userdomains
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/home/kuber718/etc/domennaserv.ru/quota"
  type=lsearch key="petr"
file lookup required for petr
  in /home/kuber718/etc/domennaserv.ru/quota
lookup failed
virtual_user_maildir_overquota router skipped: condition failure
--------> central_filter router <--------
local_part=petr domain=domennaserv.ru
central_filter router skipped: verify 2 0 0
--------> mainacct_central_user_filter router <--------
local_part=petr domain=domennaserv.ru
mainacct_central_user_filter router skipped: verify 2 0 0
--------> central_user_filter router <--------
local_part=petr domain=domennaserv.ru
central_user_filter router skipped: verify 2 0 0
--------> virtual_user_filter router <--------
local_part=petr domain=domennaserv.ru
virtual_user_filter router skipped: verify 2 0 0
--------> virtual_aliases_nostar router <--------
local_part=petr domain=domennaserv.ru
checking require_files
file check: +/etc/valiases/$domain
expanded file: /etc/valiases/domennaserv.ru
stat() yielded 0
calling virtual_aliases_nostar router
rda_interpret (string): ${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}
search_open: lsearch "/etc/valiases/domennaserv.ru"
search_find: file="/etc/valiases/domennaserv.ru"
  key="petr@domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/userdomains
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/valiases/domennaserv.ru"
  type=lsearch key="petr@domennaserv.ru"
file lookup required for petr@domennaserv.ru
  in /etc/valiases/domennaserv.ru
lookup failed
expanded: 
file is not a filter file
parse_forward_list: 
virtual_aliases_nostar router declined for petr@domennaserv.ru
--------> virtual_user_spam router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +user_domains
cached lookup data = kuber718
domennaserv.ru in "+user_domains"? yes (matched "+user_domains" - cached)
checking require_files
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=1
LRU list:
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
cached data used for lookup of kuber718
lookup yielded: *:713:713::/home/kuber718:/bin/false
file check: +${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.spamassassinboxenable
expanded file: /home/kuber718/.spamassassinboxenable
stat() yielded -1
errno = 2
virtual_user_spam router skipped: file check
--------> virtual_boxtrapper_user router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +user_domains
cached lookup data = kuber718
domennaserv.ru in "+user_domains"? yes (matched "+user_domains" - cached)
checking require_files
file check: +/usr/local/cpanel/bin/boxtrapper
expanded file: /usr/local/cpanel/bin/boxtrapper
stat() yielded 0
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=1
LRU list:
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
cached data used for lookup of kuber718
lookup yielded: *:713:713::/home/kuber718:/bin/false
file check: +${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd
expanded file: /home/kuber718/etc/domennaserv.ru/passwd
stat() yielded 0
checking "condition"
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=1
LRU list:
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
cached data used for lookup of kuber718
lookup yielded: *:713:713::/home/kuber718:/bin/false
search_open: lsearch "/home/kuber718/etc/domennaserv.ru/passwd"
search_find: file="/home/kuber718/etc/domennaserv.ru/passwd"
  key="petr" partial=-1 affix=NULL starflags=0
LRU list:
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/home/kuber718/etc/domennaserv.ru/passwd"
  type=lsearch key="petr"
file lookup required for petr
  in /home/kuber718/etc/domennaserv.ru/passwd
lookup failed
virtual_boxtrapper_user router skipped: condition failure
--------> virtual_user router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +user_domains
cached lookup data = kuber718
domennaserv.ru in "+user_domains"? yes (matched "+user_domains" - cached)
checking require_files
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=1
LRU list:
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
cached data used for lookup of kuber718
lookup yielded: *:713:713::/home/kuber718:/bin/false
file check: +${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd
expanded file: /home/kuber718/etc/domennaserv.ru/passwd
stat() yielded 0
checking "condition"
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=1
LRU list:
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
cached data used for lookup of kuber718
lookup yielded: *:713:713::/home/kuber718:/bin/false
search_open: lsearch "/home/kuber718/etc/domennaserv.ru/passwd"
  cached open
search_find: file="/home/kuber718/etc/domennaserv.ru/passwd"
  key="petr" partial=-1 affix=NULL starflags=0
LRU list:
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/home/kuber718/etc/domennaserv.ru/passwd"
  type=lsearch key="petr"
cached data used for lookup of petr
  in /home/kuber718/etc/domennaserv.ru/passwd
lookup failed
virtual_user router skipped: condition failure
--------> has_alias_but_no_mailbox_discarded_to_prevent_loop router <--------
local_part=petr domain=domennaserv.ru
checking domains
cached yes match for +user_domains
cached lookup data = kuber718
domennaserv.ru in "+user_domains"? yes (matched "+user_domains" - cached)
checking require_files
file check: +/etc/valiases/$domain
expanded file: /etc/valiases/domennaserv.ru
stat() yielded 0
checking "condition"
Starting Perl interpreter
search_open: lsearch "/etc/valiases/domennaserv.ru"
  cached open
search_find: file="/etc/valiases/domennaserv.ru"
  key="petr@domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/valiases/domennaserv.ru"
  type=lsearch key="petr@domennaserv.ru"
cached data used for lookup of petr@domennaserv.ru
  in /etc/valiases/domennaserv.ru
lookup failed
search_open: lsearch "/etc/valiases/domennaserv.ru"
  cached open
search_find: file="/etc/valiases/domennaserv.ru"
  key="*" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/valiases/domennaserv.ru"
  type=lsearch key="*"
file lookup required for *
  in /etc/valiases/domennaserv.ru
lookup yielded: tehnomagix@mail.ru
has_alias_but_no_mailbox_discarded_to_prevent_loop router skipped: condition failure
--------> valias_domain_file router <--------
local_part=petr domain=domennaserv.ru
checking require_files
file check: +/etc/vdomainaliases/$domain
expanded file: /etc/vdomainaliases/domennaserv.ru
stat() yielded 0
checking "condition"
search_open: lsearch "/etc/vdomainaliases/domennaserv.ru"
search_find: file="/etc/vdomainaliases/domennaserv.ru"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/vdomainaliases/domennaserv.ru
  ;/etc/valiases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/vdomainaliases/domennaserv.ru"
  type=lsearch key="domennaserv.ru"
file lookup required for domennaserv.ru
  in /etc/vdomainaliases/domennaserv.ru
lookup failed
valias_domain_file router skipped: condition failure
--------> virtual_aliases router <--------
local_part=petr domain=domennaserv.ru
checking require_files
file check: +/etc/valiases/$domain
expanded file: /etc/valiases/domennaserv.ru
stat() yielded 0
calling virtual_aliases router
rda_interpret (string): ${lookup{*}lsearch{/etc/valiases/$domain}}
search_open: lsearch "/etc/valiases/domennaserv.ru"
  cached open
search_find: file="/etc/valiases/domennaserv.ru"
  key="*" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  ;/etc/localdomains
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/valiases/domennaserv.ru"
  type=lsearch key="*"
cached data used for lookup of *
  in /etc/valiases/domennaserv.ru
lookup yielded: tehnomagix@mail.ru
expanded: tehnomagix@mail.ru
file is not a filter file
parse_forward_list: tehnomagix@mail.ru
extract item: tehnomagix@mail.ru
virtual_aliases router generated tehnomagix@mail.ru
  errors_to=NULL transport=NULL
  uid=unset gid=unset home=NULL
routed by virtual_aliases router
  envelope to: petr@domennaserv.ru
  transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering tehnomagix@mail.ru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing tehnomagix@mail.ru
--------> mailman_virtual_router router <--------
local_part=tehnomagix domain=mail.ru
checking require_files
file check: /usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}_${lc:$domain}/config.pck
expanded file: /usr/local/cpanel/3rdparty/mailman/lists/tehnomagix_mail.ru/config.pck
stat() yielded -1
errno = 2
mailman_virtual_router router skipped: file check
--------> mailman_virtual_router_nodns router <--------
local_part=tehnomagix domain=mail.ru
checking domains
search_open: lsearch "/etc/localdomains"
  cached open
search_find: file="/etc/localdomains"
  key="mail.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/localdomains
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  ;/etc/demouids
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/localdomains"
  type=lsearch key="mail.ru"
file lookup required for mail.ru
  in /etc/localdomains
lookup failed
mail.ru in "lsearch;/etc/localdomains"? no (end of list)
mail.ru in "+local_domains"? no (end of list)
mailman_virtual_router_nodns router skipped: domains mismatch
--------> democheck router <--------
local_part=tehnomagix domain=mail.ru
checking require_files
file check: +/etc/demouids
expanded file: /etc/demouids
stat() yielded 0
checking "condition"
search_open: lsearch "/etc/demouids"
  cached open
search_find: file="/etc/demouids"
  key="0" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/demouids
  ;/etc/localdomains
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/demouids"
  type=lsearch key="0"
cached data used for lookup of 0
  in /etc/demouids
lookup failed
democheck router skipped: condition failure
--------> boxtrapper_autowhitelist router <--------
local_part=tehnomagix domain=mail.ru
checking require_files
file check: +/usr/local/cpanel/bin/boxtrapper
expanded file: /usr/local/cpanel/bin/boxtrapper
stat() yielded 0
checking "condition"
boxtrapper_autowhitelist router skipped: condition failure
--------> checkspam2 router <--------
local_part=tehnomagix domain=mail.ru
checking domains
cached no match for +local_domains
cached lookup data = NULL
mail.ru in "! +local_domains"? yes (end of list)
checking "condition"
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="nobody" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/demouids
  ;/etc/localdomains
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="NULL"
  type=passwd key="nobody"
database lookup required for nobody
seeking password data for user "nobody": cache not available
getpwnam() succeeded uid=99 gid=99
lookup yielded: *:99:99:Nobody:/:/sbin/nologin
search_open: lsearch "/etc/domainusers"
search_find: file="/etc/domainusers"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/localdomains
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/domainusers"
  type=lsearch key="root"
file lookup required for root
  in /etc/domainusers
lookup failed
checkspam2 router skipped: condition failure
--------> trackbandwidth router <--------
local_part=tehnomagix domain=mail.ru
trackbandwidth router skipped: verify 2 0 0
--------> dk_lookuphost router <--------
local_part=tehnomagix domain=mail.ru
checking domains
cached no match for +local_domains
cached lookup data = NULL
mail.ru in "! +local_domains"? yes (end of list)
checking require_files
file check: +/var/cpanel/domain_keys/private/${sender_address_domain}
expanded file: /var/cpanel/domain_keys/private/
stat() yielded 0
calling dk_lookuphost router
dk_lookuphost router called for tehnomagix@mail.ru
  domain = mail.ru
DNS lookup of mail.ru (MX) succeeded
DNS lookup of mxs.mail.ru (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of mxs.mail.ru (A) succeeded
94.100.176.20 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
fully qualified name = mail.ru
host_find_bydns yield = HOST_FOUND (2); returned hosts:
  mxs.mail.ru 94.100.176.20 MX=10 
set transport dk_remote_smtp
queued for dk_remote_smtp transport: local_part = tehnomagix
domain = mail.ru
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by dk_lookuphost router
  envelope to: tehnomagix@mail.ru
  transport: dk_remote_smtp
  host mxs.mail.ru [94.100.176.20] MX=10
----------- end verify ------------
require: condition test succeeded
processing "warn"
check condition = ${if > {${eval:$rcpt_fail_count}}{4}{yes}{no}}
                = no
warn: condition test failed
processing "warn"
check condition = ${if eq {${acl_m7}}{1}{1}{0}}
                = 0
warn: condition test failed
processing "drop"
check condition = ${if eq {${acl_m7}}{1}{1}{0}}
                = 0
drop: condition test failed
processing "warn"
check hosts = !+relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "!+relay_hosts"? yes (end of list)
check senders = :
address match: subject= pattern=
 in ":"? yes (matched "")
check ratelimit = 2 / 30m / per_rcpt / $local_part@$domain
                = 2 / 30m / per_rcpt / petr@domennaserv.ru
ratelimit condition limit=2 period=1800 key=30m/per_cmd/leaky/petr@domennaserv.ru
locking /var/spool/exim/db/ratelimit.lockfile
locked /var/spool/exim/db/ratelimit.lockfile
EXIM_DBOPEN(/var/spool/exim/db/ratelimit)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/ratelimit: flags=O_RDWR
dbfn_read: key=30m/per_cmd/leaky/petr@domennaserv.ru
dbfn_write: key=30m/per_cmd/leaky/petr@domennaserv.ru
ratelimit db updated
ratelimit computed rate 0.3
warn: condition test failed
processing "warn"
check ratelimit = 0 / 1h / strict
ratelimit condition limit=0 period=3600 key=1h/per_mail/strict/83.143.29.10
locking /var/spool/exim/db/ratelimit.lockfile
locked /var/spool/exim/db/ratelimit.lockfile
EXIM_DBOPEN(/var/spool/exim/db/ratelimit)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/ratelimit: flags=O_RDWR
dbfn_read: key=1h/per_mail/strict/83.143.29.10
dbfn_write: key=1h/per_mail/strict/83.143.29.10
ratelimit db updated
ratelimit computed rate 0.7
warn: condition test succeeded
LOG: MAIN
  H=(test.com) [83.143.29.10] Warning: Sender rate 0.7 / 1h
processing "accept"
check hosts = +trustedmailhosts
cached no match for +trustedmailhosts
cached lookup data = NULL
host in "+trustedmailhosts"? no (end of list)
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/trustedmailhosts"
  cached open
search_find: file="/etc/trustedmailhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/trustedmailhosts
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/localdomains
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  End
internal_search_find: file="/etc/trustedmailhosts"
  type=iplsearch key="83.143.29.10"
cached data used for lookup of 83.143.29.10
  in /etc/trustedmailhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
                = 0
accept: condition test failed
processing "warn"
check domains = ! ${primary_hostname} : +local_domains
search_open: lsearch "/etc/localdomains"
  cached open
search_find: file="/etc/localdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/localdomains
  7/etc/trustedmailhosts
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/etc/userdomains
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  End
internal_search_find: file="/etc/localdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/localdomains
lookup yielded: 
domennaserv.ru in "lsearch;/etc/localdomains"? yes (matched "lsearch;/etc/localdomains")
data from lookup saved for cache for +local_domains: 
domennaserv.ru in "! dl.myserver.ru : +local_domains"? yes (matched "+local_domains")
search_open: lsearch "/etc/userdomains"
  cached open
search_find: file="/etc/userdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=1
LRU list:
  ;/etc/userdomains
  ;/etc/localdomains
  7/etc/trustedmailhosts
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  End
internal_search_find: file="/etc/userdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/userdomains
lookup yielded: kuber718
search_open: passwd "NULL"
  cached open
search_find: file="NULL"
  key="kuber718" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/userdomains
  ;/etc/localdomains
  7/etc/trustedmailhosts
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  End
internal_search_find: file="NULL"
  type=passwd key="kuber718"
cached data used for lookup of kuber718
lookup yielded: *:713:713::/home/kuber718:/bin/false
check condition = ${if <= {$message_size}{200K}{${if eq {${acl_m0}}{1}{0}{${if exists{/etc/global_spamassassin_enable}{1}{${if exists{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.spamassassinenable}{1}{0}}}}}}}{0}}
                = 0
warn: condition test failed
processing "warn"
check domains = ${primary_hostname}
domennaserv.ru in "dl.myserver.ru"? no (end of list)
warn: condition test failed
processing "warn"
search_open: iplsearch "/etc/mailproviders/rim/ips"
search_find: file="/etc/mailproviders/rim/ips"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/mailproviders/rim/ips
  ;/etc/userdomains
  ;/etc/localdomains
  7/etc/trustedmailhosts
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  End
internal_search_find: file="/etc/mailproviders/rim/ips"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/mailproviders/rim/ips
lookup failed
83.143.29.10 in "iplsearch;/etc/mailproviders/rim/ips"? no (end of list)
check condition = ${if exists {/etc/mailproviders/rim/ips}{${if match_ip{$sender_host_address}{iplsearch;/etc/mailproviders/rim/ips}{1}{0}}}{0}}
                = 0
warn: condition test failed
processing "accept"
check domains = +relay_domains
search_open: lsearch "/etc/localdomains"
  cached open
search_find: file="/etc/localdomains"
  key="domennaserv.ru" partial=-1 affix=NULL starflags=0
LRU list:
  ;/etc/localdomains
  7/etc/mailproviders/rim/ips
  ;/etc/userdomains
  7/etc/trustedmailhosts
  ;/etc/domainusers
  ;/etc/demouids
  ;/etc/valiases/domennaserv.ru
  ;/etc/vdomainaliases/domennaserv.ru
  ;/home/kuber718/etc/domennaserv.ru/passwd
  ;/home/kuber718/etc/domennaserv.ru/quota
  7/etc/relayhosts
  7/etc/senderverifybypasshosts
  7/etc/skipsmtpcheckhosts
  End
internal_search_find: file="/etc/localdomains"
  type=lsearch key="domennaserv.ru"
cached data used for lookup of domennaserv.ru
  in /etc/localdomains
lookup yielded: 
domennaserv.ru in "lsearch;/etc/localdomains : lsearch;/etc/secondarymx"? yes (matched "lsearch;/etc/localdomains")
data from lookup saved for cache for +relay_domains: 
domennaserv.ru in "+relay_domains"? yes (matched "+relay_domains")
accept: condition test succeeded
SMTP>> 250 Accepted
SMTP<< DATA
using ACL "check_predata"
processing "drop"
check condition = ${if def:acl_m3 {1}}
                = 
drop: condition test failed
processing "accept"
accept: condition test succeeded
SMTP>> 354 Enter message, ending with "." on a line by itself
search_tidyup called
host in ignore_fromline_hosts? no (option unset)
>>Headers received:

search_tidyup called
>>Headers after rewriting and local additions:

Data file written for message 1PW9SZ-0001SK-Do
>>Generated Received: header line
P Received: from [83.143.29.10] (helo=test.com)
	by dl.myserver.ru with esmtp (Exim 4.69)
	id 1PW9SZ-0001SK-Do
	for petr@domennaserv.ru; Fri, 24 Dec 2010 18:21:35 +0300
using ACL "check_message"
processing "accept"
check hosts = 127.0.0.1 : +relay_hosts
cached no match for +relay_hosts
cached lookup data = NULL
host in "127.0.0.1 : +relay_hosts"? no (end of list)
accept: condition test failed
processing "accept"
check hosts = *
host in "*"? yes (matched "*")
check authenticated = *
accept: condition test failed
processing "accept"
check hosts = +trustedmailhosts
cached no match for +trustedmailhosts
cached lookup data = NULL
host in "+trustedmailhosts"? no (end of list)
accept: condition test failed
processing "accept"
search_open: iplsearch "/etc/trustedmailhosts"
search_find: file="/etc/trustedmailhosts"
  key="83.143.29.10" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/trustedmailhosts
  End
internal_search_find: file="/etc/trustedmailhosts"
  type=iplsearch key="83.143.29.10"
file lookup required for 83.143.29.10
  in /etc/trustedmailhosts
lookup failed
83.143.29.10 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
                = 0
accept: condition test failed
processing "deny"
check condition = ${if !match{$message_body}{X-Bounce-ID}{yes}{no}}
                = yes
check condition = ${if eq{$sender_address}{}{yes}{no}}
                = yes
deny: condition test succeeded
SMTP>> 550 Message that generate bounce not coming from main hosts
LOG: MAIN REJECT
  H=(test.com) [83.143.29.10] F=<> rejected after DATA: Message that generate bounce not coming from main hosts
smtp_setup_msg entered
SMTP<< QUIT
SMTP>> 221 dl.myserver.ru closing connection
LOG: smtp_connection MAIN
  SMTP connection from (test.com) [83.143.29.10] closed by QUIT
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=5600 terminating with rc=0 >>>>>>>>>>>>>>>>
250-dl.myserver.ru Hello test.com [83.143.29.10]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
250 OK
250 Accepted
354 Enter message, ending with "." on a line by itself
550 Message that generate bounce not coming from main hosts
221 dl.myserver.ru closing connection

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 18:57:51

Процесс роутинга

Код: Выделить всё

--------> virtual_aliases router <--------
lookup yielded: tehnomagix@mail.ru
expanded: tehnomagix@mail.ru
file is not a filter file
parse_forward_list: tehnomagix@mail.ru
extract item: tehnomagix@mail.ru
virtual_aliases router generated tehnomagix@mail.ru[code]

Транспорт для выбранного роутера
[code]set transport dk_remote_smtp
queued for dk_remote_smtp transport: local_part = tehnomagix
domain = mail.ru
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by dk_lookuphost router
  envelope to: tehnomagix@mail.ru
  transport: dk_remote_smtp
  host mxs.mail.ru [94.100.176.20] MX=10[code]

вот здесь проверяются ratelimit
[code]ratelimit condition limit=2 period=1800 key=30m/per_cmd/leaky/petr@domennaserv.ru
dbfn_read: key=30m/per_cmd/leaky/petr@domennaserv.ru
dbfn_write: key=30m/per_cmd/leaky/petr@domennaserv.ru
ratelimit db updated
ratelimit computed rate 0.3
warn: condition test failed
вот здесь письмо режектится

Код: Выделить всё

LOG: MAIN REJECT
  H=(test.com) [83.143.29.10] F=<> rejected after DATA: Message that generate bounce not coming from main hosts
smtp_setup_msg entered
т.е. все письма для вашего юзера (petr@DOMAIN) пересылаются на tehnomagix@mail.ru. MAIL.RU отправляет вам письма обратно (вероятно данные письма считаются спамом). Вот поэтому столько bounce. Я так понимаю для других пользователей почта без bounce, верней такого количества bounce приходит. Разбирайтесь с техподдержкой MAIL.RU.

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 18:59:59

Т.е. все вроде нормально. В данном случае все по делу.

Sanyh
сержант
Сообщения: 152
Зарегистрирован: 2008-02-13 8:42:54

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение Sanyh » 2010-12-24 21:08:00

так содержимое писем явный спам

blade_007
ст. прапорщик
Сообщения: 571
Зарегистрирован: 2010-03-12 12:59:08
Контактная информация:

Re: Exim как включить DROP для спама и bounce

Непрочитанное сообщение blade_007 » 2010-12-24 21:18:49

X-Mailer: IPB PHP Mailer
bleateda7@enorm.ru

что это за зверь? От данного аккаунта идут письма на spartak@DOMAIN, который редиректится на tehnomagix@mail.ru. MAIL.RU воспринимает данное письмо как спам (скорее спам и есть) и режектим вам письмо обратно с соот. заголовками. Вы об этих bounce говорили? Если да - то проблема внутри сети.