Hi,
I get emails from my cron job.
They come from the user: daemon (From: daemon)
I'd like to have my original username in From field
as I have in HP-UX & Solaris.
Is it possible?
Thanks in advance
Vadim
This behaviour is normal , becuase you are not specifying the user or mail command to send a mail , just a print it does not know who is sending the mail just a print statement so the cron daemon just sends a mail locally as daemon.
You can specify the mailx command
mailx -s "test message" username
username being the user you want to send the mail to
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.