exim 反弹地址标签验证

exim 反弹地址标签验证

我正在尝试在 Exim 中设置 BATV,但总是出现错误:

F=<> temporarily rejected RCPT <prvs=1234abcd=my_email@my_domain.ru>: invalid "condition" value "my_email@my_domain.ru"

对应的ACL:

deny message = Invalid reverse path signature
    senders = :
    !condition = ${prvscheck {$local_part@$domain}\
        {\
            ${lookup mysql{SELECT batv FROM virtual_users \
                 WHERE email='${quote_mysql:$prvscheck_address}'}}\
        }\
        {${if eq{$prvscheck_result}{}}}\
    }

Exim 版本 4.72 操作系统:CentOS 6.3

真的不知道该怎么办。

答案1

这是正确的版本:

deny message = Invalid reverse path signature
    senders = :
    condition = ${if eq{\
            ${prvscheck {$local_part@$domain}{PRVSCHECK_SQL}{1}}\
            }{}\
            }
    !condition =$prvscheck_resul

相关内容