error: skipping "/var/mail/kathirvel" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
For example: if you are going to configure the logrotate to /var/mail/kathirvel file, it will have the permissions like owner=kathirvel, group=mail. We should mention 'su username groupname' to non-root user's file. The configuration will be like below
/var/mail/kathirvel
{
rotate 3
su kathirvel mail
maxsize 1M
missingok
notifempty
compress
delaycompress
sharedscripts
}