[plug] Running Qmail

Subba Rao subb3 at ibm.net
Sun Sep 19 06:09:47 WST 1999


Each time I make progress, I seem to be hitting a new road block.

The following are the contents of my /var/qmail directory

total 12
drwxr-xr-x  10 root     qmail        1024 Sep 18 17:20 ./
drwxr-xr-x  20 root     root         1024 Aug 28 17:52 ../
drwxr-sr-x   2 alias    qmail        1024 Aug 29 07:03 alias/
drwxr-xr-x   2 root     qmail        1024 Aug 28 17:59 bin/
drwxr-xr-x   2 root     qmail        1024 Aug 28 17:59 boot/
drwxr-xr-x   2 root     qmail        1024 Aug 28 18:00 control/
drwxr-xr-x   2 root     qmail        1024 Aug 28 17:59 doc/
-rw-r--r--   1 root     root            0 Sep 18 17:20 list.txt
drwxr-xr-x  10 root     qmail        1024 Aug 28 17:59 man/
-rwx------   1 qmaild   qmail         223 Sep 18 17:02 qt*
drwxr-x---  11 qmailq   qmail        1024 Aug 28 17:59 queue/
-rwxr-xr-x   1 root     root          204 Aug 30 11:21 rc*
drwxr-xr-x   2 root     qmail        1024 Aug 28 17:59 users/




Contents of rc file
===================
#!/bin/sh
# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail



Contents of qt file
===================
supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u71 -g1001 0 25 \
      rblsmtpd qmail-smtpd 2>&1 | setuidgid qmaill multilog | \
      setuidgid qmaill multilog -s5000000 -n5 /var/log/qmail/qmail-smtpd &


After switching to user qmaild, I ran the "qt" script. After a little while tinkering with other system,
I executed "qt" again and got the message 

"/usr/local/bin/setuidgid: Permission denied"

Do I need to restart the system?

I have also issued the command "telnet localhost 25" and got the following response.
Trying 127.0.0.1
telnet: Unabel to connect to remote host: Connection refused.

I have followed line by line through the spageti documentation (more like basic programing).

Please let me know where or what I am doing wrong!!

Thank you in advance.

Subba Rao
subb3 at ibm.net
==============================================================
Disclaimer - I question and speak for myself.

http://pws.prserv.net/truemax/
______________________________________________________________







More information about the plug mailing list