lichin 回復(fù)于:2005-01-07 12:00:31
我發(fā)現(xiàn)我有一個(gè)問題弄錯(cuò)了,是關(guān)于sendmail設(shè)置的問題:
上面說的那個(gè)local-hosts-names配置文件是有關(guān)收取郵件的,我這里只關(guān)心能發(fā)送郵件,因?yàn)椴⒉皇敲總(gè)人都能輕易的擁有具有正規(guī)域名的郵件服務(wù)器的,要做的工作只是修改sendmail.mc文件,將帶有"myhost.mydomain"這行隨便填入一個(gè)internet上域名行了,后還要利用m4生成sendmail.cf文件,命令如下:
#m4 sendmail.mc > sendmail.cf
重啟sendmail服務(wù)OK了
arhui0531 回復(fù)于:2005-06-09 15:05:01
[quote:c64a9f7a71="lichin"]要做的工作只是修改sendmail.mc文件,將帶有"myhost.mydomain"這行隨便填入一個(gè)internet上域名行了,
后還要利用m4生成sendmail.cf文件,命令如下:
#m4 sendmail.mc > sendmail.cf [/quote:c64a9f7a71]
我這些都設(shè)置了,還是只對(duì)hotmail可行,其他郵件地址不可以。請(qǐng)多指教,謝謝
wind521 回復(fù)于:2005-06-09 16:01:13
不錯(cuò),鼓勵(lì)一下
trademark 回復(fù)于:2005-06-13 10:59:31
這個(gè)介紹并沒有介紹全啊,比如說如果我在服務(wù)器指定目錄安裝了mysql后,再checksetup.pl的時(shí)候發(fā)現(xiàn)不能連接/var/lib/mysql/mysql.sock,這個(gè)應(yīng)該怎么辦,好像要修改好多文件
peng 回復(fù)于:2005-06-13 11:44:00
[quote:065aa965c0="trademark"]這個(gè)介紹并沒有介紹全啊,比如說如果我在服務(wù)器指定目錄安裝了mysql后,再checksetup.pl的時(shí)候發(fā)現(xiàn)不能連接/var/lib/mysql/mysql.sock,這個(gè)應(yīng)該怎么辦,好像要修改好多文件[/quote:065aa965c0]
這和樓主介紹的軟件沒有任何關(guān)系,應(yīng)該是你mysql安裝問題。
沒有給mysql.sock生成的目錄應(yīng)有的權(quán)限造成的。
trademark 回復(fù)于:2005-06-13 12:36:21
汗,checksetup.pl一直不通過
Checking user setup ...
Precompiling templates ...
Checking for MySQL Server (v3.22.5) ok: found v4.1.1-alpha-standard
DBD::mysql::db table_info failed: Aclearcase/" target="_blank" >ccess denied for user: 'bugs'@'%' to database 'bugtrack' at ./checksetup.pl line 1613.
[Mon Jun 13 12:31:35 2005] checksetup.pl: DBD::mysql::db table_info failed: Access denied for user: 'bugs'@'%' to database 'bugtrack' at ./checksetup.pl line 1613.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm line 197 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.
[Mon Jun 13 12:31:35 2005] checksetup.pl: Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm line 197.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 1276 (#1)
[Mon Jun 13 12:31:35 2005] checksetup.pl: Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 1276.
DBD::mysql::db selectcol_arrayref failed: Query was empty at ./checksetup.pl line 1614.
[Mon Jun 13 12:31:35 2005] checksetup.pl: DBD::mysql::db selectcol_arrayref failed: Query was empty at ./checksetup.pl line 1614.
Can't use an undefined value as an ARRAY reference at ./checksetup.pl line 1614 (#2)
(F) A value used as either a hard reference or a symbolic reference must
be a defined value. This helps to delurk some insidious errors.
Uncaught exception from user code:
Can't use an undefined value as an ARRAY reference at ./checksetup.pl line 1614.
trademark 回復(fù)于:2005-06-13 13:33:46
各位兄臺(tái),幫幫忙啊
lily_7948 回復(fù)于:2005-07-08 11:28:48
謝樓主