我有一个带有 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
)?