I was using the following mail command in my crontab to which worked flawlessly until we re installed our mail server last Friday:
echo "Testing 123" | mail -s "ECS PostDate Processed" "firstname.lastname@example.org email@example.com" -- -r "firstname.lastname@example.org" -F "ServerCronJobs"
previously the "--" would rout the command line parameters to sendmail to send from a name and add a reply-to address. Now it seems the -- is being ignored and all of the extra parameters are being treated as email addresses. so the email is going to:
from root <email@example.com> to me, chrish, -r, noreply, -F, ServerCronJobs
What is missing now?