To Dave and Robbie,
Hi all,
I am Jacob again with some more errors.
Sorry to have started all that in HOWTO
so this is a new subject.
I was running Redhat 4.2 and just changed RH6.0
I am suggested to change to qmail as it is easier to confiure my machine
to accept mail for 4-6 smaller subdomains.
these subdomains will pickup mail twice a day during cheaptime
using a serial dialup connections.
Everything is a fresh setup on a test machine
and I would use Maildir format.
The users will dial in to the subdomains using Win95
to collect mail (presumably pop3)
I am initially concerned with the setup of the main domain.
I have followed the Howto and the lwq quite closely,
but get an error when I come to the below command.
/usr/local/sbin/qmail cdb
which is at the end of section 2.8.2 of lwq
Perhaps I have missed something.
Suggestions are very welcome.
Apart from following the howto and the lwq
I also inserted this line in /etc/rc.d/rc.local
/usr/local/bin/tcpserver -u 501 -g 500 0 smtp /car/qmail/bin/qmail-smtpd &
and the server is up running shown by a "ps -ax"
as suggested by the faq 5.1 and Robbie Walker <[EMAIL PROTECTED]>
(thanks Robbie)
>You should comment out the smtp line in /etc/inetd.conf if you are going to
>use tcpserver, which is recommended.
This has also been done.
Below are some of the commands I executed.
[root@dhamma /etc]# /usr/local/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp <
/etc/tcp.smtp
[root@dhamma /etc]# ls -al tc*
-rw-r--r-- 1 root root 26 Jul 1 16:38 tcp.smtp
-rw-r--r-- 1 root root 2090 Jul 2 10:10 tcp.smtp.cdb
[root@dhamma /etc]# /usr/local/sbin/qmail cdb
bash: /usr/local/sbin/qmail: No such file or directory
( which is the file refered to.)
[root@dhamma sbin]# ls -al
total 2
drwxr-xr-x 2 root root 1024 Jul 1 16:36 .
drwxr-sr-x 11 root root 1024 Jun 27 04:17 ..
lrwxrwxrwx 1 root root 22 Jul 1 16:36 qmail -> /etc/rc.d/init.d/qmail
[root@dhamma init.d]# pwd
/etc/rc.d/init.d
[root@dhamma init.d]# ./qmail cdb
bash: ./qmail: No such file or directory
[root@dhamma init.d]# ls q* -l
-rwxr-xr-x 1 root root 2902 Jul 1 12:42 qmail
[root@dhamma init.d]#
There is no sign that the script /etc/rc.d/init.d/qmail is running
as one of the commands in it is
echo -n "Starting qmail: qmail-send"
but no message like that is echoed.
The script was downloaded so few errors are expected
I also tried to follow
8. Enable Local deliveries.
--------------------------
in the HOWTO.
------------
[root@dhamma qmail]# less rc
#!/bin/sh
#Using stdout for logging
#Using control/default delivery from qmail-local to deliver messages by default
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`" accustamp
csh -cf '/var/qmail/rc &'
and sent a mail to a local user
using mutt.( that should be ok)
it comes with error
Error sending message, child exited 127 ().
[root@dhamma init.d]# cd /var/qmail
Please also let me know
if the owner/group of the rc file should be changed.
path /var/qmail/
[root@dhamma qmail]# ls -al
total 23
drwxr-xr-x 12 root qmail 1024 Jul 1 16:00 .
drwxr-xr-x 23 root root 1024 Jul 1 16:30 ..
-rw-r--r-- 1 qmails qmail 1422 Jun 26 23:56 .Xdefaults
-rw-r--r-- 1 qmails qmail 24 Jun 26 23:56 .bash_logout
-rw-r--r-- 1 qmails qmail 230 Jun 26 23:56 .bash_profile
-rw-r--r-- 1 qmails qmail 124 Jun 26 23:56 .bashrc
drwxr-xr-x 3 qmails qmail 1024 Jun 26 23:54 .kde
-rw-r--r-- 1 qmails qmail 966 Jun 26 23:56 .kderc
-rw-rw-r-- 1 qmails qmail 3505 Jun 26 23:56 .screenrc
drwxr-xr-x 5 qmails qmail 1024 Jun 26 23:54 Desktop
drwxr-sr-x 4 alias qmail 1024 Jun 27 13:00 alias
drwxr-xr-x 2 root qmail 1024 Jul 1 16:26 bin
drwxr-xr-x 2 root qmail 1024 Jun 27 12:41 boot
drwxr-xr-x 2 root qmail 1024 Jul 1 15:53 control
drwxr-xr-x 2 root qmail 1024 Jun 27 12:41 doc
drwxr-xr-x 10 root qmail 1024 Jun 27 12:41 man
drwxr-x--- 11 qmailq qmail 1024 Jun 27 12:41 queue
-rwxr-xr-x 1 root root 223 Jul 1 15:57 rc
drwxr-xr-x 2 root qmail 1024 Jun 27 12:41 users
[root@dhamma qmail]#
thanks for the help
Jacob (Mettavihari)