OK I am really stuck!
Yes I have read lifewithqmail over and over and over. I have read through
the docs and FAQs, to make sure I did everything right.
I read TEST.deliver no problems here qmail send fine.
However I can't seem to receive anything. And no errors seem to be sent to
the syslog/maillog file (except for one about the home dir being writable
which I already know). Where are the log files defined? How can I fix this?
I also have installed checkpasswd and that seems to work OK with that. I
also set up the Maildir (with 3 sub dirs). When mail is sent to the e-mail
address no errors are returned to the person sending the e-mail, and the
e-mail is never received on our server? Here is some information:
[root@videomoviehouse control]# ps waux|grep qmail
root 2422 0.0 0.5 1088 324 ? S 13:51 0:00 supervise
qmail-send
root 2424 0.0 0.5 1088 324 ? S 13:51 0:00 supervise
qmail-smtpd
qmaill 2427 0.0 0.5 1100 324 ? S 13:51 0:00
/usr/local/bin/multilog t /var/log/qmail
qmaill 2432 0.0 0.4 1100 320 ? S 13:51 0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmails 8122 0.0 0.6 1140 396 ? S 14:45 0:00 qmail-send
qmaild 8124 0.0 0.7 1152 472 ? S 14:45 0:00
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 20 -u 505 -g 5
qmaill 8129 0.0 0.6 1112 424 ? S 14:45 0:00 splogger
qmail
root 8130 0.0 0.5 1100 348 ? S 14:45 0:00 qmail-lspawn
./Mailbox
qmailr 8131 0.0 0.5 1100 340 ? S 14:45 0:00 qmail-rspawn
qmailq 8132 0.0 0.5 1092 348 ? S 14:45 0:00 qmail-clean
root 8525 0.0 0.8 1364 524 pts/4 S 14:49 0:00 grep qmail
[root@mydomain control]#
Information for: /var/qmail/rc
Tried:
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
./Maildir/'
Also Tried
#!/bin/sh
# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by
default
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"
Information for: /var/qmail/control/defaultdelivery
./Maildir/
Also tried:
/home/username/Maildir
And
/home/username/Maildir/
Also ran:
chmod 755 /var/qmail/rc
mkdir /var/log/qmail
The home dir including the Maildir (with the three dirs inside - cur, new,
tmp) has permissions set correctly, I even tried 777 with chmod which I know
is not a good idea :-)
Information for: .qmail
My .qmail file is located in the user dir, also tried moving it to the
Maildir.
./Maildir/
also tried
/home/username/Maildir/
In inetd.conf the following was added (on one line):
pop-3 stream tcp nowait root /var/qmail/bin/qmail-popup
qmail-popup
videomoviehouse.com /bin/checkpassword /var/qmail/bin/qmail-pop3
Maildir
Killed inetd with HUP (kill all -HUP inetd)
./config couldn't find my hostname so I used: ./config-fast
hostname.mydomain.com
(of course hostname and mydomain being the real thing).
Installed daemontools using:
make
make setup check
Installed ucspi-tcp using:
make
make setup check
Created qmail startup files using the script in lifewithqmail
Qmail starts fine with no errors.
Here is what the last entries are in my maillog:
Apr 4 14:30:01 www qmail: 986409001.630812 new msg 40230
Apr 4 14:30:01 www qmail: 986409001.682478 info msg 40230: bytes 230 from
<[EMAIL PROTECTED]> qp 6416 uid 0
Apr 4 14:30:01 www qmail: 986409001.684883 starting delivery 2: msg 40230
to remote [EMAIL PROTECTED]
Apr 4 14:30:01 www qmail: 986409001.684921 status: local 0/10 remote 1/20
Apr 4 14:30:02 www qmail: 986409002.433544 delivery 2: success:
131.193.178.181_accepted_message./Remote_host_said:_250_ok_986419718_qp_4718
/
Apr 4 14:30:02 www qmail: 986409002.433643 status: local 0/10 remote 0/20
Apr 4 14:30:02 www qmail: 986409002.433836 end msg 40230
Apr 4 14:30:23 www qmail: 986409023.708195 new msg 40230
Apr 4 14:30:23 www qmail: 986409023.708284 info msg 40230: bytes 244 from
<[EMAIL PROTECTED]> qp 6461 uid 0
Apr 4 14:30:23 www qmail: 986409023.711062 starting delivery 3: msg 40230
to remote [EMAIL PROTECTED]
Apr 4 14:30:23 www qmail: 986409023.711095 status: local 0/10 remote 1/20
Apr 4 14:30:24 www qmail: 986409024.047438 delivery 3: success:
131.193.178.181_accepted_message./Remote_host_said:_250_ok_986419740_qp_8927
/
Apr 4 14:30:24 www qmail: 986409024.047548 status: local 0/10 remote 0/20
Apr 4 14:30:24 www qmail: 986409024.047588 end msg 40230
Apr 4 14:38:09 www qmail: 986409489.043261 starting delivery 4: msg 40229
to local [EMAIL PROTECTED]
Apr 4 14:38:09 www qmail: 986409489.043435 status: local 1/10 remote 0/20
Apr 4 14:38:09 www qmail: 986409489.081476 delivery 4: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 14:38:09 www qmail: 986409489.081554 status: local 0/10 remote 0/20
Apr 4 14:39:11 www qmail: 986409551.744163 status: exiting
Apr 4 14:39:11 www qmail: 986409551.817359 status: local 0/10 remote 0/20
Apr 4 14:39:28 www qmail: 986409568.895138 status: exiting
Apr 4 14:39:28 www qmail: 986409568.917294 status: local 0/10 remote 0/20
Apr 4 14:42:05 www qmail: 986409725.913248 starting delivery 1: msg 40228
to local [EMAIL PROTECTED]
Apr 4 14:42:05 www qmail: 986409725.913359 status: local 1/10 remote 0/20
Apr 4 14:42:05 www qmail: 986409725.916740 delivery 1: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 14:42:05 www qmail: 986409725.916829 status: local 0/10 remote 0/20
Apr 4 14:43:21 www qmail: 986409801.913243 starting delivery 2: msg 40227
to local [EMAIL PROTECTED]
Apr 4 14:43:21 www qmail: 986409801.913408 status: local 1/10 remote 0/20
Apr 4 14:43:21 www qmail: 986409801.916680 delivery 2: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 14:43:21 www qmail: 986409801.916762 status: local 0/10 remote 0/20
Apr 4 14:45:22 www qmail: 986409922.571177 status: exiting
Apr 4 14:45:22 www qmail: 986409922.591515 status: local 0/10 remote 0/20
Apr 4 14:49:19 www qmail: 986410159.583250 starting delivery 1: msg 40222
to local [EMAIL PROTECTED]
Apr 4 14:49:19 www qmail: 986410159.583360 status: local 1/10 remote 0/20
Apr 4 14:49:19 www qmail: 986410159.586476 delivery 1: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 14:49:19 www qmail: 986410159.586517 status: local 0/10 remote 0/20
Apr 4 14:49:49 www qmail: 986410189.583202 starting delivery 2: msg 40229
to local [EMAIL PROTECTED]
Apr 4 14:49:49 www qmail: 986410189.583371 status: local 1/10 remote 0/20
Apr 4 14:49:49 www qmail: 986410189.586688 delivery 2: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 14:49:49 www qmail: 986410189.586763 status: local 0/10 remote 0/20
Apr 4 14:50:33 www qmail: 986410233.583231 starting delivery 3: msg 40218
to local [EMAIL PROTECTED]
Apr 4 14:50:33 www qmail: 986410233.583418 status: local 1/10 remote 0/20
Apr 4 14:50:33 www qmail: 986410233.586687 delivery 3: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 14:50:33 www qmail: 986410233.586765 status: local 0/10 remote 0/20
Apr 4 15:00:17 www qmail: 986410817.599233 starting delivery 4: msg 40220
to local [EMAIL PROTECTED]
Apr 4 15:00:17 www qmail: 986410817.599427 status: local 1/10 remote 0/20
Apr 4 15:00:17 www qmail: 986410817.602638 delivery 4: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 15:00:17 www qmail: 986410817.602715 status: local 0/10 remote 0/20
Apr 4 15:00:25 www qmail: 986410825.593215 starting delivery 5: msg 40228
to local [EMAIL PROTECTED]
Apr 4 15:00:25 www qmail: 986410825.593406 status: local 1/10 remote 0/20
Apr 4 15:00:25 www qmail: 986410825.596626 delivery 5: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Apr 4 15:00:25 www qmail: 986410825.596710 status: local 0/10 remote 0/20
I know the home directory is writable I made it that way for testing, I also
had it non writable which I know it should be (not 777).
Last few entries in syslog, doesn't seem anything about an error with qmail:
Apr 4 14:42:41 www inetd[10935]: pid 7817: exit status 1
Apr 4 14:45:27 www inetd[10935]: pid 8143: exit status 1
Apr 4 14:47:48 www inetd[10935]: pid 8370: exit status 1
Apr 4 14:52:54 www inetd[10935]: pid 8875: exit status 1
Apr 4 14:58:13 www inetd[10935]: pid 9389: exit status 1
Apr 4 15:03:27 www inetd[10935]: pid 9916: exit status 1
ANY ideas?