From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 Description of problem: The man page implies that compressed logfiles will be mailed uncompressed. This is not the case; if you turn on compression, then logrotate will not decompress the log before mailing. This makes parsing the log file at your automated log-collector darn tricky. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Set mail and compress directives in logrotate config file 2.Run logrotate Actual Results: The file will be sent in compressed form (if sendmail doesn't gag). Expected Results: The file should be decompressed before being sent. Additional info: Excerpt from the man page: They are rotated whenever is grows over 100k is size, and the old logs files are mailed (uncompressed) to www after going through 5 rota- tions, rather then being removed. Ideally, the feature should be implemented as described. Failing that, we should at least fix the man page to reflect reality.
From reading the logwatch code, it appears that it only uncompresses mailed logs if you use the 'mailfirst' keyword. I'm going to assume that there are good reasons for this, and leave it as-is.