Re: [問題]proftpd 的問題
看到相關的說明 :
go to the /etc/sysconfig directory
There is a file called network
In this file there is a variable called HOSTNAME
This variable should be for example :
HOSTNAME=NETSRV.mydomain
now check the file /etc/hosts
This file should contain 2 lines
127.0.0.1 localhost.localdomain localhost
127.0.0.1 NETSRV.mydomain NETSRV
Now from the command line give the following command
#sendmail -d0
Look at the Output , it should read something like the
following
$w= NETSRV
$j= NETSRV.mydomain ( whatever the HOSTNAME= in /etc/sysconfig/network )
$m=mydomain
$k=NETSRV.mydomain
The error you reported means that sendmail cannot recognize the name
of the machine that it runs
=========================================================================
沒看到 /etc/sysconfig 這個目錄 ... ? ? ?
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: 218-175-84-167.dynamic.hinet.net
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章