Re: log files
Wolfgang Pichler ([EMAIL PROTECTED]) wrote: > > hi > the qmail-send/run only executes the /var/qmail/rc script (so its nearly the > same). And at the first time I havn't had the multilog command in > /var/qmail/run, i've then added it because the log doesn't worked for me. > And it still doesn't work. > Hi Wolfgang, try this: #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ multilog t s100 n100 /usr/local/server/qmail/main Put this in yout /var/qmail/rc s defines how big the logfile can get n defines how many logfiles aregenerated The rest is the path where your logfiles are stored. /martin
Re: log files
Wolfgang Pichler <[EMAIL PROTECTED]> wrote: > > I have a running qmail box, with (at this time) only 1 problem: The > qmail-send program write its logs to tty1 and not in the log files. [...] > my qmail-send rc looks like: > ---cut--- > #!/bin/sh > > exec env - PATH="/var/qmail/bin:$PATH" qmail-start "Maildir" > /usr/local/bin/multilog /var/log/qmail/qmail-send > ---cut--- > > my qmail-send/log/run file: > > ---cut--- > #!/bin/sh > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t > /var/log/qmail/qmail-send Your qmail-send "rc"? Do you mean /service/qmail-send/run or /var/qmail/rc? In any case, you can't have multilog in that script plus a log/run script and still make sense. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ ---