由 tianyaly 在 02-06-2004 18:13 发表:
rh9的sendmail的问题!
我的DNS 和SENDMAIL基本上是配置好了,就是SENDMAIL只能发不能接受,可以发到外网,但是在局域网内互发邮件也收不到,我没有申请域名,所以我知道从外网发来的邮件是收不到的,但是局域网内应该是可以的,就是不知哪里出的错!请帮忙解释!
努力学习,共同进步!
由 Glue 在 02-06-2004 20:16 发表:
要改一下设置,
缺省安装的sendmail不会接收邮件的。
看一下/etc/mail/sendmail.mc
-_-
由 Snoopy 在 02-06-2004 20:50 发表:
收为何不用pop3收?那样方便很多,,,
"但是局域网内应该是可以的,就是不知哪里出的错"
贴子都矛盾了,内部如果你测试成功,不能发外网的话
就设置access里的relay,,要实现内外都可发可收就必需将SMTP=0.0.0.0
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
由 tianyaly 在 02-08-2004 12:44 发表:
斑竹啊!我的意思是我没有申请域名,但是只用于局域网使用的话应该是可收可发的!这样对吧!而且也应该可以向外网发,而受不到外网发来的邮件!上面的是我的理解!我的问题是我现在只能实现发邮件却不能收局域网的邮件!这是为什么!
努力学习,共同进步!
由 陈小坑 在 02-08-2004 14:31 发表:
/var/log/maillog报什么错?
由 Snoopy 在 02-08-2004 19:13 发表:
你是说你发的时候,同内部的人收得到,而别人发给你却收不到 ?
你是否建立了dns?如果建立的话,别人的dns必须设置你的,要不怎么找你的机器?? (应该是这问题)
如果是用ip发的话,那就要看是否pop出了问题???
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
由 Snoopy 在 02-08-2004 19:15 发表:
发邮件时不加域名是这样的
mail user@[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
由 tianyaly 在 02-09-2004 09:39 发表:
我的局域网测试办法是这样的,在Kmail或者evolution里建立几个帐号,然后互相发邮件,看能不能发和收,结果显示是能发不能收!发是发出去了,但是却没有收到,也不知道发到哪里去了。如果我发到外网上却是正常的,比如可以发到[email protected],都是可以的!我想也应该是POP的问题,具体是哪里设置的问题就不知道了!
努力学习,共同进步!
由 Snoopy 在 02-09-2004 11:41 发表:
能发是因为你的sendmail没有smtp认证,你哪可以在客户端建立?
sendmail用系统账号,,,
pop3是否开了?nmap localhost,110有没有开?
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
由 tianyaly 在 02-09-2004 14:17 发表:
测试的结果:
[root@linux-server root]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.8/8.12.8; Mon, 9 Feb 2004 14:15:23 +0800
ehlo test
250-localhost.localdomain Hello linux-server [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-DELIVERBY
250 HELP
quit
221 2.0.0 localhost.localdomain closing connection
Connection closed by foreign host.
[root@linux-server root]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK POP3 linux-server v2001.78rh server ready
quit
+OK Sayonara
Connection closed by foreign host.
[root@linux-server root]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
- OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] linux-server IMAP4rev1 2001.315rh at Mon, 9 Feb 2004 14:16:27 +0800 (HKT)
应该是没什么问题吧,会不会是我的客户端的设置问题呢!
努力学习,共同进步!
由 Snoopy 在 02-09-2004 14:56 发表:
防火墙呢?
你将sendmail.cf里的SMTP=这个我看下,其他你是不是默认?
还有access !
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
由 Snoopy 在 02-09-2004 14:58 发表:
一般默认的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
由 tianyaly 在 02-09-2004 16:23 发表:
真是太感谢版主的耐心!
我没有安装防火墙!
access 的内容是: