As per subject, I'm looking to archive/retain some users mail, as I currently do, albeit manually.
I was thinking of adding something like this to my logroate.conf file, is this the done thing or is there perhaps another way of doing it.
Code:
/var/spool/mail/user {
monthly
rotate 12
create
missingok
postrotate
/etc/rc.d/rc.sendmail restart
endscript
}