如果过滤器存在语法问题,则在 tcp_local_slave.log-* 文件中查找以下消息:
解析过滤器表达式时出现错误:...
如果过滤器没问题,则将在输出的末端显示过滤器信息。
如果过滤器有问题,则将在输出的结尾显示以下错误消息:地址列表错误 -- 4.7.1 过滤器语法错误: desdaemona@sesta.com
此外,如果过滤器有问题,则 SMTP RCPT TO 命令将返回一个临时错误响应代码:
RCPT TO: user@domain 452 4.7.1 Filter syntax error