when trying to connect to the imap server there is 15 seconds delay. I
have tried 3 times.all connections had 15 seconds delay. I have checked
network connections during delay. Network connection is okay. after
connection established cyrus waits for some delay before giving "OK
helios Cyrus IMAP4 v.2.0.11 prompt.
below I have attached an strace output from mutt client.
the same occurs with "telnet host 143" also.
Also only after this much delay, imapd.log has been written.

strace output:

12:54:58 execve("/usr/local/bin/mutt", ["mutt"], [/* 34 vars */]) = 0
...
12:54:58 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
12:54:58 connect(4, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.6.254")}}, 16) = 0
12:54:58 send(4, "\'\315\1\0\0\1\0\0\0\0\0\0\6helios\5local\6ankara"...,
48, 0) = 48
12:54:58 time(NULL)                     = 982580098
12:54:58 poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
12:54:58 recvfrom(4,
"\'\315\205\200\0\1\0\1\0\1\0\1\6helios\5local\6ankara"..., 1024, 0,
{sin_family=AF_INET, sin_port=htons(53), sin_a$...
12:54:58 close(4)                       = 0
12:54:58 write(1, "\rConnecting to helios...      \33["..., 34) = 34
12:54:58 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
12:54:58 connect(4, {sin_family=AF_INET, sin_port=htons(143),
sin_addr=inet_addr("192.168.6.17")}}, 16) = 0
-->12:54:58 read(4, "* OK helios Cyrus IMAP4 v2.0.11 "..., 1024) = 46
12:55:13 write(4, "a0000 CAPABILITY\r\n", 18) = 18
12:55:13 read(4, "* CAPABILITY IMAP4 IMAP4rev1 ACL"..., 1024) = 178
12:55:13 write(1, "\rPassword for oguz@helios: ", 27) = 27
...
12:55:17 write(1, "\rLogging in...\33[K", 17) = 17
12:55:17 write(4, "a0001 LOGIN \"oguz\" \"h1u2n3@ta\"\r\n", 32) = 32
12:55:17 read(4, "a0001 OK User logged in\r\n", 1024) = 25
12:55:17 write(4, "a0002 LIST \"\" \"\"\r\n", 18) = 18

begin:vcard 
n:YILMAZ;Oguz
tel;work:+90.312.4467800
x-mozilla-html:FALSE
url:oguz.ieee.metu.edu.tr
org:Gantek
adr:;;Kizkulesi Sok 42-2 GOP	;ANKARA;;;TURKIYE
version:2.1
email;internet:[EMAIL PROTECTED]
title:System Support Engineer
x-mozilla-cpt:;-15776
fn:Oguz YILMAZ
end:vcard

Reply via email to