[I'm not subscribed to the list, so I would appreciate a copy of replies.]
I have a qmail 1.01 host which previously sent mail by UUCP. Now, it sends
everything to a smart host with SMTP. Sometimes, it works and sometimes, *all*
the messages trigger a:
Feb 28 15:39:43 cachin qmail: 951748783.154132 delivery 6: deferral:
Connected_to_x.x.x.x_but_connection_died._Possible_duplicate!/
(IP address hidden because it is a RFC 1918, anyway).
Searching the archives of the mailing list, I find very often this problem but
no solution.
Telnetting to the smart host (which uses Sendmail 8.9.3 and which is not under
my control) and running SMTP commands by hand works fine.
My machine is a RedHat 5 (yes, it's old, I know). stracing qmail-remote shows:
bortz@cachin$ sudo strace -p 26038
oldselect(4, [3], NULL, NULL, {996, 940000}) = 0 (Timeout)
shutdown(3, 0 /* receive */) = 0
oldselect(4, NULL, [3], NULL, {1200, 0}) = 1 (out [3], left {1200, 0})
write(3, "QUIT\r\n", 6) = 6
oldselect(4, [3], NULL, NULL, {1200, 0}) = 1 (in [3], left {1200, 0})
read(3, "", 128) = 0
write(1, "ZConnected to x.x.x.x but "..., 70) = 70
_exit(0) = ?