LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-05-2008, 07:30 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Rep: Reputation: 32
Question How to I configure UNIX mail to e-mail messages to external addresses?


I've got a shell script that has to watch a process to make sure that it does not die... if it does it mails root with:

mail -s "Service is down!!!" root

I would like to get this going so I can inform management when the process dies by sending that message above to a completely external e-mail address.

What should I use to get this going the best?
 
Old 03-05-2008, 08:11 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
What happened when you used an address instead of root (eg name@somewhere.else.com)? I use external addresses here with no problems. Or am I misinterpreting your problem?
 
Old 03-05-2008, 08:53 PM   #3
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by gilead View Post
What happened when you used an address instead of root (eg name@somewhere.else.com)? I use external addresses here with no problems. Or am I misinterpreting your problem?
No.. just have not tried that... seems too simple!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
evolution mail downloads old mail messages Kirmonkey Linux - Software 0 10-20-2006 09:10 AM
postfix - external mail reader doesn't get messages Danny Regan Debian 3 11-16-2005 07:30 AM
configure sendmail to use external mail server Drogo Linux - Software 0 09-16-2004 09:16 PM
sendmail configure relay for specific e-mail addresses LeovanBussel Linux - Newbie 1 07-29-2003 03:08 AM
Filtering mail messages on ISP's mail server broxtor Linux - Software 0 07-28-2003 02:47 PM


All times are GMT -5. The time now is 03:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration