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" "email@example.com firstname.lastname@example.org" -- -r "email@example.com" -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 <firstname.lastname@example.org> to me, chrish, -r, noreply, -F, ServerCronJobs
What is missing now?