LinuxQuestions.org
Help answer threads with 0 replies.
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-20-2008, 04:58 AM   #1
alanhr
LQ Newbie
 
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23

Rep: Reputation: 15
Sending mail to Exchange Server


Hi,

I have a machine running RHEL 4.7 on which I am setting up a couple of services that can email reports and logs (e.g., cron). My organization uses Microsoft Exchange Server to manage email and I need to be able to send these reports to various email addresses there. The machine currently has sendmail installed and running, but that seems like overkill -- no email will be sent to accounts on this machine, only from them. I guess in a sense what I am looking for is an extremely closed relay. Is there a simpler approach that will accomplish what I need? I'm a newbie to Linux administration but not to Linux itself, so hopefully I just need a nudge in the right direction. Thanks.
 
Old 10-20-2008, 11:43 PM   #2
drchuck
Member
 
Registered: May 2007
Posts: 61

Rep: Reputation: 17
I think you still need to have a transport agent like postfix or sendmail running in the background, but then you can use the client of your choice. You can use something like nail, which supports attachments. I've successfully sent messages to my Outlook account at work with very little configuration.
My gmail account is another story. I've tried to configure it per the man page, but:
Code:
<<< 550-5.7.1 [71.126.241.228] The IP you're using to send mail is not authorized
<<< 550-5.7.1 to send email directly to our servers. Please use the SMTP         
<<< 550-5.7.1 relay at your service provider instead. Learn more at              
<<< 550 5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336 11si1238612gxk.10
554 5.0.0 Service unavailable
. There is probably a way to configure nail using a legitimate isp account, but I haven't figured it out yet.
 
Old 10-23-2008, 05:08 AM   #3
alanhr
LQ Newbie
 
Registered: Aug 2008
Distribution: Crunchbang Waldorf, Arch
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the advice. In retrospect, however, I think I probably made my question too complicated. Yesterday another user asked what was essentially my question, but much more directly, and the reply he received is very simple and works perfectly for me.

Thanks again!
 
  


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
How to connect linux mail server with the exchange mail server nanuseenu Linux - Newbie 4 03-04-2008 04:37 AM
Sending mail from linux using MS Exchange relay host a2k2 Linux - General 0 08-16-2004 02:55 PM
Sending mail with PHP on linux machine through exchange on Windows server 2003 TVScoundrel Linux - Newbie 1 06-18-2004 02:22 PM
Sending mail with PHP on linux machine through exchange on Windows server 2003 TVScoundrel Linux - Networking 2 06-18-2004 01:02 PM
POstfix not sending to a local exchange server hawkpaul Linux - Software 10 06-04-2003 08:54 AM


All times are GMT -5. The time now is 05:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration