Here's one I haven't tried yet, and alas, google returns way too much
unrelated stuff to help.
Would like to take a logrotate.d/procmail.log file of:
/home/mmarion/Mail/procmail.log {
compress
weekly
dateext
maxage 999
rotate 200
missingok
olddir archive
notifempty
size +20480k
create 640 mmarion sysadmin
sharedscripts
}
and do every user in one config.. I know * will work in the file (i.e.
/home/*/Mail/procmail.log) but I need the "create" line to basically do:
create 640 $user users
matching whatever * matched in the file declaration line. Don't see
anything obvious in man page that relates to this.. if it can even be
done. Also, the olddir directive of 'archive' should expand
relatively to /home/$user/Mail/archive per user as well.
--
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.miguelito.org
Marge: "Homer, sitting that close to the TV can't be good for you."
Homer: "Talking while the TV's on can't be good for you!"
==> Simpsons
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list