Bob Brown wrote:
> I've followed the steps in the "Life as Qmail" document.
> The install seems to have gone without a hitch--- qmail,
> ucspi-tcp, daemontools. All the test along the way seem
> to work. TEST.deliver works fine. TEST.receive fails
> on the first test.
>
> I've tried to telnet to both 127.0.0.1 25 and direct to
> the domain.... the dialog, helo dude, mail, rcpt and data
> all give the correct results back.
>
> Looking in the /var/log/qmail/smtpd/current looks ok to me:
>
> @40000000391ba61d07d823fc tcpserver: status: 1/40
> @40000000391ba61d07dc0bfc tcpserver: pid 8855 from 127.0.0.1
> @40000000391ba61d08b3f954 tcpserver: ok 8855 localhost:127.0.0.1:25
> :127.0.0.1:root:1063
> @40000000391ba64910b5b3cc tcpserver: end 8855 status 0
> @40000000391ba64910b5fe04 tcpserver: status: 0/40
> @40000000391ba6bb0f0bbcec tcpserver: status: 1/40
> @40000000391ba6bb0f0fc814 tcpserver: pid 12466 from 209.81.49.16
> @40000000391ba6bc08c1a93c tcpserver: ok 12466
> main.send2u.com:209.81.49.35:25 ceres.wallis.com:\
> 209.81.49.16:mwallis:3795
> @40000000391ba6bc08ecc84c tcpserver: end 12466 status 0
> @40000000391ba6bc08ed87b4 tcpserver: status: 0/40
> @40000000391ba6c21d542014 tcpserver: status: 1/40
> @40000000391ba6c21db5107c tcpserver: pid 12641 from 209.81.49.35
> @40000000391ba6c21e560784 tcpserver: ok 12641
> main.send2u.com:209.81.49.35:25 main.send2u.com:2\
> 09.81.49.35:root:1067
> @40000000391ba6df32cf2de4 tcpserver: end 12641 status 0
> @40000000391ba6df32cf7fec tcpserver: status: 0/40
> @40000000391ba81e1bace854 tcpserver: status: 1/40
> @40000000391ba81e1bb0e3dc tcpserver: pid 20600 from 209.81.49.16
> @40000000391ba81f0e0bd14c tcpserver: ok 20600
> main.send2u.com:209.81.49.35:25 ceres.wallis.com:\
> 209.81.49.16:mwallis:3921
> @40000000391ba81f0ef834ec tcpserver: end 20600 status 0
> @40000000391ba81f0ef8f454 tcpserver: status: 0/40
> @40000000391bac810fe720fc tcpserver: status: 0/40
> @40000000391bada21a6f99dc tcpserver: status: 1/40
> @40000000391bada21a73ef3c tcpserver: pid 10219 from 209.81.49.16
> @40000000391bada3188cbc94 tcpserver: ok 10219
> main.send2u.com:209.81.49.35:25 ceres.wallis.com:\
> 209.81.49.16:mwallis:4431
> @40000000391bada31adede3c tcpserver: end 10219 status 0
> @40000000391bada31adfa95c tcpserver: status: 0/40
>
> BUT nothing ever shows up in the Mailbox file. This seems strange to
> me since the TEST.deliver seemed to work fine.
>
> I got rid of the daemontools and the tcpserver and tried using inetd
> and the rc script directly. This also fails in exactly the same way.
>
> Is there a tool to trace where it's getting lost? I even did a find on
> the system by time to see if the data is just getting written in the
> wrong place. This is strange because it appears to accept the connection
> and says it was successful but nothing gets written to disk.
>
> Any ideas would be appreciated.
>
> Bob Brown
If you are trying to send mail the root account qmail will not let you, it
sends it to a mail folder in the /var/qmail tree. Try sending an e-mail to
another user account. You can setup qmail to deliver root mail to another
user by using the .qmail-root file and putting your e-mail address in it.
If you want to see if the root mail was at least delivered to the alias
mail folder, cd /var/qmail/alias and you should have amongst other files a
Mailbox or Maildir file (depending on which method you are using). You
should be able to view the Mailbox or Maildir with a text editor or with
the more or less pager less filename.ext or more filename.ext .
Take Care,
Dale