or you could create a script to copy the just rotated out logfile (zimbra.log.1[.gz]) to your san storage, then add a line to the "postrotate" stanza of /etc/logrotate.d/zimbra.
Note Remember to redo the new line(s) after each upgrade of zimbra.
zimbralog.sh = something like
Code:
#!/bin/bash
LogDate=$(date +"%Y-%m-%d)"
cp -p /var/log/zimbra.log.1 /dest/zimbra.log.$LogDate
exit
/etc/logrotate.d/zimbra in the /var/log/zimbra.log code add
Code:
/scriptlocation/zimbralog.sh
to the postrotate stanza, just before the "endscript" line.
Additional scripts for each log to copy, or design 1 script to take a filename as input then add as needed to the logrotate directives.