LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2011, 01:56 PM   #1
JoeyL
LQ Newbie
 
Registered: Dec 2011
Distribution: CentOS 5.5
Posts: 2

Rep: Reputation: Disabled
Question for Sendmail Guru


So I have two identical machines both running Sendmail 8.13.8. I had mail relaying fine on the first machine so I went ahead and began configuring the second. After completing what I "thought" was an identical configuration, email from the mew machine would bounce.
Mail log would indicate (dsn=5.1.1, stat=User unknown). After diff of my two sendmail.mc files, the only difference was on the following two lines:

Machine 1
#############################################
define(`confTRY_NULL_MX_LIST', true)dnl
define(`confDONT_PROBE_INTERFACES', true)dnl

Machine 2 (these lines are default sendmail.mc)
#############################################
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl

So I changed Machine 2 from `True' to true (like mach1) and re-compiled. Sure enough, it worked great. I had originally skipped over these lines thinking that since it was in the default sendmail.mc file as `True' it was fine to leave it, but apparently I was wrong. I thought the two were equivalent.

My question is what is the difference between these settings. I can find info about what these statements are for but nothing on the quotes or acceptable values. Am I overriding this statement now? Or was I overriding in the default state? Is the default statement incomplete until I remove the quotes?

Any clarity on this would be appreciated. Thanks!
 
Old 12-15-2011, 06:42 AM   #2
goossen
Member
 
Registered: May 2006
Location: Bayern, Germany
Distribution: Many
Posts: 224

Rep: Reputation: 41
Are you sure of the version of sendmail #2 ? These options where boolean prior to V8.12.
 
Old 12-15-2011, 08:03 AM   #3
JoeyL
LQ Newbie
 
Registered: Dec 2011
Distribution: CentOS 5.5
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes I am sure both versions are identical at 8.13.8 along with both sendmail.mc files. What struck me as odd was that by removing the quotes from around the boolean value `True' in each statement, it got things working. I would have thought both ways were equivalent, with or without the quotes. Since it came with quotes in the default .mc file, I was thinking the define statement was active right "out of the box". My thoughts were then "Did I just de-activate the statement by removing them?" After searching online I have seen the value written without the quotes, so I felt that way was correct. Then my question became "is sendmail ignoring these lines if the boolean value has the quotes surrounding the `True' value?
 
  


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
need sendmail guru nosrema Linux - Networking 7 03-05-2009 04:12 PM
Double question for the guru's justinw3053 Mandriva 2 05-25-2005 07:18 AM
PHP mysql_connect Guru - Install Question/Issue whohasit Programming 4 07-16-2004 06:28 PM
A little question to an SSH guru (port forwarding) J_Szucs Linux - Software 3 11-01-2003 07:59 AM
Method question for unSpawn or other guru slakmagik Linux - Security 15 07-14-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 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
Open Source Consulting | Domain Registration