Hello,

        We've recently setup a new pop toaster using qmail-ldap (and have
applied the qmail-ldap control patch, plus smtp-auth).  Everything works
fine, including local deliveries and pop3 message retrieval.
        However, qmail-remote does not want to work.  The messages sit in
the queue, and the logfile for qmail-send says:
@400000003c3cb7fd2f45a964 delivery 8: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

Message in queue:
-------------------
9 Jan 2002 20:56:38 GMT  #2559  290  <[EMAIL PROTECTED]>
        remote  [EMAIL PROTECTED]
--------------------

        Now, mail.lite.net (the MX for lite.net) works fine, and you can
telnet to mail.lite.net and manually send a message using SMTP.
        After further investigation, I decided to run an strace on
qmail-remote, and was able to capture some of the conversation.  Here's
the strace output:

gettimeofday({1010609594, 614223}, NULL) = 0
poll([{fd=7, events=POLLIN}], 1, 459)   = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8
connect(8, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("64.254.32.11")}}, 28) = 0
send(8, "Ce\1\0\0\1\0\0\0\0\0\0\4mx06\7hotmail\3com\0\0\1"..., 34, 0) = 34
gettimeofday({1010609595, 79572}, NULL) = 0
poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(8, "Ce\201\200\0\1\0\1\0\0\0\0\4mx06\7hotmail\3com\0\0\1"...,
513, 0, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("64.254.32.11")}}, [16]) = 50
close(7)                                = 0
close(8)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
connect(7, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("64.254.32.10")}}, 28) = 0
send(7, "Cf\1\0\0\1\0\0\0\0\0\0\4mx07\7hotmail\3com\0\0\1"..., 34, 0) = 34
gettimeofday({1010609595, 189452}, NULL) = 0
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(7, "Cf\201\200\0\1\0\1\0\0\0\0\4mx07\7hotmail\3com\0\0\1"...,
513, 0, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("64.254.32.10")}}, [16]) = 50
close(7)                                = 0
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
open("queue/lock/tcpto", O_WRONLY|O_NONBLOCK) = 7
open("queue/lock/tcpto", O_RDONLY|O_NONBLOCK) = 8
flock(7, LOCK_EX)                       = 0
read(8, "A6\350\7\2\0\0\0b\254<<\0\0\0\0A6\350G\2\0\0\0\256\253"..., 1024)
= 1024
close(8)                                = 0
close(7)                                = 0
time(NULL)                              = 1010609595
getpid()                                = 13661
write(1, "ZSorry, I wasn\'t able to establi"..., 65) = 65
_exit(0)                                = ?


        Messy, huh?  :)

        Any suggestions?  I'm open to any options at this point...!

All the best,
Jonathan D. George

Reply via email to