lichin 回復于:2005-01-07 12:00:31
我發(fā)現(xiàn)我有一個問題弄錯了,是關于sendmail設置的問題:
上面說的那個local-hosts-names配置文件是有關收取郵件的,我這里只關心能發(fā)送郵件,因為并不是每個人都能輕易的擁有具有正規(guī)域名的郵件服務器的,要做的工作只是修改sendmail.mc文件,將帶有"myhost.mydomain"這行隨便填入一個internet上域名行了,后還要利用m4生成sendmail.cf文件,命令如下:
#m4 sendmail.mc > sendmail.cf
重啟sendmail服務OK了
arhui0531 回復于:2005-06-09 15:05:01
[quote:c64a9f7a71="lichin"]要做的工作只是修改sendmail.mc文件,將帶有"myhost.mydomain"這行隨便填入一個internet上域名行了,
后還要利用m4生成sendmail.cf文件,命令如下:
#m4 sendmail.mc > sendmail.cf [/quote:c64a9f7a71]
我這些都設置了,還是只對hotmail可行,其他郵件地址不可以。請多指教,謝謝
wind521 回復于:2005-06-09 16:01:13
不錯,鼓勵一下
trademark 回復于:2005-06-13 10:59:31
這個介紹并沒有介紹全啊,比如說如果我在服務器指定目錄安裝了mysql后,再checksetup.pl的時候發(fā)現(xiàn)不能連接/var/lib/mysql/mysql.sock,這個應該怎么辦,好像要修改好多文件
peng 回復于:2005-06-13 11:44:00
[quote:065aa965c0="trademark"]這個介紹并沒有介紹全啊,比如說如果我在服務器指定目錄安裝了mysql后,再checksetup.pl的時候發(fā)現(xiàn)不能連接/var/lib/mysql/mysql.sock,這個應該怎么辦,好像要修改好多文件[/quote:065aa965c0]
這和樓主介紹的軟件沒有任何關系,應該是你mysql安裝問題。
沒有給mysql.sock生成的目錄應有的權限造成的。
trademark 回復于: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 回復于:2005-06-13 13:33:46
各位兄臺,幫幫忙啊
lily_7948 回復于:2005-07-08 11:28:48
謝樓主