Results 1 to 2 of 2
Hi I have created one shell script which giving information about disk space and out put automatically mailed to respective person but script is working with in the domain I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-31-2005 #1
- Join Date
- Apr 2005
How to send mail to live network
disk space and out put automatically mailed to respective person
but script is working with in the domain I need to send mail on live network so please help me
this is the script:
/bin/df -k > /home/mahesh/test.txt
/bin/mail -s disk_space mahesh@xyz < /home/mahesh/test.txt
and I applied cron job which is working fine and I am getting mail correctly now I need to receive mail on my company account instead of
Internally domain help me .
- 09-01-2005 #2
- Join Date
- Aug 2005
Logically you should configure a mail server... you bash script will supply the mail to you mail server (wich must be connected to internet), and it will send the forward the email for you...
Configure sendmail isn't a joke, and I've never tried... but my friend you it for pooling mail, and the server can connect to internet send all mails to your provider...
Investigate on it.When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)