Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 677
    • Issues 677
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 212
    • Merge Requests 212
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #360

Closed
Open
Opened Jun 10, 2010 by Duane Hughes@dhughes

Dovecot log files are not rotated

Dovecot needs a /etc/logrotate.d/dovecot file to rotate the logs, which is currently missing, causing the dovecot log files to grow rather large.
This may work for contents of dovecot logrotate file:

/var/log/dovecot*.log {
        daily
        missingok
        copytruncate
        rotate 7
        compress
        notifempty
        sharedscripts
        postrotate
           if [ -f /var/run/dovecot/master.pid ]; then \
                /etc/init.d/dovecot reload > /dev/null 2>&1 || true ; \
           fi;
        endscript
}

I’m testing the above to see if it works. Better ideas also accepted. :)

(from redmine: issue id 360, created on 2010-06-10, closed on 2010-06-16)

  • Relations:
    • blocks #359 (closed)
  • Changesets:
    • Revision 21efade3 on 2010-06-11T09:50:38Z:
main/dovecot: set localstatedir

ref #359
ref #360

also create a default config that works out of the box.
  • Revision 7380979a on 2010-06-11T15:17:06Z:
main/dovecot: use logfile in default config and provide logrotate

fixes #360
  • Revision 30389111 on 2010-06-16T11:48:08Z:
main/dovecot: use logfile in default config and provide logrotate

fixes #360
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Alpine 1.10.6
Milestone
Alpine 1.10.6 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#360