Как отключить кеширование оутлупов Exim

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

Модератор: xM

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
princeps
майор
Сообщения: 2684
Зарегистрирован: 2007-09-25 10:20:59
Откуда: Сочи, Москва
Контактная информация:

Re: socket bind() to port 25 for address (any IPv4) failed:

Непрочитанное сообщение princeps » 2009-05-25 10:44:38

В rc.conf как у тебя прописан запуск exim'а?
Deus quos vult perdere dementat prius
http://www.itforum-sochi.ru

Хостинговая компания 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/
Выделенные сервера, Россия, Москва, от 2460 рублей (8 CPU, 8Gb RAM, 2x500Gb HDD, RAID 3ware 9750):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Tanatos
ефрейтор
Сообщения: 65
Зарегистрирован: 2009-04-29 8:43:20
Откуда: Пермь
Контактная информация:

Re: socket bind() to port 25 for address (any IPv4) failed:

Непрочитанное сообщение Tanatos » 2009-05-25 11:03:05

princeps писал(а):В rc.conf как у тебя прописан запуск exim'а?
exim_enable="YES"

Tanatos
ефрейтор
Сообщения: 65
Зарегистрирован: 2009-04-29 8:43:20
Откуда: Пермь
Контактная информация:

Re: socket bind() to port 25 for address (any IPv4) failed:

Непрочитанное сообщение Tanatos » 2009-05-25 12:02:01

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

