LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Question for Sendmail Guru (https://www.linuxquestions.org/questions/linux-software-2/question-for-sendmail-guru-918742/)

JoeyL 12-14-2011 01:56 PM

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!

goossen 12-15-2011 06:42 AM

Are you sure of the version of sendmail #2 ? These options where boolean prior to V8.12.

JoeyL 12-15-2011 08:03 AM

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?


All times are GMT -5. The time now is 07:44 AM.