如何在exim中logging条件?

我希望看到有价值的条件,例如“authentication”。 我可以使用authenticated = *,但是我不知道真正包含“已authentication”的内容。

如果我添加部分警告参数logwrite = $authenticated我得到错误unknown variable name "authenticated"

此外,我想看看什么情况下包含“垃圾邮件”。 有很多手册说只是添加spam = nobody:false ,但我不明白谁是个人,什么是假的。

authentication连接显示在协议字段中。 在logging发件人的行上可以find这个信息(在<= id <=后面加上<=表示),表示已authenticationesmtpsa的协议是esmtpsasmtpsaesmtpaestmp表示使用EHLO命令而不是HELO命令请求的扩展SMTP。与s (未authentication的TLS)或a (authentication的不安全的信道)相比, sa后缀表示在安全(TLS)连接上的authentication。authentication详细信息在同一行上跟随A=

 1bZnEj-0007DV-QV <= [email protected] H=host.lan.example.com [192.0.2.47] P=esmtpsa A=dovecot_plain:me S=760 [email protected] 

warn子句将导致运行configuration的垃圾邮件筛选器,并将垃圾邮件报告logging在Exim日志中。 Spamassassin已经将这些数据logging到maillog中,所以我会尽快删除logwrite消息。

 # Add a spam flag warn spam = mail:true logwrite = $spam_report 

有关垃圾邮件扫描的更多信息,请参阅Exim规范的“ 内容扫描”一章。 了解规范文档的方法。