telnet的小问题

由 wyctony 在 02-02-2004 18:03 发表:

telnet的小问题

telnet验证sendmail是否启动

telnet 127.0.0.1 :25 连不上

telnet 本机ip地址却连的上,这个情况有没有人碰到过,是哪里没配置好,还是其他什么问题?


由 Snoopy 在 02-02-2004 18:08 发表:


你问的问题根本不清楚,是telnet有问题还是sendmail?

验证sendmail是否成功?先看看25端口是否开 ?

nmap -p 25 localhost或是自己ip,

因为sendmail有分内和外,具体看SMTP=这个地址多少

“telnet 本机ip地址却连的上,这个情况有没有人碰到过,是哪里没配置好,还是其他什么问题?”

telnet没问题就是你sendmail的问题,


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 wyctony 在 02-02-2004 19:37 发表:


好像都有问题

在服务器上运行:

telnet 127.0.0.1 25

【显示连接不上】

telnet 192.168.0.2(服务器本机ip) 25

【显示连接正常】

sendmail和ipop3服务开启后

在客户机上用outlook收发正常,但在服务器上只能收不能发【好像是连接不到smtp服务器】【用的是kmail】显示5.0.0错误,requires domain address【好像是这句】。我想问的是如果服务器设置错误,应该不通才对,但客户机的收发却是正常的,什么原因?

access文件中设置:

localhost relay

127.0.0.1 relay

tonyking.net[服务器域名] relay

192.168.0.0 【所用的网段】 relay

sendmail。cf中smtpdaemon的ip改成服务器的ip【0.0.0.0这个地址也用过好像还是没用】以上就是目前的配置。


由 Snoopy 在 02-02-2004 19:40 发表:


那你应该将sendmail和telnet分开出来检查

我用sendmail检查却不使用telnet,

你的意思只能收不能发,你的/etc/mail/sendmail.cf里的SMTP=

这个贴上来看看,你是设置自己ip还是网外ip?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 wyctony 在 02-02-2004 20:15 发表:


在服务器上只能收不能发,发不出去,在客户机上收发正常(客户机用的是outlook,配置里pop服务器和smtp服务器都指向了sendmail服务器的域名,sendmail服务器自己用的是kmail,pop服务器和smtp服务器都指向了自己的域名,可就是发不出去,收正常。把pop和smtp指向sendmail服务器自己的ip也不行,还是老样子。)

在sendmail。cf中:

smtp daemon address=服务器ip(192.168.0.2),name=MTA


由 wyctony 在 02-02-2004 21:24 发表:


192.168.0.2是局域网ip


由 Snoopy 在 02-02-2004 21:28 发表:


192.168.0.2是你本机 ???

smtp daemon address=服务器ip(192.168.0.2),name=MTA

将192.168.0.2改成0.0.0.0

<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus