LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-10-2004, 02:45 PM   #1
ChaChi
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
SendMail Configuration


I was wondering if anyone can give me a hand with this.

Current Setup::
I have a Fedora Core2 server setup and it is running with Nagios on our internal network, I am currently relaying mail (with sendmail) through our internal mail server to inform our Help Desk of any failures.

Problem is if the mail server goes down we don't get informed.

::Perfered Setup::
I would like the Fedora server using sendmail configured to email out without using a relay, it does not need to receive any email just be able to send out email, this way if our mailserver goes down we still receive the alerts.

How is this done, is it possible to setup sendmail without a relay or do I need a seperate application?
 
Old 06-10-2004, 03:00 PM   #2
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
ChaChi

Probably in your /etc/mail/sendmail.mc file there is

dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl define(`SMART_HOST',`smtp.your.provider')

This is my sendmail.mc, yours probably has 'define(`SMART_HOST',`smtp.your.provider') without the dnl, add dnl to the beggining of the line it should then bypass your internal server

Don't forget this file has to be remade instuctions should be at the top of your sendmail.mc file

Also stop and start Sendmail for the new configuration to take effect

Pete
 
Old 06-10-2004, 03:11 PM   #3
ChaChi
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
That is what I am currently doing, I am realying through a mail server. I don't want to relay at all, I want the linuxserver to act as the email server.
 
Old 06-10-2004, 03:26 PM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
ChaChi

Sorry perhaps I misunderstood your question or just did'nt explain it very well

Pete
 
Old 06-10-2004, 03:32 PM   #5
ChaChi
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
I would like the Fedora server using sendmail configured to email out without using a relay..
My apologizes I thought I did explain that I did not want to relay.
 
Old 06-10-2004, 03:44 PM   #6
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Sorry ChaChi but I've really got to give this one more try

Your sendmail.mc currently looks like this
define(`SMART_HOST',`smtp.your.provider')

Make it look like this
dnl define(`SMART_HOST',`smtp.your.provider')

Pete
 
Old 06-10-2004, 04:00 PM   #7
ChaChi
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Pete I think you are still not understanding.

This is what you are refering to.
Code:
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl define(`SMART_HOST',`smtp.your.provider')
This is only used if you are sending mail through an external server, I do not want to send mail thourgh a seperate server (which is what relay means) I want the LINUXSERVER to be the mail server and I want the ability to send mail out of LINUXSERVER without configuring RELAYING...

I hope this is clear enough for you and everyone else.
 
  


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
Sendmail Configuration - I need Help ukjairaj Linux - Networking 5 06-23-2005 12:26 PM
Sendmail Configuration arshad Red Hat 3 12-14-2003 12:11 AM
Sendmail configuration lapthorn Linux - Newbie 2 12-09-2003 08:13 PM
Sendmail Configuration svsalian Linux - Software 7 08-29-2003 04:17 AM
sendmail configuration pleavitt Linux - Software 1 03-18-2003 08:57 AM


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