LinuxQuestions.org
Visit Jeremy's Blog.
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 03-22-2006, 10:07 AM   #1
PirateJack
LQ Newbie
 
Registered: Aug 2005
Location: London, England
Distribution: RHEL3
Posts: 20

Rep: Reputation: 0
configuring RH9 to use smtp server


I'm a bit confused about the e-mail config on linux...
Basically I want to be able to send an email from linux using mutt and change the cron notify to an external email address.

When I try to send a mail I get 'Unable to relay for <recipient address>'

We have MS exchange e-mail servers so I want my linux box to be able to send an e-mail out via the exchange boxes.

I thought that if you set up a mail server to require authentication then it basically stops anyone other than authenticed users from sending email to your network - it wouldnt accept mail from hotmail.com for example. So I should not have to authenticate should I? I should just be able to specify the smtp server on the linux box somewhere and I should be able to send mail.

I'm not worried about recieving mail, just want to send out notifications for cron jobs etc.

I have our exchange server in dnl define(`SMART_HOST', in the sendmail.mc and have done the m4 make, restarted sendmail since.

As I said, bit confused about it overall, might be trying to approach this entirely the wrong way :-)
 
Old 03-24-2006, 03:41 AM   #2
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
suggest

hi,

for mail server. sendmail is out of date.
use Qmail.
Complete Qmail installation guide.
www.qmailrocks.org

 
Old 03-25-2006, 03:27 AM   #3
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Qmail isn't actually open source, and so no Linux vendor can or will support it. The two main open source alternatives to Sendmail are Postfix and Exim. Postfix is more popular, and Exim is more flexible, but both are well-documented (and use human-readable config files!).

"Smart host" is the correct term, and you've doing the right thing. Your Exchange systems may require authentication before they will pass the mail, though - the best things to do is to check with your Exchange administrators.
 
  


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
Setting up an SMTP server in RH9 Mr_Penguin_02 Linux - Newbie 5 07-15-2005 11:17 PM
configuring smtp , error D3javu Linux - Newbie 0 02-09-2005 11:48 PM
Configuring a SMTP relay server Tigrebianca Linux - Newbie 1 09-08-2004 10:37 AM
Configuring smtp to listen in all ips? petecg_76 Linux - Networking 1 04-06-2004 01:28 PM
configuring smtp on ximian ergo_sum Linux - Newbie 7 12-02-2003 12:44 PM

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

All times are GMT -5. The time now is 05:44 PM.

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