Hi, I have tested this on several machines, and I can't tell why it is not working.
if I go to a bash shell, and run:
mail -s "Test email" email@example.com
the email will send just fine..
but If I put that line in the crontab of any user.. it does not send an email.
I thought.. maybe there is a problem with the redirection.. so I put it in a bash script.. the script works fine from the prompt, but when I put it in cron... no email..
so I am a little annoyed at this point.. because I used to do this all the time.. and now it no longer works...
I am currently running fedora core 5 on this machine with all the updates.. so I started wondering when this stopped working.. I get the same results on several fedora core 5, 4, and 3 machines. I did not have a fedora core 2 machine handy to test.. but I found a fedora core 1 machine, and it worked fine just like I remember..
Any hints you can give me as to what is going on, and how I can fix it?