LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 10-31-2009, 02:43 AM   #1
sathyguy
Member
 
Registered: Sep 2005
Location: Indian Working in Saudi Arabia
Distribution: Redhat Linux AS 3.0
Posts: 93

Rep: Reputation: 15
how to send email(oracle log files) from RHEL AS 3 to windows exchange?


Friends,

my pc : winxp sp2
database server --- 9iR2 in RHEL AS 3

in /etc/mail, i edited a file called sendmail.mc, and set the smarthost:

define('SMART_HOST','mail.nhm.com.sa')dnl

I have to send a daily report to my email from my database server.
when i try the below command nothing is coming.

oracle@xx oracle$ echo "message" | mail -s "subject" dailyrep@nhm.com.sa

oracle@xx oracle$

can anybody help me in this regarding?

thanks
sathyguy
 
Old 10-31-2009, 08:02 AM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Did you run m4 on it to generate the sendmail.cf? That would end up generating a line something like 'DSsmtp.mail.nhm.com.sa' in sendmail.cf.

A bit more detail in this posting: http://www.linuxquestions.org/questi...help...-92090/
 
  


Reply

Tags
as, rhel, sendmail


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
Linux Email client to send/recive mails from Exchange server Hussain000 Linux - Software 3 01-03-2009 04:12 AM
Linux Email client to send/recive mails from Exchange server Hussain000 Red Hat 1 01-01-2009 05:41 AM
Linux Email client to send/recive mails from Exchange server Hussain000 Linux - General 1 01-01-2009 05:39 AM
How to send an email-RHEL AS3 whattodo Linux - Server 5 02-26-2008 02:17 PM


All times are GMT -5. The time now is 03:01 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