> There's not really a standard location for logs. I suspect you were
> looking in the right place.
>
Okay.
> qmail-smtpd doesn't log anything. The log entries posted were from
> tcpserver, which logs the SMTP connection, and qmail-send, which logs
> the delivery.
>
Oh, okay. Here's my entry from /var/log/qmail/qmail-smtpd/current. This is
a diff of current from before to after I did the TEST.receive:
52,56d51
< @400000003981c1c90c20f524 tcpserver: status: 1/40
< @400000003981c1c90c3271b4 tcpserver: pid 15431 from 192.168.0.3
< @400000003981c1c90dd8559c tcpserver: ok 15431
sumo.craig-home.org:192.168.0.3:25
sumo.craig-home.org:192.168.0.3:root:28777
< @400000003981c1f2287da384 tcpserver: end 15431 status 0
< @400000003981c1f2288377b4 tcpserver: status: 0/40
Here's what I typed into the telnet session:
sumo# telnet sumo 25
Trying 192.168.0.3...
Connected to sumo.
Escape character is '^]'.
220 sumo.craig-home.org ESMTP
helo dude
250 sumo.craig-home.org
mail [EMAIL PROTECTED]
250 ok
rcpt [EMAIL PROTECTED]
250 ok
data
354 go ahead
Subject: Testing SMTP receive
Did you get it?
.
250 ok 964805092 qp 22566
quit
221 sumo.craig-home.org
Connection closed by foreign host.
sumo#
> If you want to see how the pieces fit together, check out:
>
> http://Web.InfoAve.Net/~dsill/lwq.html#pictures
>
Yep, I've got those and am looking at them.
> >Is it then processed
> >by my /var/qmail/rc script?
>
> No, the rc script just starts qmail.
>
Okay.
> >In that case (I'm using procmail right now,
> >just trying to get this to work) should it then end up on my queue?
>
> qmail-smtpd puts the message in the queue. qmail-send passes
> it off to
Is there anyway to see what's in the queue? Where is the queue? How do I
trace where the message is getting lost? Sorry for the basic questions, but
I haven't seen these documented anywhere before, no doubt I've missed
something.
> qmail-lspawn for local delivery. qmail-lspawn looks for a .qmail file
> or uses the default delivery specification on the qmail-start command
> line (from /var/qmail/rc) to determine how to deliver the message. If
> it's to be delivered via procmail, qmail-local execs procmail.
>
Thanks, this clarifies a lot for me!
> -Dave
>
Thanks for the help!
Cheers,
Craig