permissions for /var/log/qmail

[root@mail qmail]# ll
total 8
drwxrwxr-x    2 qmaill   root         4096 Jun 29 15:44 pop3d/
drwxrwxr-x    2 qmaill   root         4096 Jun 16 15:37 smtpd/
************************************************************************
Permissions for /var/qmail/supervise/qmail-smtpd/

[root@mail qmail-smtpd]# ll
total 12
drwxrwxr-x    2 root     root         4096 Jun 16 15:36 log/
-rwxr-xr-x    1 root     root          317 Jun 16 15:28 run*
drwx------    2 root     root         4096 Jul  1 09:32 supervise/
************************************************************************
Permissions for /var/qmail/supervise/qmail-pop3d/

[root@mail qmail-smtpd]# ll ../qmail-pop3d/
total 12
drwxrwxr-x    3 root     root         4096 Jun 16 18:15 log/
-rwxr-xr-x    1 root     root          219 Jun 16 18:07 run*
drwx------    2 root     root         4096 Jul  1 09:32 supervise/
************************************************************************
Permissions for /var/qmail/supervise

[root@mail qmail-smtpd]# ll ../
total 12
drwxrwxr-t    4 root     root         4096 Jun 16 17:56 qmail-pop3d/
drwxrwxr-x    4 root     root         4096 Jun 16 16:10 qmail-send/
drwxrwxr-x    4 root     root         4096 Jun 16 17:46 qmail-smtpd/
************************************************************************
the file that runs the logging for qmail-smtpd

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
     /var/log/qmail/smtpd
***********************************************************************
The file that runs the logging for the qmail-pop3d

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
     /var/log/qmail/pop3d
***********************************************************************
ps -aux

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  1.4  1064  468 ?        S    Jun30   0:04 init [3
root         2  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kflushd]
root         3  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kupdate]
root         4  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        SW<  Jun30   0:00 [mdrecoveryd]
root       246  0.0  1.1  1048  388 ?        S    Jun30   0:00 /sbin/dhcpcd
eth0
root       293  0.0  1.8  1168  588 ?        S    Jun30   0:00 syslogd -m 0
root       303  0.0  2.4  1448  796 ?        S    Jun30   0:00 klogd -k
/boot/System.map-2.2.17-21mdksecure
root       316  0.0  1.9  1280  628 ?        S    Jun30   0:00 crond
root       329  0.0  1.5  1100  516 ?        S    Jun30   0:00 inetd
root       336  0.0  3.7  2336 1200 ?        S    Jun30   0:01 sshd
xfs        395  0.0  8.9  3964 2904 ?        S    Jun30   0:00
xfs -port -1 -daemon
root       411  0.0  4.8  4548 1564 ?        S    Jun30   0:00
/usr/sbin/cupsd
root       422  0.0  1.2  1032  400 tty1     S    Jun30   0:00
/sbin/mingetty tty1
root       423  0.0  1.2  1032  400 tty2     S    Jun30   0:00
/sbin/mingetty tty2
root       424  0.0  1.2  1032  400 tty3     S    Jun30   0:00
/sbin/mingetty tty3
root       425  0.0  1.2  1032  400 tty4     S    Jun30   0:00
/sbin/mingetty tty4
root       426  0.0  1.2  1032  400 tty5     S    Jun30   0:00
/sbin/mingetty tty5
root       427  0.0  1.2  1032  400 tty6     S    Jun30   0:00
/sbin/mingetty tty6
root       429  0.0  1.0  1064  328 ?        S    Jun30   0:00 svscan
/service
root       432  0.0  0.9  1028  296 ?        S    Jun30   0:00 supervise
qmail-send
root       433  0.0  0.9  1028  296 ?        S    Jun30   0:00 supervise
qmail-smtpd
root       434  0.0  0.9  1028  296 ?        S    Jun30   0:00 supervise
qmail-pop3d
root       435  0.0  0.9  1028  296 ?        S    Jun30   0:00 supervise log
qmails     436  0.0  1.1  1084  372 ?        S    Jun30   0:00 qmail-send
qmaild     437  0.0  1.4  1100  464 ?        S    Jun30   0:00
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 503
root       438  0.0  0.9  1056  312 ?        S    Jun30   0:00
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-pop
qmaill     442  0.0  0.9  1040  292 ?        S    Jun30   0:00
/usr/local/bin/multilog t /var/log/qmail/pop3d
root       446  0.0  0.9  1040  312 ?        S    Jun30   0:00 qmail-lspawn
./Maildir/
qmailr     447  0.0  0.9  1040  304 ?        S    Jun30   0:00 qmail-rspawn
qmailq     448  0.0  0.9  1032  320 ?        S    Jun30   0:00 qmail-clean
root       883  0.0  3.9  3644 1292 ?        S    Jun30   0:00
/usr/local/samba/bin/smbd -D
root       896  0.0  3.9  2892 1284 ?        S    Jun30   0:00
/usr/local/samba/bin/nmbd -D
root       920  0.0  5.9  4020 1936 ?        S    Jun30   0:01
/usr/local/samba/bin/smbd -D
root      7548  0.0  5.5  2996 1800 ?        S    09:40   0:00 sshd
gary      7549  0.0  4.2  2256 1380 pts/0    S    09:40   0:00 -bash
root      7563  0.0  2.8  1920  924 pts/0    S    09:40   0:00 su
root      7564  0.0  4.4  2300 1432 pts/0    S    09:40   0:00 bash
root      7591  0.0  2.5  2468  820 pts/0    R    09:49   0:00 ps -aux
-----Original Message-----
From: pop corn [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Qmail logging problems with Lifewithqmail directions


Yes, please:

1) post the run files
2) show the directory permissions/owners
3) show ps output to see what processes are running
(sometimes people get mutiple smtpd's running, for instance)


>From: "Gary Townsend" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Qmail logging problems with Lifewithqmail directions
>Date: Sat, 30 Jun 2001 10:29:39 -0700
>
>hi there i setup qmail according to the directions on life with qmail and i
>seem to be having an odd difficulty my qmail -send and qmail-smtpd seem to
>be logging to stdout yet my qmailpop is logging to a file. the log files
>are
>both supposed to be outputting to a log file and i am using multilog as per
>the instructions on lifewithqmail any ideas i can post the run files whihc
>implement the logging if that might be helpful.
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to