Re: Logrotating with multilog
Martin Hasenbein wrote I'm using qmail with the daemontools and my logs are generated by multilog. I'm running qmail for example like this: #!/bin/sh exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir/ multilog t s100 n100 /usr/local/server/qmail/main Is it possible to make multilog rotate logfiles, lets say every night at 0?? This one is actually for Apache's pipe log mechanism, but should work for qmail also (never used it myself): http://www.ford-mason.co.uk/resources/cronolog/ Ciao -- Bernhard Graf [EMAIL PROTECTED]
Re: ezmlm idx + ezmlm web + setuid
Hi lkirchhoff, i've just installed the ezmlm 0.53 with idx 0.4 and tried to run ezmlm-web.cgi. The problem is that the lists are always created in the /tmp dir. I tried to set up the /var/qmail/alias dir in the ezmlmwebrc, but then i had an error with qmail [homedir is writeable]. This is because the setuid of the cgi- wrapper isn't working correctly, so i had to change the dir mode to 777. Here is the ls output of cgi-bin dir: drwxr-xr-x 2 root root 4096 Aug 1 15:26 ./ drwxr-xr-x 4 root root 4096 Aug 1 15:19 ../ -rwsr-xr-x 1 aliasusers 11411 Jul 31 12:38 ezmlm-startweb.cgi* I thought that this will cause that the script is running under the user alias and the created directories will be owned by him. But all dirs are still created from wwwrun. Is there a special setup needed for apache, that i can execute suid scripts? Why are the dirs still created by wwwrun? 1. mailto:[EMAIL PROTECTED] 2. forget about the cgi-wrapper that comes with ezmlm-web 3. read http://httpd.apache.org/docs/suexec.html 4. read about suexec wrapper in INSTALL file in apache source directory bye -- Bernhard Graf [EMAIL PROTECTED]
Q: Queue-limit (was Re: Discarding mailer_daemon mail....)
Greg Moeller wrote Hmmm, ok, what would a good split be for 7-10 in the queue? BTW... I wonder if there are any limits on how many files can be in the queue besides inodes and disk size? -- Bernhard Graf [EMAIL PROTECTED]
Re: [Q] qmail and supervise
Gerrit Pape wrote Better remove /etc/init.d/svscan and corresponding links and use the inittab entry as recommended by the software author. Why? -- Bernhard Graf [EMAIL PROTECTED]
Re: [Q] qmail and supervise
Gerrit Pape wrote On Sun, Jun 17, 2001 at 03:18:37PM +0200, Bernhard Graf wrote: Gerrit Pape wrote Better remove /etc/init.d/svscan and corresponding links and use the inittab entry as recommended by the software author. Why? svscan should be started at boot time and never stopped until shutdown. That ensures your services are always running with the same (known and wanted) environment and limits. But I don't want to bypass run levels. Would you approve creating a 'down' file in the service directories and running 'svc -u / svc -d' in init.d scripts on each service? -- Bernhard Graf [EMAIL PROTECTED]