LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2008, 11:08 AM   #1
Nivix
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
Smile How to configure sendmail only to send mail to external mail account


Hi Friends,

I'm newbie to linux and sendmail... I have installed RHEL4,oracle for my company. I'm using cron to schedule data base backup. In case of any error, I want cron to send mail to my mail address. My company has a large network with a mail server in the HQ. My branch network is a sub-net (192.168.x.x). I don't want the mail to be sent to my local user account in the linux server. I do not have internet access. I can access my mail server only using intranet(IP).

Advance thanks for the HELP.
Thanks
Nivix..
 
Old 10-18-2008, 04:33 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
First I would make sure you can send email from this server
to your mail server. When that works, you can update the
/etc/aliases file and add a line like this:

root username@example.com

Then run "service sendmail restart".
 
Old 10-23-2008, 12:46 AM   #3
Nivix
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks...

Quote:
Originally Posted by carltm View Post
First I would make sure you can send email from this server
to your mail server. When that works, you can update the
/etc/aliases file and add a line like this:

root username@example.com

Then run "service sendmail restart".
Thanks Carl..I'll just check it with my Admin and revert back (He's out of station)..

Nivix..
 
  


Reply

Tags
sendmail



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
Trying to send mail from /var/mail to external mailbox senkyoshi Linux - Newbie 1 03-28-2008 07:15 AM
how to have sendmail use pop account to send mail xchido Linux - Server 1 03-26-2008 08:14 PM
configure sendmail to use external mail server Drogo Linux - Software 0 09-16-2004 09:16 PM
how do I configure sendmail to be able to send mail outside my network dkscomps Linux - Networking 9 07-04-2004 03:41 PM
Sendmail Can't Send Mail To My Isp Account paperdiesel Linux - Software 5 04-14-2004 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration