我们正在运行postfix 3.1.4。 发现mynetworks中的一些主机可能使用我们的服务器作为开放中继,发送邮件与sender @和recipient @其中domainA和domainB不是本地域。
在非本地域上有发送者或接收者,但不能同时接收。
会有人请帮忙吗? 非常感谢。
问候,
/ ST黄
例如,您可以限制中继仅限于某些域
smtpd_relay_restrictions = check_sender_access hash:/etc/postfix/permit_domain, defer_unauth_destination
只允许在文件中列出的域,文件格式是
mydomain.com OK anotherdomain.com OK