我有两个网卡,SMTP从工作网卡发送
我的服务器中有两张网卡,并且它们都已连接,一张连接本地,另一张连接互联网,
我创建了 SMTP 服务,问题是 smtp 仅尝试从本地网卡发送电子邮件。
我想让它尝试从互联网网卡发送电子邮件,这该如何解决?
I have two network cards in my server, and both of them are connected, one is connected local and other one internet,
I have created a SMTP service, the problem is that the smtp only tries sending emails from the local network card.
I want it to try send emails from the internet network card, how can this be solved?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SMTP 不知道网络接口卡。这些决定是由操作系统做出的。您的路由表是什么样的,例如类 Unix 操作系统上“netstat -rn”的输出,以及您的 SMTP 服务尝试连接的目标的 IP 地址是什么?
SMTP does not know about network interface cards. The decisions is made by the operation system. What does your routing table look like, e.g. the output of "netstat -rn" on a Unix-like OS, and what is the IP address of the destination that your SMTP service tries to connect to?