12:58:13   881 Exim version 4.69 (FreeBSD 7.1) uid=0 gid=0 pid=881 D=fffdffff
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources PAM Perl Expand_dlfunc OpenSSL Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch mysql nis nis0 passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
12:58:13   881 changed uid/gid: forcing real = effective
12:58:13   881   uid=0 gid=0 pid=881
12:58:13   881   auxiliary group list: 0
12:58:13   881 seeking password data for user "mailnull": using cached result
12:58:13   881 getpwnam() succeeded uid=26 gid=26
12:58:13   881 seeking password data for user "root": cache not available
12:58:13   881 getpwnam() succeeded uid=0 gid=0
12:58:13   881 configuration file is /usr/local/etc/exim/configure
12:58:13   881 log selectors = 0000cefe 00233821
12:58:13   881 cwd=/usr/home/admin 3 args: exim -bd -d+all
12:58:13   881 trusted user
12:58:13   881 admin user
12:58:13   881 seeking password data for user "mailnull": cache not available
12:58:13   881 getpwnam() succeeded uid=26 gid=26
12:58:13   881 originator: uid=0 gid=0 login=root name=Charlie Root
12:58:13   881 listening on all interfaces (IPv4) port 25
12:58:13   881 pid written to /var/run/exim.pid
12:58:13   881 changed uid/gid: running as a daemon
12:58:13   881   uid=26 gid=6 pid=881
12:58:13   881   auxiliary group list: 6 6
12:58:13   881 LOG: MAIN
12:58:13   881   exim 4.69 daemon started: pid=881, no queue runs, listening for SMTP on port 25 (IPv4)
12:58:13   881 set_process_info:   881 daemon: no queue runs, listening for SMTP on port 25 (IPv4)
12:58:13   881 daemon running with uid=26 gid=6 euid=26 egid=6
12:58:13   881 Listening...
12:59:05   887 routing Tanatoshs@mail.ru
12:59:05   887 --------> system_aliases router <--------
12:59:05   887 local_part=tanatoshs domain=mail.ru
12:59:05   887 calling system_aliases router
12:59:05   887 rda_interpret (string): ${lookup mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}}
12:59:05   887 expanding: $local_part@$domain
12:59:05   887    result: tanatoshs@mail.ru
12:59:05   887 expanding: @$domain
12:59:05   887    result: @mail.ru
12:59:05   887 expanding: SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'
12:59:05   887    result: SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'
12:59:05   887 search_open: mysql "NULL"
12:59:05   887 search_find: file="NULL"
12:59:05   887   key="SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'" partial=-1 affix=NULL starflags=0
12:59:05   887 LRU list:
12:59:05   887 internal_search_find: file="NULL"
12:59:05   887   type=mysql key="SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'"
12:59:05   887 database lookup required for SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'
12:59:05   887 MySQL query: SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'
12:59:05   887 MYSQL new connection: host=localhost port=0 socket=NULL database=exim user=exim
12:59:05   887 MYSQL: no data found
12:59:05   887 lookup failed
12:59:05   887 expanding: ${lookup mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}}
12:59:05   887    result:
12:59:05   887 expanded:
12:59:05   887 file is not a filter file
12:59:05   887 parse_forward_list:
12:59:05   887 system_aliases router declined for Tanatoshs@mail.ru
12:59:05   887 --------> dovecot_user router <--------
12:59:05   887 local_part=tanatoshs domain=mail.ru
12:59:05   887 checking "condition"
12:59:05   887 expanding: $local_part@$domain
12:59:05   887    result: tanatoshs@mail.ru
12:59:05   887 expanding: @$domain
12:59:05   887    result: @mail.ru
12:59:05   887 expanding: SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'
12:59:05   887    result: SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'
12:59:05   887 search_open: mysql "NULL"
12:59:05   887   cached open
12:59:05   887 search_find: file="NULL"
12:59:05   887   key="SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'" partial=-1 affix=NULL starflags=0
12:59:05   887 LRU list:
12:59:05   887 internal_search_find: file="NULL"
12:59:05   887   type=mysql key="SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'"
12:59:05   887 cached data used for lookup of SELECT `goto` FROM `alias` WHERE `address`='tanatoshs@mail.ru' OR `address`='@mail.ru'
12:59:05   887 lookup failed
12:59:05   887 expanding: yes
12:59:05   887    result: yes
12:59:05   887 skipping: result is not used
12:59:05   887 expanding: no
12:59:05   887    result: no
12:59:05   887 expanding: ${lookup mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}{yes}{no}}
12:59:05   887    result: no
12:59:05   887 dovecot_user router skipped: condition failure
12:59:05   887 --------> lanck_router router <--------
12:59:05   887 local_part=tanatoshs domain=mail.ru
12:59:05   887 checking domains
12:59:05   887 mail.ru in "!@"? yes (end of list)
12:59:05   887 calling lanck_router router
12:59:05   887 lanck_router router called for Tanatoshs@mail.ru
12:59:05   887   domain = mail.ru
12:59:05   887 route_item = * relay.lanck.net
12:59:05   887 mail.ru in "*"? yes (matched "*")
12:59:05   887 original list of hosts = "relay.lanck.net" options =
12:59:05   887 expanded list of hosts = "relay.lanck.net" options =
12:59:05   887 set transport lanck_transport
12:59:05   887 finding IP address for relay.lanck.net
12:59:05   887 doing DNS lookup
;; res_nquerydomain(relay.lanck.net, <Nil>, 1, 1)
;; res_query(relay.lanck.net, 1, 1)
;; res_nmkquery(QUERY, relay.lanck.net, IN, A)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34583
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      relay.lanck.net, type = A, class = IN
;; Querying server (# 1) address = 0.0.0.0
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34583
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1
;;      relay.lanck.net, type = A, class = IN
relay.lanck.net.        23h58m41s IN A  62.152.64.2
relay.lanck.net.        23h58m41s IN A  62.152.64.1
lanck.net.              23h58m40s IN NS  ns2.lanck.net.
lanck.net.              23h58m40s IN NS  ns.lanck.net.
ns2.lanck.net.          23h58m40s IN A  62.152.65.8
12:59:05   887 DNS lookup of relay.lanck.net (A) succeeded
12:59:05   887 Actual local interface address is 192.168.0.3 (sk0)
12:59:05   887 Actual local interface address is 192.168.1.200 (rl0)
12:59:05   887 Actual local interface address is 127.0.0.1 (lo0)
12:59:05   887 fully qualified name = relay.lanck.net
12:59:05   887 relay.lanck.net 62.152.64.1 mx=-1 sort=-466
12:59:05   887 relay.lanck.net 62.152.64.2 mx=-1 sort=-192
12:59:05   887 queued for lanck_transport transport: local_part = tanatoshs
12:59:05   887 domain = mail.ru
12:59:05   887   errors_to=NULL
12:59:05   887   domain_data=NULL localpart_data=NULL
12:59:05   887 routed by lanck_router router
12:59:05   887   envelope to: Tanatoshs@mail.ru
12:59:05   887   transport: lanck_transport
12:59:05   887   host relay.lanck.net [62.152.64.1]
12:59:05   887   host relay.lanck.net [62.152.64.2]
12:59:05   887 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
12:59:05   887 After routing:
12:59:05   887   Local deliveries:
12:59:05   887   Remote deliveries:
12:59:05   887     Tanatoshs@mail.ru
12:59:05   887   Failed addresses:
12:59:05   887   Deferred addresses:
12:59:05   887 search_tidyup called
12:59:05   887 close MYSQL connection: localhost/exim/exim
12:59:05   887 >>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>
12:59:05   887 --------> Tanatoshs@mail.ru <--------
12:59:05   887 search_tidyup called
12:59:05   887 set_process_info:   887 delivering 1M8Zlh-0000EI-Nf: waiting for a remote delivery subprocess to finish
12:59:05   888 changed uid/gid: remote delivery to Tanatoshs@mail.ru with transport=lanck_transport
12:59:05   888   uid=26 gid=6 pid=888
12:59:05   888   auxiliary group list: 6
12:59:05   888 set_process_info:   888 delivering 1M8Zlh-0000EI-Nf using lanck_transport
12:59:05   888 lanck_transport transport entered
12:59:05   888   Tanatoshs@mail.ru
12:59:05   888 mail.ru in queue_smtp_domains? no (option unset)
12:59:05   888 checking status of relay.lanck.net
12:59:05   888 locking /var/spool/exim/db/retry.lockfile
12:59:05   888 locked /var/spool/exim/db/retry.lockfile
12:59:05   888 EXIM_DBOPEN(/var/spool/exim/db/retry)
12:59:05   888 returned from EXIM_DBOPEN
12:59:05   888 opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
12:59:05   888 dbfn_read: key=T:relay.lanck.net:62.152.64.1
12:59:05   888 dbfn_read: key=T:relay.lanck.net:62.152.64.1:1M8Zlh-0000EI-Nf
12:59:05   888 no message retry record
12:59:05   888 host retry time not reached: checking ultimate address timeout
12:59:05   888   now=1243256345 first_failed=1243248946 next_try=1243256360 expired=0
12:59:05   888 address match: subject=*@relay.lanck.net pattern=*
12:59:05   888 relay.lanck.net in "*"? yes (matched "*")
12:59:05   888 *@relay.lanck.net in "*"? yes (matched "*")
12:59:05   888   received_time=1243256345 diff=0 timeout=345600
12:59:05   888 relay.lanck.net [62.152.64.1] status = unusable
12:59:05   888 mail.ru in queue_smtp_domains? no (option unset)
12:59:05   888 checking status of relay.lanck.net
12:59:05   888 locking /var/spool/exim/db/retry.lockfile
12:59:05   888 locked /var/spool/exim/db/retry.lockfile
12:59:05   888 EXIM_DBOPEN(/var/spool/exim/db/retry)
12:59:05   887 selecting on subprocess pipes
12:59:05   888 returned from EXIM_DBOPEN
12:59:05   888 opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
12:59:05   888 dbfn_read: key=T:relay.lanck.net:62.152.64.2
12:59:05   888 dbfn_read: key=T:relay.lanck.net:62.152.64.2:1M8Zlh-0000EI-Nf
12:59:05   888 no message retry record
12:59:05   888 host retry time not reached: checking ultimate address timeout
12:59:05   888   now=1243256345 first_failed=1243248946 next_try=1243256360 expired=0
12:59:05   888 address match: subject=*@relay.lanck.net pattern=*
12:59:05   888 relay.lanck.net in "*"? yes (matched "*")
12:59:05   888 *@relay.lanck.net in "*"? yes (matched "*")
12:59:05   888   received_time=1243256345 diff=0 timeout=345600
12:59:05   888 relay.lanck.net [62.152.64.2] status = unusable
12:59:05   888 all IP addresses skipped or deferred at least one address
12:59:05   888 updating wait-lanck_transport database
12:59:05   888 locking /var/spool/exim/db/wait-lanck_transport.lockfile
12:59:05   888 locked /var/spool/exim/db/wait-lanck_transport.lockfile
12:59:05   888 EXIM_DBOPEN(/var/spool/exim/db/wait-lanck_transport)
12:59:05   888 returned from EXIM_DBOPEN
12:59:05   888 opened hints database /var/spool/exim/db/wait-lanck_transport: flags=O_RDWR
12:59:05   888 dbfn_read: key=relay.lanck.net
12:59:05   888 dbfn_write: key=relay.lanck.net
12:59:05   888 added to list for relay.lanck.net
12:59:05   888 Leaving lanck_transport transport
12:59:05   888 set_process_info:   888 delivering 1M8Zlh-0000EI-Nf (just run lanck_transport for Tanatoshs@mail.ru in subprocess)
12:59:05   888 search_tidyup called
12:59:05   887 reading pipe for subprocess 888 (not ended)
12:59:05   887 read() yielded 88
12:59:05   887 Z0 item read
12:59:05   887 remote delivery process 888 ended
12:59:05   887 set_process_info:   887 delivering 1M8Zlh-0000EI-Nf
12:59:05   887 post-process Tanatoshs@mail.ru (1)
12:59:05   887 LOG: retry_defer MAIN
12:59:05   887   == tanatoshs@mail.ru <Tanatoshs@mail.ru> R=lanck_router T=lanck_transport defer (-53): retry time not reached for any host
12:59:05   887 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
12:59:05   887 changed uid/gid: post-delivery tidying
12:59:05   887   uid=26 gid=6 pid=887
12:59:05   887   auxiliary group list: 6
12:59:05   887 set_process_info:   887 tidying up after delivering 1M8Zlh-0000EI-Nf
12:59:05   887 Processing retry items
12:59:05   887 Succeeded addresses:
12:59:05   887 Failed addresses:
12:59:05   887 Deferred addresses:
12:59:05   887 Tanatoshs@mail.ru: no retry items
12:59:05   887 end of retry processing
12:59:05   887 delivery deferred: update_spool=1 header_rewritten=0
12:59:05   887 Writing spool header file
12:59:05   887 Size of headers = 684
12:59:05   887 end delivery of 1M8Zlh-0000EI-Nf
12:59:05   887 search_tidyup called
12:59:05   887 search_tidyup called
12:59:05   887 >>>>>>>>>>>>>>>> Exim pid=887 terminating with rc=0 >>>>>>>>>>>>>>>>


Tanatos
ефрейтор
Сообщения: 65
Зарегистрирован: 2009-04-29 8:43:20
Откуда: Пермь
Контактная информация:

Re: socket bind() to port 25 for address (any IPv4) failed:

Непрочитанное сообщение Tanatos » 2009-05-25 12:59:09

По всей видимости роутеры у меня все таки через задницу настроены, вопрос тоько почему когда то есть возможность отправлят а когда то нет...
named у меня как форвардер настроен никаких записей нет.

Как вариант просто когда сервер relay.lanck.net загружен не может быстро дать ответ моему серверу, а мой в свою очередь думает что тот незнает и перестает у него спрашивать, надо попробовать увеличить время ожидания ответа но как...
Последний раз редактировалось Tanatos 2009-05-26 7:55:41, всего редактировалось 1 раз.

princeps
майор
Сообщения: 2684
Зарегистрирован: 2007-09-25 10:20:59
Откуда: Сочи, Москва
Контактная информация:

Re: socket bind() to port 25 for address (any IPv4) failed:

Непрочитанное сообщение princeps » 2009-05-25 14:33:51

не настал ли момент выложить сюда конфиг экзима. Кстати, советую тебе убрать версию из приветствия, мелочь, конечно, но все-таки палево.
Deus quos vult perdere dementat prius
http://www.itforum-sochi.ru

Tanatos
ефрейтор
Сообщения: 65
Зарегистрирован: 2009-04-29 8:43:20
Откуда: Пермь
Контактная информация:

Re: socket bind() to port 25 for address (any IPv4) failed:

Непрочитанное сообщение Tanatos » 2009-05-25 15:06:35

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

primary_hostname = mxgt.jupitervld.net

hide mysql_servers = localhost/exim/exim/exim
domainlist local_domains = ${lookup mysql{SELECT `domain` \
                            FROM `domain` WHERE \
                            `domain`='${domain}' AND \
                            `active`='1'}}
domainlist relay_to_domains = ${lookup mysql{SELECT `domain` \
                            FROM `domain` WHERE \
                            `domain`='${domain}' AND \
                            `active`='1'}}

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

acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data

daemon_smtp_ports = 25


qualify_domain = jupitervld.net
qualify_recipient = jupitervld.net
allow_domain_literals = false
exim_user = mailnull
exim_group = mail
never_users = root

rfc1413_query_timeout = 0s
sender_unqualified_hosts = +relay_from_hosts
recipient_unqualified_hosts = +relay_from_hosts
ignore_bounce_errors_after = 45m
timeout_frozen_after = 15d

helo_accept_junk_hosts = 192.168.1.0/24
split_spool_directory = true
auto_thaw = 1h
smtp_banner = "$primary_hostname, ESMTP EXIM $version_number"

smtp_accept_max = 50

smtp_accept_max_per_connection = 25

smtp_connect_backlog = 30

smtp_accept_max_per_host = 20

remote_max_parallel = 15

message_size_limit = 15M
helo_allow_chars = _
smtp_enforce_sync = false
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  authenticated = *
accept  hosts         = +relay_from_hosts

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

require verify = recipient
# нет deny имхо тестирую пока хотя бы чтоб как то работало

  accept


acl_check_data:

  accept

######################################################################
#                      ROUTERS CONFIGURATION                         #
#               Specifies how addresses are handled                  #
######################################################################
#     THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT!       #
# An address is passed to each router in turn until it is accepted.  #
######################################################################

begin routers

lanck_router:
        domains = !@
        driver = manualroute
        transport = lanck_transport
        route_list = * relay.lanck.net



system_aliases:
    driver = redirect
    allow_fail
    allow_defer
    data = ${lookup mysql{SELECT `goto` FROM `alias` WHERE \
            `address`='${quote_mysql:$local_part@$domain}' OR \
                `address`='${quote_mysql:@$domain}'}}
dovecot_user:
  driver = accept
  condition = ${lookup mysql{SELECT `goto` FROM \
  `alias` WHERE \
  `address`='${quote_mysql:$local_part@$domain}' OR \
  `address`='${quote_mysql:@$domain}'}{yes}{no}}
  transport = dovecot_delivery

######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################

begin transports

remote_smtp:
  driver = smtp
hosts_try_auth = relay.lanck.net

dovecot_delivery:
  driver = pipe
  command = /usr/local/libexec/dovecot/deliver -d $local_part@$domain
  message_prefix =
  message_suffix =
  delivery_date_add
  envelope_to_add
  return_path_add
  log_output
  user = mailnull

address_pipe:
  driver = pipe
  return_output

address_file:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  return_path_add

address_reply:
  driver = autoreply

lanck_transport:
        driver = smtp
        hosts_try_auth = relay.lanck.net
        hosts = relay.lanck.net

######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################
begin retry

# Address or Domain    Error       Retries
# -----------------    -----       -------

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

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################
begin rewrite
*@jupitervld.net     $local_part@valday.lanck.net        Eh
######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################

begin authenticators

auth_plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = ${lookup mysql{SELECT `username` FROM \
                     `mailbox` WHERE `username` = \
                     '${quote_mysql:$auth2}' AND `password` = \
                     '${quote_mysql:$auth3}'}{yes}{no}}
  server_prompts = :
  server_set_id = $auth2
 client_send = ^логин^пароль


auth_login:
  driver = plaintext
  public_name = LOGIN
  server_condition = ${lookup mysql{SELECT `username` FROM \
                     `mailbox` WHERE `username` = \
                     '${quote_mysql:$auth1}' AND `password` = \
                     '${quote_mysql:$auth2}'}{yes}{no}}
  server_prompts = Username:: : Password::
  server_set_id = $auth1
 client_send = : логин : парль

auth_cram_md5:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${lookup mysql{SELECT `password` FROM \
                        `mailbox` WHERE `username` \
                        = '${quote_mysql:$auth1}'}{$value}fail}
  server_set_id = $auth2

Tanatos
ефрейтор
Сообщения: 65
Зарегистрирован: 2009-04-29 8:43:20
Откуда: Пермь
Контактная информация:

Re: retry time not reached for any host

Непрочитанное сообщение Tanatos » 2009-05-26 10:12:54

Наверное надо рыть в сторону кэширования оутлупов)

princeps
майор
Сообщения: 2684
Зарегистрирован: 2007-09-25 10:20:59
Откуда: Сочи, Москва
Контактная информация:

Re: retry time not reached for any host

Непрочитанное сообщение princeps » 2009-05-26 10:24:37

черт знает. навскидку не вижу ничего криминального, глубоко вникать времени нет. Подожди, может кто придет, глянет, поможет.
Deus quos vult perdere dementat prius
http://www.itforum-sochi.ru

Tanatos
ефрейтор
Сообщения: 65
Зарегистрирован: 2009-04-29 8:43:20
Откуда: Пермь
Контактная информация:

Re: retry time not reached for any host

Непрочитанное сообщение Tanatos » 2009-05-26 10:28:25

princeps писал(а):черт знает. навскидку не вижу ничего криминального, глубоко вникать времени нет. Подожди, может кто придет, глянет, поможет.
Надо просто отрубить кэширование оутлупов но я немогу найти как(