Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Re: how to limit maillog size



 On Wed, 30 Apr 2008, Dave Peters wrote: 

> All, 
> 
> How can I limit maillog size so it can generate new 
> one when it reaches the limited? 
> 
> Thanks. 
> 
> --Dave 

In logrotate.d, you can specify the file size to rotate at with 
something like: size +4096k 

Of course, the configuration is only read when logrotate runs.  One some 
systems that may be daily, so if you want it to rotate faster you'd need 
to move the logrotate cron from /etc/cron.daily to /etc/cron.hourly. 



-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org