IS 的人要求我阻止没有主题(空主题)的邮件,我正在使用MDaemon 9.5.1
,其中一个给了我这个规则
[Rule015]
RuleName=no empy subject
Enable=No
ThisRuleCondition=All
ProcessQueue=LOCAL
Condition01=SUBJECT|reg exp|AND|^..+$|
Action01=skip rule|"1"
[Rule016]
RuleName=empty subject
Enable=No
ThisRuleCondition=All
ProcessQueue=BOTH
Condition01=SUBJECT|exists|AND|
Action01=send note|"to <$SENDER$>","from <[email protected]>","subject <Mail Rejected.>","x-flag=attach <$COPYOFMESSAGE$, MIME> -X","","Bla bla bla"
Action02=send note|"to <[email protected]>","from <[email protected]>","subject <Mail rejected notification.>","x-flag=attach <$COPYOFMESSAGE$, MIME> -X","","from:$SENDER$ ","to:$RECIPIENT$ ","subject: $SUBJECT$ ","date: $DATESTAMP$ ","time: $CURRENTTIME$"
Action03=delete|
我复制了这个cfrules.dat
位于 MDaemon 安装目录的 app 文件夹中的表单文件,所以,他们说这是正确的设置,但是,这个规则并没有真正发挥作用,它阻止了没有主题的邮件和一些有主题的邮件一个主题,工人们现在抱怨很多,我想对安全和工人都满意。
所以,在这里需要帮助,我只是想阻止主题为空的邮件,但也可以按长度来阻止,直到现在我还没有成功
谢谢大家
我只需要改变
至
现在它正在工作,希望它可以帮助别人