大网数据广告活动
服务器运维问答

What exactly does "probable open proxy: command=POST" mean in sendmail logs?

· 52CE 我爱测

I noticed the following in my sendmail logs: May 11 11:11:16 foobox sendmail[21111]: uADEFHG21111: [1.1.1.1]: probable open proxy: command=POST http://foo2.example.com May 11 11:11:16 foobox sendmail[21111]: uADEFHG21111: [1.1.1.…

问题原文

原帖链接 · Mike B · CC BY-SA 3.0

I noticed the following in my sendmail logs:

May 11 11:11:16 foobox sendmail[21111]: uADEFHG21111: [1.1.1.1]: probable open proxy: command=POST http://foo2.example.com
May 11 11:11:16 foobox sendmail[21111]: uADEFHG21111: [1.1.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

(IPs, QIDs, and dates changed to protect the innocent :-))

Here's another few errors:

May 11 12:12:12 foobox sendmail[22222]: u4BACDCDC22222: [1.1.1.1]: probable open proxy: command=GET http://example2.domain.com/foo2/
May 11 12:12:12 foobox sendmail[22222]: u4BACDCDC22222: [1.1.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

I haven't seen this before and it's unclear to me what exactly is happening here. Can someone elaborate? Something is attempting to initiate a SMTP connection through a web connection? Or vice versa?

已采纳解答

原帖链接 · AnFi onet.eu · CC BY-SA 3.0

Sendmail assumes that it is "very likely" that the connection came through an open http proxy.
It would be "unwise" from spam prevention perspective to send standard "unrecognized command" reply and accept next SMTP commands. [It is implemented in srvrsmtp.c]

HTTP proxy server may send/relay valid SMTP commands embedded into HTTP request. Without this improvement it could lead to accepting email messages especially to local mailboxes.

IMHO it is less useful that it had used to be BUT it still remains far away from being removed from sendmail's code.

sendmail's RELEASE_NOTES file:

8.14.0/8.14.0   2007/01/31  
  ....
  Try to deal with open HTTP proxies that are used to send spam
    by recognizing some commands from them. If the first command
    from the client is GET, POST, CONNECT, or USER, then the
    connection is terminated immediately.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-05-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。