LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Red Hat (http://www.linuxquestions.org/questions/forumdisplay.php?f=31)
-   -   problem with sendmail.cf (http://www.linuxquestions.org/questions/showthread.php?t=4175447020)

jackd1000 01-24-2013 05:51 AM

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

TB0ne 01-24-2013 10:02 AM

Quote:

Originally Posted by jackd1000 (Post 4876722)
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...

YankeePride13 01-25-2013 03:44 PM

Quote:

Originally Posted by jackd1000 (Post 4876722)
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')

TB0ne 01-25-2013 03:45 PM

Quote:

Originally Posted by YankeePride13 (Post 4877624)
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?


All times are GMT -5. The time now is 11:50 PM.