On Mon, Nov 20, 2000 at 01:58:13PM +0800, Eric Yu wrote:
> Mate Wierdl wrote:
> 
> > On Fri, Nov 17, 2000 at 06:03:31PM +0800, eric yu wrote:
> > > /service/qmail-send/log/run
> > >
> > > #!/bin/sh
> > > SETUIDGID=/usr/local/bin/setuidgid      # directory for setuidgid
> > > MULTILOG=/usr/local/bin/multilog        # directory for multilog
> > > PROG=smtpd
> > > LOGDIR=/var/log/qmail                  # directory for qmail-send log
> > > LOGUSER=qmaill                          # user to own logs
> > > LOGNUM=10                                # number of log files.
> > > LOGSIZE=5000000                          # maximum file size for log files.
> > >
> > > exec $SETUIDGID $LOGUSER $MULTILOG t n$LOGNUM s$LOGSIZE $LOGDIR
> >
> > So your $LOGDIR is /var/log/qmail, but then

Please read the line above---again.

> >
> > > /service/qmail-smtpd/log/run
> > >
> > > #!/bin/sh
> > > # This is the run file for supervise to execute the qmail-smtpd's log.
> > >
> > > SETUIDGID=/usr/local/bin/setuidgid      # directory for setuidgid
> > > MULTILOG=/usr/local/bin/multilog        # directory for multilog
> > > PROG=smtpd
> > > LOGDIR=/var/log/qmail/$PROG             # directory for qmail-smtpd log
> > > LOGUSER=qmaill                          # user to own logs
> > > LOGNUM=10                               # number of log files
> > > LOGSIZE=5000000                          # maximum file size for log files
> > >
> > > exec $SETUIDGID $LOGUSER $MULTILOG t n$LOGNUM s$LOGSIZE $LOGDIR
> >
> > so the $LOGDIR is a subdir of qmail-send's logdir which is again
> > /var/log/qmail.
> 
> the log directory for qmail-smtpd is /var/log/qmail/smtpd

Yes, but the logdir for qmail-send is /var/log/qmail !!

What are the permissions on /var/log/qmail and /var/log/qmail/smtpd ?

Mate

Reply via email to