Univention Bugzilla – Full Text Bug Listing |
Summary: | Separate Cyrus logs from Postfix logs | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Tröder <troeder> |
Component: | Assignee: | Mail maintainers <mail-maintainers> | |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | birkefeld, gohmann, grandjean, schwardt |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-x | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=38478 | ||
What kind of report is it?: | Feature Request | 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?: | Yes | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Daniel Tröder
2015-04-23 09:55:04 CEST
Creating a file /etc/rsyslog.d/cyrus.conf with the following content diverts all Cyrus output into /var/log/cyrus.log: :programname,isequal,"cyrus" /var/log/cyrus.log :programname,isequal,"cyrus" ~ (In reply to Daniel Tröder from comment #1) > Creating a file /etc/rsyslog.d/cyrus.conf with the following content diverts > all Cyrus output into /var/log/cyrus.log: > > :programname,isequal,"cyrus" /var/log/cyrus.log > :programname,isequal,"cyrus" ~ I added a few more program names, because of existed log entries in mail.log from cyrus processes. My /etc/rsyslog.d/cyrus.conf: :programname,isequal,"cyrus" /var/log/cyrus.log :programname,isequal,"master" /var/log/cyrus.log :programname,isequal,"ctl_cyrusdb" /var/log/cyrus.log :programname,isequal,"imaps" /var/log/cyrus.log :programname,isequal,"imap" /var/log/cyrus.log :programname,isequal,"cyrus" ~ :programname,isequal,"master" ~ :programname,isequal,"ctl_cyrusdb" ~ :programname,isequal,"imaps" ~ :programname,isequal,"imap" ~ I also added a config for logrotate of this new logfile. Creating a file /etc/logrotate.d/cyrus with the following content: /var/log/cyrus.log { weekly rotate 12 create 640 root adm compress missingok notifempty delaycompress sharedscripts postrotate invoke-rc.d cyrus-imapd reload > /dev/null endscript } There is a Customer ID set so I set the flag "Enterprise Customer affected". This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you. |