Страница 1 из 1

Тормоза при отправке почты!

Добавлено: 2008-06-28 0:00:33
torki
Всем огромный привет!
при отправке письма, висяк на 1-2 минуты, затем в логах пишет no host name found for IP address 192.168.10.12 и потом происходит отправка.
интересно что заглючело?
делалось по статье exim + системные юзеры.
Помогите кто-может! :shock:

Re: Тормоза при отправке почты!

Добавлено: 2008-06-28 0:34:43
hizel

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

host_lookup = *
?

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 16:41:49
torki
Добрый День.
Нет не помогло. :(

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:12:42
Alex Keda
что не помогло? =))

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:36:05
torki
не помогло если разкоминтарить host_lookup = *

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:38:20
Alex Keda
во как..
она закомменчена была...
=====
а стало быстрей или медленей?
попробуй

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

host_lookup = 1.1.1.1

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:38:33
hizel
ок дайте тогда текуйщий конфиг exim желательно без коментариев ;)

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:42:57
torki
конфиг такой-же как и http://www.lissyara.su/?id=1181
только свои данные подсунул

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:43:41
Alex Keda
там - мой конфиг а не ваш.

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:45:02
torki
так по вашей статье делалось

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:48:21
hizel
всетаки хорошо бы ваше, надежнее :)

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 21:55:20
torki
понял, делаю

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 22:15:21
torki
вот

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

primary_hostname = relay.тратата.com.ua

domainlist local_domains = тратата.com.ua

domainlist relay_to_domains = *.тратата.com.ua

hostlist relay_from_hosts = localhost:127.0.0.0/8:192.168.1.0/24:192.168.10.0/24

acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data

av_scanner = clamd:/var/run/clamav/clamd

qualify_domain = тратата.com.ua

qualify_recipient = тратата.com.ua

allow_domain_literals = false

exim_user = mailnull

exim_group = mail

never_users = root

#host_lookup = *

sender_unqualified_hosts = +relay_from_hosts
recipient_unqualified_hosts = +relay_from_hosts

# percent_hack_domains = *

ignore_bounce_errors_after = 45m

timeout_frozen_after = 15d

freeze_tell = alexiv@bamagro.com.ua

auto_thaw = 1h

smtp_banner = "$primary_hostname, ESMTP EXIM $version_number"

smtp_accept_max = 50

smtp_accept_max_per_connection = 20

smtp_connect_backlog = 30

smtp_accept_max_per_host = 20

split_spool_directory = true

remote_max_parallel = 15

return_size_limit = 70k

message_size_limit = 64M

helo_allow_chars = _

smtp_enforce_sync = true

log_selector = \
    +all_parents \
    +connection_reject \
    +incoming_interface \
    +lost_incoming_connection \
    +received_sender \
    +received_recipients \
    +smtp_confirmation \
    +smtp_syntax_error \
    +smtp_protocol_error \
    -queue_run
syslog_timestamp = no

begin acl

acl_check_rcpt:

accept  hosts = :

deny    message       = "incorrect symbol in address"
        domains       = +local_domains
        local_parts   = ^[.] : ^.*[@%!/|]

deny    message       = "incorrect symbol in address"
        domains       = !+local_domains
        local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./

accept  local_parts   = postmaster
        domains       = +local_domains

#require verify        = sender

deny    message       = "HELO/EHLO require by SMTP RFC"
        condition     = ${if eq{$sender_helo_name}{}{yes}{no}}

accept  authenticated = *

# тХВБЕН ОБИ, ФЕИ, ЛФП РПДУФБЧМСЕФ УЧПК IP Ч HELO
deny    message       = "оЕ ОБДП РЙИБФШ УЧПК IP Ч ЛБЮЕУФЧЕ HELO!"
        hosts         =  *:!+relay_from_hosts
        condition     = ${if eq{$sender_helo_name}\
                        {$sender_host_address}{true}{false}}

