/var/log/SOGo/*.log {
    compress
    dateext
    maxage 365
    rotate 99
    size=+4096k
    delaycompress
    notifempty
    missingok
    create 640 sogo sogo
    sharedscripts
    postrotate
    systemctl restart sogo
    endscript
}
