[Dirvish] Suggestion: logrotate your mail log daily using dateext
keithl at ece.pdx.edu
Wed Dec 28 11:55:07 EST 2005
Dirvish Suggestion: If you are getting a lot of spam, your mail log
may be getting very large from all the reject messages. You should
rotate your mail logs using the SUSE-style "dateext" extension,
and do it every evening.
I get about 50,000 lines of messages in my maillog every day,
almost entirely spam attempts. Even with all sorts of filtering,
just keeping track of the *spam attempts" adds at least one line.
The mail log files were running about 105 megabytes a week, and
since the files differed every day, dirvish and rsync were creating
a new (and large) backup of the file every evening, like so:
315 MB/week new mail files backed up
(+1260 MB/week for 4 way logrotate with numerical extensions)
By using a daily backup, and dateext, I am backing up only 15 new
MB per day, 105MB per week. And yes, I do back up the mail logs,
it is critical to find missing bits of email, and keeping track
of system history.
BTW, other spam filtering has cut the 15MB in half, so my backups
should last even longer.
P.S. This is partly a test message, I am doing some changes to my
mail server and need to test it. My apologies if you see this
multiple times. Fourth attempt!
Keith Lofstrom at PSU keithl at ieee.org Voice (503)-520-1993
More information about the Dirvish