What was the strace from ? Can you run strace sendmail -bt and give me the output from that ?
The strace you included still shows the 10 second delay talking to the DNS server
Code: Select all
14:24:13 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 15
14:24:13 connect(15, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("172.16.0.3")}, 28) = 0
14:24:13 fcntl64(15, F_GETFL) = 0x2 (flags O_RDWR)
14:24:13 fcntl64(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
14:24:13 gettimeofday({1166556253, 32830}, NULL) = 0
14:24:13 poll([{fd=15, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
14:24:13 send(15, "\365\341\1\0\0\1\0\0\0\0\0\0\0010\0010\0010\0010\7in-a"..., 38, 0) = 38
14:24:13 poll([{fd=15, events=POLLIN}], 1, 5000) = 0
14:24:18 gettimeofday({1166556258, 33915}, NULL) = 0
14:24:18 poll([{fd=15, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
14:24:18 send(15, "\365\341\1\0\0\1\0\0\0\0\0\0\0010\0010\0010\0010\7in-a"..., 38, 0) = 38
14:24:18 poll([{fd=15, events=POLLIN}], 1, 5000) = 0
14:24:23 close(15) = 0 Cheers
Dave
