ORF反垃圾邮件系统

邮件服务器-邮件系统-邮件技术论坛(BBS)

用户名  找回密码
 会员注册
查看: 16878|回复: 6
打印 上一主题 下一主题

[转帖]防火墙后邮件服务器无法进行SMTP认证

[复制链接]
跳转到指定楼层
顶楼
发表于 2004-2-11 21:37:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
经验分享:防火墙后邮件服务器无法进行SMTP认证<br>
原因:有些防火墙(如CISCO PIX系列)缺省会禁止SMTP扩展命令(如:EHLO 和AUTH)通过。<br>
解决办法:取消防火墙对SMTP扩展命令的过滤<br>
实例:对于Cisco PIX防火墙,执行:no fixup protocol smtp 25即可。<br>
参考内容:<br>
Question/Problem: I have 'Relay for Addresses' set in SMTP Security. I understand that remote users who use IP addresses I do not List must configure their email clients to authenticate (see: IMail - SMTP authentication). However, SMTP AUTH is not working for remote users who have properly configured their email clients.<br>
<br>
Answer/Solution: If you have a firewall or router that "inspects" the traffic on port 25, the "inspection" does not allow Extended SMTP commands (such as EHLO and AUTH) to pass properly. If you disable this "inspection" or otherwise confirm that your firewall or router supports the Extended SMTP commands (ESMTP) this will allow properly configured remote users to authenticate.<br>
<br>
The following was provided by Cisco:<br>
<br>
1) Make sure that you don't have SMTP inspection configured:<br>
<br>
ip inspect name ethernetin cuseeme timeout 3600<br>
ip inspect name ethernetin ftp timeout 3600<br>
ip inspect name ethernetin h323 timeout 3600<br>
ip inspect name ethernetin http timeout 3600<br>
ip inspect name ethernetin rcmd timeout 3600<br>
ip inspect name ethernetin realaudio timeout 3600<br>
### The following line should not exist in your router configuration ###<br>
ip inspect name ethernetin smtp timeout 3600<br>
<br>
Removing the last line will take care of the problem. Cisco's only warning<br>
was that removing it would allow for attacks using ESMTP.<br>
<br>
<br>
Question/Problem: Users off our network, with "my server requires<br>
authentication" checked, cannot send mail through our server.<br>
<br>
Answer/Solution: Your firewall or proxy may not support the extended SMTP command set that is required for SMTP authentication. <br>
<br>
You can enable SMTP authentication on a Cisco PIX firewall with the command:<br>
"no fixup protocol smtp 25"<br>
It will now work correctly.<br>
<br>
沙发
发表于 2004-5-31 11:37:47 | 只看该作者

Re:[转帖]防火墙后邮件服务器无法进行SMTP认证

好贴。
藤椅
发表于 2004-6-25 15:08:40 | 只看该作者

Re:[转帖]防火墙后邮件服务器无法进行SMTP认证

当初是在badwrs2000 的帮助下 解决这个问题的 <br>
但是一直不明白 smtp应该是应用层的 cisco的router和pIX FW对 应用层也起作用?<br>
板凳
发表于 2004-6-25 15:17:47 | 只看该作者

Re:[转帖]防火墙后邮件服务器无法进行SMTP认证

一、现象: 当客户端由外网经过防火墙访问邮件服务器时<br>用户的客户端无法进行正常的smtp身份认证,而内网用户(可直接访问邮件服务器,不需经过防火墙)却可以正常地进行smtp身份认证。<br>
<br>
由外网用telnet连接服务器25端口后 显示的是一串*************************<br>
无法像内网用户一样显示220 domain name (IMail xxxxxxx) NT-ESMTP Server X1 <br>
<br>
可以进行helo<br>
但不可以进行ehlo<br>
<br>
二、原因:防火墙或路由器禁止了Extended SMTP commands (such as EHLO and AUTH) <br>
<br>
三、解决办法:<br>
<br>
1、防火墙fixup protocol smtp 25<br>
以cisco fix firewall 为例<br>
<br>
configure中有一行为fixup protocol smtp 25<br>
<br>
键入命令行no fixup protocol smtp 25即可<br>
<br>
2、路由信息中包含ip inspect name ethernetin smtp timeout 3600<br>
将这一条除去即可<br>
<br>
<br>
<br>
<br>
<br>
<font color="green"><br>
附imail knowledgebase原文</font><br>
<font color="blue">Question/Problem:</font> I have 'Relay for Addresses' set in SMTP Security. I understand that remote users who use IP addresses I do not List must configure their email clients to authenticate (see: IMail - SMTP authentication). However, SMTP AUTH is not working for remote users who have properly configured their email clients.<br>
<br>
<font color="blue">Answer/Solution</font>:<font color="red"> If you have a firewall or router that "inspects" the traffic on port 25, the "inspection" does not allow Extended SMTP commands (such as EHLO and AUTH) to pass properly</font>. If you disable this "inspection" or otherwise confirm that your firewall or router supports the Extended SMTP commands (ESMTP) this will allow properly configured remote users to authenticate.<br>
<br>
The following was provided by Cisco:<br>
<br>
1) Make sure that you don't have SMTP inspection configured:<br>
<br>
ip inspect name ethernetin cuseeme timeout 3600<br>
ip inspect name ethernetin ftp timeout 3600<br>
ip inspect name ethernetin h323 timeout 3600<br>
ip inspect name ethernetin http timeout 3600<br>
ip inspect name ethernetin rcmd timeout 3600<br>
ip inspect name ethernetin realaudio timeout 3600<br>
<font color="red">### The following line should not exist in your router configuration ###<br>
ip inspect name ethernetin smtp timeout 3600<br>
<br>
Removing the last line will take care of the problem. Cisco's only warning<br>
was that removing it would allow for attacks using ESMTP.</font><br>
<br>
<br>
<font color="blue">Question/Problem</font>: Users off our network, with "my server requires<br>
authentication" checked, cannot send mail through our server.<br>
<br>
<font color="blue">Answer/Solution</font>: Your firewall or proxy may not support the extended SMTP command set that is required for SMTP authentication. <br>
<br>
You can enable SMTP authentication on a Cisco PIX firewall with the command:<br>
<font color="red">"no fixup protocol smtp 25"</font><br>
It will now work correctly.
报纸
发表于 2005-2-22 10:07:06 | 只看该作者

re:多谢,好贴!

多谢,好贴!
地板
发表于 2005-4-13 14:41:00 | 只看该作者

re:我有类似的情况发生,谢谢~!

我有类似的情况发生,谢谢~!
7
发表于 2005-6-16 13:32:00 | 只看该作者

re:不错 顶!

不错 顶!
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2025-3-22 03:28

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表