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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
