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
谢楼主