I searched the archives and am wondering if the best solution is to
start over.
I am still learning Linux / Unix stuff - and probably dangerours. I
have the server running (RH7.0, Apache, perl, php, Mysql, etc.), DNS
works, sendmail worked before I shut it down and removed it from
inet.d. I can read mail that was in the system before I started this
process of installing qmail by typing 'mail' at the command prompt. I
am trying to set up a virtual POP3 server with mail delivered to the
~user/mail directory in the .mail format. I thought qmail to be a
blessing straight from heaven, but evidentally it is still hovering in
the heavenlies and way above my head (althought I think sendmail is
above it's author head - hehe).
I was following the cr.yp.to guides to installing things but I must have
done somethings wrong - surprise, surprise. Except for the mistake of
installing daemontools in /tmp/packages/... as opposed to what I finally
determined was supposed to go in ? /package/... . I think I did it
right. I was su as root, I made all the users, groups, links, etc. the
links all seem to work and ps waux | grep qmail > waux.txt - gives me
this:
root 5649 0.0 0.0 1292 344 ? S 02:52 0:00 supervise
qmail-send
root 5651 0.0 0.0 1292 344 ? S 02:52 0:00 supervise
qmail-smtpd
qmails 5653 0.0 0.0 1348 408 ? S 02:52 0:00
qmail-send
qmaild 5655 0.0 0.1 1364 520 ? S 02:52 0:00
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 779
root 5658 0.0 0.0 1304 356 ? S 02:52 0:00
qmail-lspawn ./Mailbox
qmailr 5659 0.0 0.0 1304 356 ? S 02:52 0:00
qmail-rspawn
qmailq 5660 0.0 0.0 1296 364 ? S 02:52 0:00
qmail-clean
root 14012 0.0 0.1 1520 596 pts/0 S 13:05 0:00 grep
qmail
As you can see it looks as if I got something running at 3:00 this
morning. But I cannot get qmailctl to do anything - I get the typical
permissions problem - permission denied... (same for the other files I
tried in /var/qmail/bin).
I can no longer send mail locally either - I don't get any complaints
when I try but it doesn't show up anywhere that I can find it.
After much reading and much hacking of permissions (probably a mistake).
I can't even get qmailctl to do anything even if I am in it's directory
su to root or su to qmail.
Should I start from scratch? If so, should I just go through the
process with or without removing the files I installed - I am not
familiar with the way things should be done when things go wrong in the
Unix world.
Just to confirm that things are wrong I just did (while in
/var/qmail/bin):
chmod 1755 qmailctl
qmailctl
and got:
no such file or directory.
I am su to root, and put a line in the beginning or qmailctl: echo
'test' I don't see that line showing up.
Thank you!