Score:0

How to change mail.log save configurations to make gzips for one month?

my flag

I want to change the postfix or system configuration to have all the information of each month saved in mail.log, mail.err, and mail.info.

The system or postfix make new empty files after reaching some kb or maybe it has another form when the gz files are created.

How and where can I change that in system or postfix cfgs?

os is debian + standard postfix/dovecot cfgs.

in flag
log rotation is handled by logrotate.
trash2 avatar
my flag
@GeraldSchneider thx for the word. So i changed the `nano /etc/logrotate.conf` to `monthly` and `rotate 12`. So if i understood that right, now all logfiles (auth,.log, mail.log,etc. ) are chagend to monthly and backuped for 12 months, right?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.