4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 9469
/ 1 Year ago, tue, march 28, 2023, 1:05:55
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 protected] [email protected]" -- -r "[email protected]" -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 protected]>
to me, chrish, -r, noreply, -F, ServerCronJobs
What is missing now?
More From » mail