When I do this
% mail -s "test" email@example.com < mail-text
it takes a few seconds, then it comes back with this error message:
/home/zach/dead.letter... Saved message in /home/zach/dead.letter
Still, the recipient (me, in this case) does receive the mail just fine. I am puzzled by this and would like to send the mail without the error message.
Also, I have just the same line in cron bash script, but I have not seen any error messages or dead.letter's from that. Any ideas, what might be the difference?
Another funny thing is that if I use mailx instead of mail, everything works just fine.
My Unix is: SunOS login 5.10 Generic_150401-06
Thanks a lot in advance for all kinds of insights or pointers.
PS: yes, I have already googled, but the only reasons for a dead.letter I have found is when mail could not finish sending, which it does in my case, apparently.