deny    condition     = ${if eq{$sender_helo_name}\
                        {$interface_address}{yes}{no}}
        hosts         = !127.0.0.1 : !localhost : *
        message       = "ьФП НПК IP-БДТЕУ! рЫЈМ РТПЮШ!"

deny    condition     = ${if match{$sender_helo_name}\
                        {\N^\d+$\N}{yes}{no}}
        hosts         = !127.0.0.1:!localhost:*
        message       = "ч HELO ОЕ НПЗХФ ВЩФШ ФПЛБ ГЙЖТЩ!"

  deny    message       = "your hostname is bad (dsl, adsl, pool, dialup, dialin, ppp & etc)."
          condition     = ${if match{$sender_host_name} \
                               {dsl|adsl|dialup|dialin|pool|peer|dhcp|ppp|etc} \
                               {yes}{no}}

deny    message       = "host in blacklist - $dnslist_domain \n $dnslist_text"
        dnslists      = proxies.blackholes.easynet.nl : \
                        cbl.abuseat.org : \
                        bl.spamcop.net : \
                        bl.csma.biz : \
                        #dynablock.njabl.org : \
			#opm.blitzed.org : \

warn
  
        set acl_m0 = 30s
warn
     
        hosts = +relay_from_hosts:192.168.1.0/24:192.168.10.0/24
        set acl_m0 = 0s
warn
       
        logwrite = Delay $acl_m0 for $sender_host_name \
[$sender_host_address] with HELO=$sender_helo_name. Mail \
from $sender_address to $local_part@$domain.
        delay = $acl_m0

  accept  domains       = +local_domains
          endpass
          message       = "In my mailserver not stored this user"
          verify        = recipient

  accept  domains       = +relay_to_domains
          endpass
          message       = "main server not know how relay to this address"
          verify        = recipient

accept  hosts         = +relay_from_hosts

deny    message       = "relay not permitted"

acl_check_data:

deny malware = *
message = "In e-mail found VIRUS - $malware_name"

accept


begin routers

prov_route: 
    driver = manualroute 
    domains = !+local_domains 
    transport = remote_smtp 
    route_list = * smtp.svitonline.com

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

userforward:
  driver = redirect
  check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
  file = $home/.forward
# allow_filter
  no_verify
  no_expn
  check_ancestor
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  condition = ${if exists{$home/.forward} {yes} {no} }


localuser:
  driver = accept
  check_local_user
  transport = local_delivery
  cannot_route_message = Unknown user

begin transports

remote_smtp:
    driver = smtp
    hosts = smtp.svitonline.com

local_delivery:
  driver = appendfile
  check_string = ""
  create_directory
  delivery_date_add
  directory = /usr/home/${local_part}/Maildir
  directory_mode = 770
  envelope_to_add
  group = mail
  maildir_format
  maildir_tag = ,S=$message_size
  message_prefix = ""
  message_suffix = ""
  mode = 0660


address_pipe:
  driver = pipe
  return_output

address_file:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  return_path_add

address_reply:
  driver = autoreply

begin retry

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

begin rewrite

begin authenticators

Re: Тормоза при отправке почты!

Добавлено: 2008-07-02 22:26:59
hizel
гм а если

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

host_lookup = :

Re: Тормоза при отправке почты!

Добавлено: 2008-07-03 10:54:29
torki
1мин.40сек. прогресс на 20 сек. :(

Re: Тормоза при отправке почты!

Добавлено: 2008-07-03 11:09:46
hizel
а resolv.conf как на этом сервере настроен?

Re: Тормоза при отправке почты!

Добавлено: 2008-07-03 11:35:30
torki

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

domain тратата.com.ua
nameserver 212.109.32.5 #провайдерский ДНС

Re: Тормоза при отправке почты!

Добавлено: 2008-07-03 20:59:04
Alex Keda
запускай с дебагом на консоль и отправляй...