Let me be clear what I am trying to say
:
I am using Red Hat ver 6.1 and am trying to setup
my mail server with qmail.
I installed
1.
qmail-1.03.tar.gz
2. ucspi-tcp-o.84
3. daemontool0.53
I am using Dave Sill's "Life with Qmail" as my
reference to do the installation.
4. I installed first qmail-1.03 with the
installation instructions given --- while doing ./congif I encountered and error
finding the domain, so I went to linuxconf and set my domain name, then did a
./config-fast FQDN - and the installation went on successful.
5. Secondly - I installed ucspi-tcp and it went on
successfully
6. Thirdly - I installed daemontools-0.53
Note: All these three files are residing in
/usr/local/src/qmail
7.Then I created the rc file accordingly under
/var/qmail/
and created the ./Maildir/ format and set it up in
the defaultdelivery file
8. Then I went about writing the sript file (qmail)
since the one I downloaded from the site did not work many times during boot up
and infact even now I need to manually start it. by /usr/local/bin/qmail
start.
9. But now after writing the script on my own from
"LWQ" i was atleast able to start the file using the /usr/local/bin/qmail start
command.
10.The only thing I never did before this is after
killing sendmail I did not link the
ln -s
/var/qmail/bin/sendmail /usr/lib
ln -s
/var/qmail/bin/sendmail /usr/sbin
but apart from the above 2 steps the prior 3
steps shown below I completed it
mv /usr/lib/sendmail
/usr/lib/sendmail.old
mv /usr/sbin/sendmail
/usr/sbin/sendmail.old
chmod 0 /usr/lib/sendmail.old
/usr/sbin/sendmail.old
11. Then I did an echo to .qmail-root,
.qmail-postmaster and so on... so forth
12. Later I found it was difficult for me to
understand adding the users through qmail so I installed VPOPMail, checkpassword
and ezmlm, autorespond
13. I created the users in the user directory
/home/vpopmail/users/
14. I tried to echo To: john@mydomainname |
/var/qmail/bin/qmail-inject but I don't seem to have received any mails
into it.
15. So i tried adding the tcpserver in the
qmail script so to start the tcpserver and also pop3d.
16 I linked the pop3d
file.
17 My tcpserver and pop3d seems to be
started and working but I don't seem to receive incoming
mails
18 I tried to do a ps -ax to check the
processes running and this is what I get below
PID TTY
STAT TIME COMMAND
1 ? S 0:04 init [3] 2 ? SW 0:00 [kflushd] 3 ? SW 0:00 [kupdate] 4 ? SW 0:00 [kpiod] 5 ? SW 0:00 [kswapd] 6 ? SW< 0:00 [mdrecoveryd] 274 ? S 0:00 portmap 329 ? S 0:00 syslogd -m 0 340 ? S 0:00 klogd 356 ? S 0:00 /usr/sbin/atd 372 ? S 0:00 crond 392 ? S 0:00 inetd 408 ? S 0:00 lpd 430 ? S 0:00 gpm -t ps/2 446 ? S 0:00 httpd 450 ? S 0:00 httpd 451 ? S 0:00 httpd 452 ? S 0:00 httpd 453 ? S 0:00 httpd 454 ? S 0:00 httpd 455 ? S 0:00 httpd 454
? S 0:00
httpd
455 ? S 0:00 httpd 456 ? S 0:00 httpd 457 ? S 0:00 httpd 458 ? S 0:00 httpd 459 ? S 0:00 httpd 473 ? S 0:00 xfs -droppriv -daemon -port -1 511 tty1 S 0:00 login -- root 512 tty2 S 0:00 /sbin/mingetty tty2 513 tty3 S 0:00 /sbin/mingetty tty3 514 tty4 S 0:00 /sbin/mingetty tty4 515 tty5 S 0:00 /sbin/mingetty tty5 516 tty6 S 0:00 /sbin/mingetty tty6 519 tty1 S 0:00 -bash 565 tty1 S 0:00 supervise /var/supervise/qmail/send /var/qmail/rc 566 tty1 S 0:00 cyclog /var/log/qmail 567 tty1 S 0:00 supervise /var/supervise/qmail/smtpd tcpserver -v -x/ 568 tty1 S 0:00 accustamp 569 tty1 S 0:00 cyclog /var/log/qmail/smtpd 570 tty1 S 0:00 tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup ma 571 tty1 S 0:00 /var/qmail/bin/splogger pop3d 572 tty1 S 0:00 tcpserver -v -x/etc/tcp.smtp.cdb -u504 -g503 0 smtp / 573 tty1 S 0:00 qmail-send 576 tty1 S 0:00 accustamp 577 tty1
S 0:00 qmail-lspawn ./Maildir/
578 tty1 S 0:00 qmail-rspawn 579 tty1 S 0:00 qmail-clean 747 ? R 0:00 in.telnetd 748 pts/0 S 0:00 login -- john 749 pts/0 S 0:00 -bash 762 pts/0 S 0:00 su 763 pts/0 S 0:00 bash 766 ? S 0:00 in.identd -e -o 767 ? S 0:00 in.identd -e -o 768 ? S 0:00 in.identd -e -o 769 ? S 0:00 in.identd -e -o 770 ? S 0:00 in.identd -e -o 771 ? S 0:00 in.identd -e -o 772 ? S 0:00 in.identd -e -o 773 ? S 0:00 in.identd -e -o 774 ? S 0:00 in.identd -e -o 775 ? S 0:00 in.identd -e -o 776 ? S 0:00 in.identd -e -o 785 tty1 S 0:00 /var/qmail/bin/qmail-popup mail.dnet.com.sg /bin/chec 787 pts/0 R 0:00 ps -ax Could anyone help me out. I am a newbie and want to set it up and am
wondering what could go wrong
Its very urgent as I need to get the server up by tomorrow the
latest.
Thanks for your help in advance.
John Francis |