Ok,
Thanks for the help from the list.. I now have proper logging from qmail
from splogger into my syslog. I believe the problem is some sort of
conflict of sequencing of mail.none and mail.* in my copy of syslogd,
because once I put mail.* on a line before another line that had mail.none
in it, it works.
Onto my 'real' problem.
I have qmail setup based on the instructions in the HOWTO, and I call qmail
on boot via one the rc file listed in the HOWTO.
supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u$USERID
-g$GROUPID 0 25 \
rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
And I have qmail setup to deliever to Mailbox in /var/qmail/rc
Local mailing called via /bin/mail do deliever to ~user/Mailbox fine. I'm
looking back at the install doc tho, and I'm confused again on if that is
supposed to be there. Following the steps after TEST.deliever, there is
the doc about REMOVE.binmail. Mail is being delieverd fine to ~/Mailbox,
should I just leave /bin/mail alone? Pine delievers fine as well.
My problem is though, when I telnet to port 25 to deliever a message via
smtp, everything looks fine, but I never see the message.
[root@hootch qmail-smtpd]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 hootch.tandbergusa.com ESMTP
helo test
250 hootch.tandbergusa.com
mail [EMAIL PROTECTED]
250 ok
rcpt [EMAIL PROTECTED]
250 ok
data
354 go ahead
this is a test of the EBS
.
250 ok 942177100 qp 721
quit
221 hootch.tandbergusa.com
Connection closed by foreign host.
I look in the log for smtpd
[root@hootch qmail-smtpd]# cat *
942177072.212971 tcpserver: status: 1/40
942177072.213741 tcpserver: pid 719 from 127.0.0.1
942177072.274546 tcpserver: ok 719 loopback:127.0.0.1:25
loopback:127.0.0.1:root:1033
942177103.380723 tcpserver: end 719 status 0
942177103.380941 tcpserver: status: 0/40
I then look in syslog to see the qmail logging...
[root@hootch qmail-smtpd]# tail -10 /var/log/messages
Nov 9 14:24:12 localhost inetd[453]: auth/tcp: bind: Address already in
use
Nov 9 14:34:12 localhost inetd[453]: auth/tcp: bind: Address already in
use
Nov 9 14:44:12 localhost inetd[453]: auth/tcp: bind: Address already in
use
Nov 9 14:51:40 localhost qmail: 942177100.149782 new msg 2557
Nov 9 14:51:40 localhost qmail: 942177100.150179 info msg 2557: bytes 200
from <> qp 721 uid 503
Nov 9 14:51:40 localhost qmail: 942177100.366794 starting delivery 3: msg
2557 to local @hootch.tandbergusa.com
Nov 9 14:51:40 localhost qmail: 942177100.367110 status: local 1/10 remote
0/20
Nov 9 14:51:40 localhost qmail: 942177100.368331 delivery 3: success:
Nov 9 14:51:40 localhost qmail: 942177100.392021 status: local 0/10 remote
0/20
Nov 9 14:51:40 localhost qmail: 942177100.392541 end msg 2557
But.. when I look at the user's mailbox, jobu, the message is not there.
Any clue to what is going wrong here? (and what those inetd errors are? I
think they only came up after running tcpserver)
and in /var/log/qmail/qmail-smtp
Thanks