URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 41191
[ Назад ]

Исходное сообщение
"timeout при соединении. sendmail"

Отправлено Nickolay , 02-Мрт-04 15:57 
здравствуйте
подскажите может кто сталкивался.
если из мира делать коннект на сервер на 25-порт присутсвует задержка ококло 30-40 секунд:
telnet some.ip 25
Trying some.ip...
Connected to some.ip.
Escape character is '^]'.
220 Tue, ESMTP 2 Mar 2004 14:48:17 +0200 (EET)

как только телнетишся, то сразу появляются строки до
Escape character is '^]'.
а вот приглашение
220 Tue, ESMTP 2 Mar 2004 14:48:17 +0200 (EET)
появляется как раз через пол минуты.
oc - FreeBSD 4.9-RELEASE-p2
sendmail - 8.12.11.

sendmail.mc
-------------------------------
divert(-1)                                                                                                                                              
divert(0)                                                                                                                                              
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.17 2002/11/14 03:21:18 keramida Exp $')                                                      
OSTYPE(freebsd4)                                                                                                                                        
DOMAIN(generic)                                                                                                                                        
define(confTRY_NULL_MX_LIST,true)dnl                                                                                                                    
define(confDONT_PROBE_INTERFACES,true)dnl                                                                                                              
define(PROCMAIL_MAILER_PATH,/usr/local/bin/procmail)dnl                                                                                                
define(LOCAL_MAILER_FLAGS,ShPfn)dnl                                                                                                                    
define(LOCAL_MAILER_ARGS,procmail -a $h -d $u)dnl                                                                                                      
define(`confCW_FILE', `-o /etc/mail/local-host-names')                                                                                                  
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')                                                                                                        
define(`confMAX_MIME_HEADER_LENGTH', `256/128')                                                                                                        
define(`confNO_RCPT_ACTION', `add-to-undisclosed')                                                                                                      
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,noetrn,novrfy,noreceipts')dnl                                                                          
                                                                                                                                                        
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')                                                                                                
FEATURE(`nouucp',`reject')dnl                                                                                                                          
FEATURE(`nocanonify')dnl                                                                                                                                
FEATURE(mailertable, `hash -o /etc/mail/mailertable')                                                                                                  
FEATURE(virtusertable,hash -o /etc/mail/virtusertable)dnl                                                                                              
FEATURE(redirect)dnl                                                                                                                                    
FEATURE(always_add_domain)dnl                                                                                                                          
FEATURE(use_cw_file)dnl                                                                                                                                
FEATURE(local_procmail)dnl                                                                                                                              
FEATURE(access_db)dnl                                                                                                                                  
FEATURE(blacklist_recipients)dnl                                                                                                                        
FEATURE(dnsbl)dnl                                                                                                                                      
FEATURE(dnsbl, relays.ordb.org, Spam bloked - see http://ordb.org/)                                                                                    
FEATURE(dnsbl, bl.spamcop.net, Spam blocked - see http://spamcop.net/bl.shtml?$&{client_addr})                                                          
FEATURE(dnsbl, ex.dnsbl.org, Spam bloked - see http://www.dnsbl.org/)                                                                                  
                                                                                                                                                        
INPUT_MAIL_FILTER(`drweb-filter', `S=__ADDRESS__, F=T, T=C:1m;S:5m;R:5m;E:1h')                                                                          
define(`confMILTER_LOG_LEVEL',`6')                                                                                                                      
                                                                                                                                                        
MAILER(local)                                                                                                                                          
MAILER(smtp)                                                                                                                                            
MAILER(procmail)dnl                                                                                                                                    


Содержание

Сообщения в этом обсуждении
"timeout при соединении. sendmail"
Отправлено Medlar , 02-Мрт-04 17:12 
http://www.sendmail.org/faq/section3.html#3.12  ?

"timeout при соединении. sendmail"
Отправлено Nickolay , 02-Мрт-04 18:15 
>http://www.sendmail.org/faq/section3.html#3.12  ?
установил ident timeout =0s (через sendmail.mc)
обновил root.cache, перегрузил named, sendmail.
результат тот же :-(

"timeout при соединении. sendmail"
Отправлено lavr , 02-Мрт-04 18:34 
>>http://www.sendmail.org/faq/section3.html#3.12  ?
>установил ident timeout =0s (через sendmail.mc)
>обновил root.cache, перегрузил named, sendmail.
>результат тот же :-(

попробуй в sendmail.mc:

...
FEATURE(`delay_checks')
...

доложишь результат


"timeout при соединении. sendmail"
Отправлено Nickolay , 02-Мрт-04 19:30 
>попробуй в sendmail.mc:
>
>...
>FEATURE(`delay_checks')
>...
>
>доложишь результат
помогло. теперь летает.
спасибо.

"timeout при соединении. sendmail"
Отправлено Nickolay , 03-Мрт-04 10:37 
>попробуй в sendmail.mc:
>FEATURE(`delay_checks')
>доложишь результат
можно по человечески объяснить чем грозит этот FEATURE?
читаю объяснение на sendmail.org и пока что плохо понимаю :-(