免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: 13319085
打印 上一主题 下一主题

[Mail] postfix不能向外发邮件?? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-11-28 13:42 |只看该作者
那就见了鬼了,跑一个sosreport,把收到的结果贴上来看看。

论坛徽章:
0
12 [报告]
发表于 2008-11-28 13:54 |只看该作者

回复 #7 cuci 的帖子

[root@mail ~]# telnet mail.***.com 25
Trying 59.*.*1**...
Connected to mail.***.com (59.*.*.1**).
Escape character is '^]'.
220 mail.****.com ESMTP Postfix
helo mail.sina.com
250 mail.***.com
mail from:<zhang***@sina.com>
250 Ok
rcpt to:<root@***.com>
250 Ok
data
354 End data with <CR><LF>.<CR><LF>




no.......
这是你要的测试,后面就没反应了!需兄弟进一步提示!!!

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
13 [报告]
发表于 2008-11-28 14:01 |只看该作者
原帖由 13319085 于 2008-11-28 13:54 发表
[root@mail ~]# telnet mail.***.com 25
Trying 59.*.*1**...
Connected to mail.***.com (59.*.*.1**).
Escape character is '^]'.
220 mail.****.com ESMTP Postfix
helo mail.sina.com
250 mail.***.c ...



这不很正常吗,继续阿

论坛徽章:
0
14 [报告]
发表于 2008-11-28 14:02 |只看该作者

回复 #7 cuci 的帖子

Nov 28 12:23:51 localhost postfix/smtpd[6380]: disconnect from unknown[121.37.23
.202]
Nov 28 12:27:11 localhost postfix/anvil[6382]: statistics: max connection rate 1
/60s for (smtp:121.37.23.202) at Nov 28 12:23:51
Nov 28 12:27:11 localhost postfix/anvil[6382]: statistics: max connection count
1 for (smtp:121.37.23.202) at Nov 28 12:23:51
Nov 28 12:27:11 localhost postfix/anvil[6382]: statistics: max cache size 1 at N
ov 28 12:23:51
Nov 28 12:40:12 localhost postfix/smtpd[6411]: warning: 58.61.74.107: hostname 1
07.74.61.58.broad.sz.gd.dynamic.163data.com.cn verification failed: Name or serv
ice not known
Nov 28 12:40:12 localhost postfix/smtpd[6411]: connect from unknown[58.61.74.107
]
Nov 28 12:40:12 localhost postfix/smtpd[6411]: NOQUEUE: reject: RCPT from unknow
n[58.61.74.107]: 554 <xxxxxx@sip.i2m.cn>: Relay access denied; from=<79999...wsr
t@you.com> to=<xxxxxx@sip.i2m.cn> proto=ESMTP helo=<you.com>
收到一些其他的邮件,日志没有错误!!
########################################################
Nov 28 13:59:33 localhost postfix/master[6607]: daemon started -- version 2.2.10
, configuration /etc/postfix
Nov 28 13:59:39 localhost postfix/postfix-script: refreshing the Postfix mail sy
stem
Nov 28 13:59:39 localhost postfix/master[6607]: reload configuration /etc/postfi
x
Nov 28 14:03:29 localhost postfix/postfix-script: refreshing the Postfix mail sy
stem
Nov 28 14:03:29 localhost postfix/master[6607]: reload configuration /etc/postfi
x
Nov 28 14:03:36 localhost postfix/postfix-script: stopping the Postfix mail syst
em
Nov 28 14:03:36 localhost postfix/master[6607]: terminating on signal 15
Nov 28 14:03:42 localhost postfix/postfix-script: starting the Postfix mail syst
em
Nov 28 14:03:42 localhost postfix/master[6709]: daemon started -- version 2.2.10
, configuration /etc/postfix
Nov 28 14:03:47 localhost postfix/postfix-script: refreshing the Postfix mail sy
stem
Nov 28 14:03:47 localhost postfix/master[6709]: reload configuration /etc/postfi
x
Waiting for data... (interrupt to abort)
重启后一段时间的日志
日志,小弟不是很懂,帮忙指点一下

[ 本帖最后由 13319085 于 2008-11-28 14:11 编辑 ]

论坛徽章:
0
15 [报告]
发表于 2008-11-28 14:41 |只看该作者

回复 #12 cuci 的帖子

怎么继续呀??像这样


date: mon,8 apr 2003 15:38:21 -0500
from: Customer Service <zhangxxx@sina.com>
to: <root@xxx.com>
reply-TO: <service@sina.com>            
message-ID: <01A4E2238200842@mail.sina.com>
subject: ddd   

this is the start of the body of the message. it could continue for many lines,but it doesn't.


###########3
这样也是没有反应

[ 本帖最后由 13319085 于 2008-12-1 11:07 编辑 ]

论坛徽章:
0
16 [报告]
发表于 2008-11-28 16:38 |只看该作者

回复 #4 kns1024wh 的帖子

身份认证加这些就可以用了吗??还有转发会遇到什么样的问题?

论坛徽章:
0
17 [报告]
发表于 2008-11-28 17:26 |只看该作者
main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
mail_owner = postfix
myhostname = mail.haha.com
mydomain = haha.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks_style = class

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
18 [报告]
发表于 2008-11-28 17:41 |只看该作者
Nov 28 12:40:12 localhost postfix/smtpd[6411]: NOQUEUE: reject: RCPT from unknow
n[58.61.74.107]: 554 <xxxxxx@sip.i2m.cn>: Relay access denied; from=<79999...wsr
t@you.com> to=<xxxxxx@sip.i2m.cn> proto=ESMTP helo=<you.com>

禁止relay
data之后直接写些信头信息或者内容,最后。结束,就ok

论坛徽章:
0
19 [报告]
发表于 2008-11-28 21:16 |只看该作者

回复 #17 cuci 的帖子

十分感谢楼上的关注和帮助,我去试试!!

论坛徽章:
0
20 [报告]
发表于 2008-11-29 16:42 |只看该作者
还是不行啊,怎么禁relay??是这个吗??
smtpd_sasl_auth_enable = no
broken_sasl_auth_clients = no
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP