我正在尝试使用exim4build立一个SMTP中继服务器。 但是,我只有一个IP,我希望被允许通过我的服务器发送电子邮件。 这是使用iptables或exim内的一些configuration吗?
先谢谢你
您必须将您的IP添加到relay_from_hostsvariables。
relay_from_hosts
relay_from_hosts = : localhost : 1.2.3.4 : 2.3.4.5