>Скажите зачем нужен файл local-host-names в sendmail
it contains all the hostnames or domains sendmail will treat as local, means it will try to deliver their mail to your local users insteat of trying to relay
>Насколько он нужен и что если в нем ничего нет?
it's needed only if you want to treat mail sent to other domain/hostname than your real hostname as local mail. if it's empty the only messages treated by sendmail as local will be those sent to your real hostname
>Есть так же файл access
it controls what domains your sendmail will receive mail for (OK), relay mail for (RELAY) or reject their mail(REJECT)
>И есть файл relay-domain
can list all the domains your sendmail will relay
>В новых версиях пишут об access а об relay-domain ничего почему?
you can accomplish the same with the "access" file