好好先生 回复于:2004-12-16 17:18:22 |
鼓励这种精神 |
lichin 回复于:2004-12-16 21:15:51 |
自从接触linux以来就深刻体会到linux世界需要OPEN的态度,跟大家多多交流心得体会是应该的^_^ |
wethair 回复于:2005-01-05 08:33:32 |
我想问楼主一个问题。 你这台机器有装DNS吗?域名解析是怎么处理的?在sendmail里本机的邮件地址是什么? 谢谢 |
lichin 回复于:2005-01-07 12:00:31 |
我发现我有一个问题弄错了,就是关于sendmail设置的问题: 上面说的那个local-hosts-names配置文件是有关收取邮件的,我这里只关心能发送邮件,因为并不是每个人都能轻易的拥有具有正规域名的邮件服务器的,要做的工作只是修改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的时候发现不能连接/var/lib/mysql/mysql.sock,这个应该怎么办,好像要修改好多文件 |
peng 回复于:2005-06-13 11:44:00 |
[quote:065aa965c0="trademark"]这个介绍并没有介绍全啊,比如说如果我在服务器指定目录安装了mysql后,再checksetup.pl的时候发现不能连接/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 |
谢楼主 |