这是我的Postfixconfiguration的摘录:
broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_relay_restrictions = permit_sasl_authenticated, reject
我现在要testing的是,Postfix实际上只接受来自已authentication用户的消息。 因此,我使用telnet(直接在服务器上)发送邮件 – 即使我没有在远程login会话中执行任何身份validation,也是成功的。 这是预期的行为? 摘录的最后一行表明testing不应该起作用!
谢谢!
那这个呢?
smtpd_recipient_restrictions = permit_sasl_authenticated, reject
没有testing,但应该工作AFAIK。 发送接收地址后应该得到REJECT错误。