EXIM - 发送垃圾邮件分数较高的邮件副本

EXIM - 发送垃圾邮件分数较高的邮件副本

我正在尝试设置邮件中继。

我想要发送spam_score大于 的消息副本SPAM_SCORE_THRESHOLD

但是该规则不起作用,它甚至会发送spam_score低于的副本SPAM_SCORE_THRESHOLD

我的配置有什么问题?

ROUTER_SPAM_FILTER =
SPAM_SCORE_THRESHOLD = 300
...
warn   hosts      = ! +relay_from_hosts  
       spam       = nobody/defer_ok 
       add_header = X-Spam-Flag: YES 
       logwrite   = SPAM_SCORE: $sender_address $spam_score_int 
       set acl_m2 = $spam_score_int 
...
.ifdef ROUTER_SPAM_FILTER  
 spam_filter:                 
  condition = ${if >{$acl_m2}{$SPAM_SCORE_THRESHOLD}{true}}
  unseen
  driver = redirect
  data = [email protected]
.endif

相关内容