exim阻止电子邮件(如果从exim.conf中的特定地址发送到特定收件人)

时间:2019-02-08 17:37:17

标签: exim

我正在尝试exim.conf的acl_smtp_data下的以下代码

deny  
message = The sender name must be the same as the login id  
condition = ${if eq{$sender_address}{sender@somedomain.com}}
condition = ${if eq{$recipients}{receiver@localdomain.com}}

但是不幸的是,此代码无法正常工作。我的目的是阻止发件人为sender@somedomain.com的收件者为收件者(位于我的网站上)的电子邮件接收者。

我在这里做什么错了?

谢谢

0 个答案:

没有答案
相关问题