Thomas Michalka wrote:
> 
> Hi Cyril,
> 
> There's no such file in my /etc directory.
> Is it a standard file that comes with sendmail normally?

It's optionnal. It tells sendmail in what order *and where* to look for
hostname resolutions.

> Do I only have to create it with your suggested contents and then sendmail
> after restart - reads the file?


AFAK it's the default for 8.8.5 but to be sure one can explicitly tell
sendmail to use it. Here are two ways for that:

- editing the /etc/sendmail.cf file and put the following
  line:

O ServiceSwitchFile=/etc/service.switch3

- or by using the m4 technique with your .mc configuration file and
  adding this line:

define(`confSERVICE_SWITCH_FILE', `/etc/service.switch')


> BTW: Is "file" in your suggestion a placeholder for /etc/hosts, e.g.?

No, it tells sendmail what order and which services to use for name
canonalisation. "file" tells it to look for hosts in /etc/hosts , it could
also be dns nis, etc...


HTH



Happy new year.
-- 
    //////
   | . . |         # shutdown -r now
   |  ^  |         shutdown: useless reboot - shutdown aborted
-oOo-----oOo-----------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to