Why is logrotate script not sending emails?
Issue
- Lgrotate is not sending emails when "mail" parameter is used inside a logrotate script e.g.:
/var/log/testlog {
rotate 5
create 0644 root root
mail recipient@example.com
compress
delaycompress
}
Environment
- Red Hat Enterprise Linux 5.6
- logrotate-3.7.4-9.el5_5.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.