<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sendmail and nsswitch.conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457571#M61616</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to use the nsswitch.conf file for aliases definition (file nis ldap), like i use it on other Unix systems.&lt;BR /&gt;but sendmail does not use this file on Red-Hat (tested on Redhat 4 and 5).&lt;BR /&gt;&lt;BR /&gt;How can we activate this fonctionnality ?&lt;BR /&gt;the system is correctly configured for using this, I tested with the "getent aliases" command.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Cedrick Gaillard</description>
    <pubDate>Fri, 10 Jul 2009 15:12:22 GMT</pubDate>
    <dc:creator>mobidyc</dc:creator>
    <dc:date>2009-07-10T15:12:22Z</dc:date>
    <item>
      <title>sendmail and nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457571#M61616</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to use the nsswitch.conf file for aliases definition (file nis ldap), like i use it on other Unix systems.&lt;BR /&gt;but sendmail does not use this file on Red-Hat (tested on Redhat 4 and 5).&lt;BR /&gt;&lt;BR /&gt;How can we activate this fonctionnality ?&lt;BR /&gt;the system is correctly configured for using this, I tested with the "getent aliases" command.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Fri, 10 Jul 2009 15:12:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457571#M61616</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-07-10T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457572#M61617</link>
      <description>Shalom Cedrick,&lt;BR /&gt;&lt;BR /&gt;sendmail indeed does use /etc/nsswitch.conf to determine how to resolve domain and host names.&lt;BR /&gt;&lt;BR /&gt;if sendmail is queued up with a mail envelope as it were for delivery, it checks the recipient and then depending on sendmail configuration may attempt to look up the domain name. From there it gets the MX, or mail exchanger record to know what server to attempt to deliver the mail to.&lt;BR /&gt;&lt;BR /&gt;True enough, in most corporate environments, semdmail is configured to bypass this functionality with the DS directive and merely tries to dump its mail on the assigned smtp mail relay server.&lt;BR /&gt;&lt;BR /&gt;But to say sendmail does not use nsswitch.conf without checking how sendmail is configured is not accurate, though it is likely to be the case.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Jul 2009 06:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457572#M61617</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-13T06:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457573#M61618</link>
      <description>&lt;!--!*#--&gt;Shalom Steven.&lt;BR /&gt;&lt;BR /&gt;On Red-Hat Linux, sednamil is does not use /etc/nsswitch.conf for aliases definition.&lt;BR /&gt;&lt;BR /&gt;NSSWITCH.CONF(5)&lt;BR /&gt;aliases&lt;BR /&gt;              Mail aliases, used by sendmail(8).  Presently ignored.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;actually,&lt;BR /&gt;if i want to use my 3 aliases maps (files, nis and ldap),&lt;BR /&gt;i need to compile the configuration files with:&lt;BR /&gt;define(`ALIAS_FILE',`/etc/aliases,nis:mail.aliases,ldap:')&lt;BR /&gt;&lt;BR /&gt;this is not what I want.&lt;BR /&gt;What if I want to deactivate the ldap map on certain servers ?&lt;BR /&gt;don't want to recompile the configuration files each time.&lt;BR /&gt;&lt;BR /&gt;why sendmail (on Red-Hat, maybe on other Linux) does not use the nsswitch.conf file ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried to do:&lt;BR /&gt;define(`confSERVICE_SWITCH_FILE', `/etc/nsswitch.conf')dnl&lt;BR /&gt;but It does not work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;CÃ©drick Gaillard</description>
      <pubDate>Mon, 13 Jul 2009 07:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-and-nsswitch-conf/m-p/4457573#M61618</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-07-13T07:40:43Z</dc:date>
    </item>
  </channel>
</rss>

