LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-24-2013, 06:51 AM   #1
jackd1000
Member
 
Registered: Jul 2007
Posts: 67

Rep: Reputation: 15
problem with sendmail.cf


I have an OEL 5 host that is sending mail to a relay host succesfully. The box is working as intended : I am able to send mail to users using (in my case) mutt.

The problem is I don't know why ! I haven't configured the relay host address in sendmail.mc and recompiled. The sendmail.cf entry for "DS" is null.

Where is the system picking up the IP/DNS address of the relay server from ? I can't seem to find it anywhere. This is an issue as we need to change our IP range in the next few weeks

jack
 
Old 01-24-2013, 11:02 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,992

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Quote:
Originally Posted by jackd1000 View Post
I have an OEL 5 host that is sending mail to a relay host succesfully. The box is working as intended : I am able to send mail to users using (in my case) mutt.

The problem is I don't know why ! I haven't configured the relay host address in sendmail.mc and recompiled. The sendmail.cf entry for "DS" is null.

Where is the system picking up the IP/DNS address of the relay server from ? I can't seem to find it anywhere. This is an issue as we need to change our IP range in the next few weeks
It may not be your sendmail at all, but rather your mutt configuration. The muttrc file can contain IMAP/POP definitions, login, etc., so just by using Mutt, it can connect to another mail server. Another option may be that, while you have sendmail INSTALLED, your system may be USING postfix. Is that possible??

Shots in the dark...
 
Old 01-25-2013, 04:44 PM   #3
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 225

Rep: Reputation: 51
Quote:
Originally Posted by jackd1000 View Post
I have an OEL 5 host that is sending mail to a relay host succesfully. The box is working as intended : I am able to send mail to users using (in my case) mutt.

The problem is I don't know why ! I haven't configured the relay host address in sendmail.mc and recompiled. The sendmail.cf entry for "DS" is null.

Where is the system picking up the IP/DNS address of the relay server from ? I can't seem to find it anywhere. This is an issue as we need to change our IP range in the next few weeks

jack
I think you're looking for SMART_HOST..add the following to your sendmail.mc and recompile the sendmail.cf file:

Code:
define(`SMART_HOST',`smtp.mailserver.com')
 
Old 01-25-2013, 04:45 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,992

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Quote:
Originally Posted by YankeePride13 View Post
I think you're looking for SMART_HOST..add the following to your sendmail.mc and recompile the sendmail.cf file:

Code:
define(`SMART_HOST',`smtp.mailserver.com')
Yes, but that sets the DS value in the sendmail.cf file, which is currently unset. That's what's puzzling the OP, since a smart host isn't defined, how is his mail knowing where to go?
 
  


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 Problem sci3ntist Linux - Server 9 10-14-2009 02:00 PM
sendmail problem markiemark Linux - Server 0 09-14-2007 09:01 AM
sendmail.mc and sendmail-cf problem. ChrisScott Linux - Software 1 11-26-2006 02:30 PM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 11:08 AM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 06:00 PM


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