开发者

I have two network cards, the SMTP sends from working network card

开发者 https://www.devze.com 2023-01-18 14:01 出处:网络
I have two network cards in my server, and both of them are connected, one is connected local and other one internet,

I have two network cards in my server, and both of them are connected, one is connected local and other one internet,

I have crea开发者_运维问答ted 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?


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号