小编Kla*_*kov的帖子

当 SASL 身份验证失败时,在邮件日志中记录用户名

我有一个带有 postfix 和cyrus-sasl. 当身份验证失败时,它会在maillog下面一行中报告。

postfix/smtpd[27669]: warning: unknown[185.xxx.xxx.xxx]: SASL LOGIN authentication failed: authentication failure
Run Code Online (Sandbox Code Playgroud)

我怎样才能做到这一点,以便它也能在日志文件中报告失败的用户名(如SASL LOGIN authentication failed: authentication failure for bob)?

postfix saslauthd

5
推荐指数
1
解决办法
5793
查看次数

标签 统计

postfix ×1

saslauthd ×1