[Nottingham] e-mail from a shell...

David Wolfson eaxdrw at nottingham.ac.uk
Wed Apr 21 16:44:47 BST 2004


Hello again.
I've not had time to try the VPN yet, but have been trying to tidy up some other loose ends first.  I've been sorting out some cron configurations, and am confused by the "MAILTO= " command.  

Should it e-mail (as in the same stuff that seem to get from female students in the US, and bankers in nigeria) the cron output to the address given, or is it only designed to mail the type of stuff I get when I type 'mail' in a Linux shell?  If the second is true, then I'll go away and try to configure my crons for that, but if it's the first, then mine doesn't work.  

I've also tried using the 'mail to' command in a shell, appears to work but never arrives.  I'm guessing that I have to configure this command, but when I try and to a google/linux-questions search I get a huge list of peoples e-mail links.  Not very helpful. 

Am I barking in the wrong woods?  Is it possible to send e-mail in the form I want from a shell script?  If so, could anyone point me in the right direction?  I'd like to be able to find out from my inbox if my cron jobs have run ok...

Thanks once again,

Dave


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list