Article 4PWNG Moved to RHEL7 mail -s Broke in Crontab

Moved to RHEL7 mail -s Broke in Crontab

by
rsvp
from LinuxQuestions.org on (#4PWNG)
I moved my server from RHEL5 to RHEL 7 and it went smoothly, but my mail username -s command in crontab is failing to allow a subject, instead it is sending the email to username@host, -s@host, subject@host.

Command is:

Code:00 9 * * * root mail USERNAME -s "TheSubject" < /home/somefile.txtThankslatest?d=yIl2AUoC8zA latest?i=8IDdKdVyAPg:7b-pq_8S6gU:F7zBnMy latest?i=8IDdKdVyAPg:7b-pq_8S6gU:V_sGLiP latest?d=qj6IDK7rITs latest?i=8IDdKdVyAPg:7b-pq_8S6gU:gIN9vFw8IDdKdVyAPg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments