* Joe Acquisto-j4
[01-19-22 18:37]: Looking for a means to setup logrotate for fetchmail on exisitng system. open suse 15.2 using logrotate with fetchmail
Thanks.
I crafted /etc/logrotate.d/fetchmail using the provided examples:
/var/log/fetchmail { compress dateext maxage 365 rotate 99 size=+1024k notifempty missingok copytruncate create 0600 fetchmail root }
works for me
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc What sort of day was it? A day like all days, filled with those events that alter and illuminate our times...
How to respond to suse lists seems a bit problematic. In any case, how does one actually run logrotate? Does There seems to be a logrotate.service but "systemctl status logrotate.service" shows it is dead. "systemctl start logrotate.service" shows success, but "systemctl status logrotate.service" shows it dead since the time running it.. It says "vendor preset: disabled" I see no change to the logs. But that may be due to not meeting criterion. I presume it is OK to change the two instances of fetchmail in the example to fetchmail.log, to match my system? joe a.