Why is logrotate script not sending emails?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content