Changing the "From" address for a cron generated e-mail in Red Hat Enterprise Linux

Solution Verified - Updated -

Issue

  • Our security team that wants a parse of some logs sent to them every day from a specific server. Attempting to add a cron job to do that resulted in a problem with the from addresses. We require the from address to be is-unixtech@company.com instead of root@servername.company.com, since the mail team isn't happy when we send mail from an account that doesn't exist in their records. How can we change this?

Environment

  • Red Hat Enterprise Linux
  • vixie-cron

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