我在 sendmail.mc milters 上看到这样的行:
Xclamantivirus, S=local:/var/run/clamav-milter/clamav.sock,F=T,T=S:4m;R:4m;E:4m
我知道什么是本地套接字。但是字母 FTSR 和 E 是什么意思呢?
答案1
除“E:”之外的所有内容均在使用 ClamAV 和 Sendmail 扫描电子邮件中的病毒作者:Peter Kaagman。重新格式化并修复了一些拼写错误:
S=
local:/var/run/clamav/clmilter.sock
当然是 clamav-milter 创建的套接字
F=
告诉 Sendmail 如果过滤器失败该怎么办,空白表示就好像没有过滤器一样。您可以使用“R”表示拒绝,或使用“T”表示暂时失败。
T=
确定超时:
S:4m
发送到过滤器的超时时间为 4 分钟
R:4m
从过滤器接收超时 4 分钟
答案2
S=local:/var/run/clamav/clmilter.sock offcourse is the socket created by clamav-milter
F= tells Sendmail what to do if the filter fail, blank means act as if there is no filter. You could use "R" for reject or "T" for temporary fail.
T= determens timeouts:
E= Overall timeout between sending end-of-message notices to the filter and waiting for the final acknowledgement.
R= a timeout of "n" minutes for receiving from the filter