[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RAQ4i] /var/log/maillog >> maillog.html [Possible OFF TOPIC]



> 
> 
> OFF TOPIC POST (at a guess)
> I, as adminstrator
> tail -f /var/log/maillog

	nohup tail -f /var/maillog > /some/dir/maillog.txt &

Make sure to change perms on /tmp/maillog.txt so the web server can
read it.  Make sure to put an .htaccess on /some/dir so only the
authorized machine(s) and username(s) can read it.  Log rotation
won't work, so make sure check disk usage and tell them how to kill
it when it overgrows.

Need some *nix shell flunkies?

tim


-- 
Sysadmin Rule #14: If it's not on fire, it's a software issue.