Univention Bugzilla – Full Text Bug Listing |
Summary: | add dovecot logs to /etc/logrotate.d/ryslog | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Tröder <troeder> |
Component: | Mail - Dovecot | Assignee: | Daniel Tröder <troeder> |
Status: | CLOSED FIXED | QA Contact: | Sönke Schwardt-Krummrich <schwardt> |
Severity: | normal | ||
Priority: | P5 | CC: | mail-maintainers, schwardt, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=38478 | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 34839 |
Description
Daniel Tröder
2015-05-12 23:18:21 CEST
Surround with: if baseConfig.get("mail/dovecot/logging/log_path", "") == "syslog": Commit: 60702 Adds dovelog log files to logrotation if mail/dovecot/logging/log_path is unset or "syslog" (the default). (In reply to Daniel Tröder from comment #0) > Dovecot logs through (r)syslog. Please add it's files to the rotation config > for rsyslog. > > --- /etc/logrotate.d/rsyslog 2015-05-12 23:17:48.441363179 +0200 > +++ /etc/logrotate.d/rsyslog.dovecot 2015-05-12 23:17:41.893363081 +0200 > +/var/log/dovecot.err > +/var/log/dovecot.lmtp > +/var/log/dovecot.warn > +/var/log/dovecot.info > +/var/log/dovecot.log Just create a new file in /etc/logrotate.d/ instead of modifying an existing file! You are right. Changed in 60704 (+60706). Commit 61725 fixes a bug, where regular files would not be rotated, if they didn't exist at template install time. OK (see also Bug #38478) |