Open azumakuniyuki opened 6 years ago
src/smtpd/smtpd_check.c
on Postfix 3.1.4
static int reject_unknown_client(SMTPD_STATE *state)
{
const char *myname = "reject_unknown_client";
if (msg_verbose)
msg_info("%s: %s %s", myname, state->name, state->addr);
/* RFC 7372: Email Authentication Status Codes. */
if (state->name_status != SMTPD_PEER_CODE_OK)
return (smtpd_check_reject(state, MAIL_ERROR_POLICY,
state->name_status >= SMTPD_PEER_CODE_PERM ?
var_unk_client_code : 450, "4.7.25",
"Client host rejected: cannot find your hostname, [%s]",
state->addr));
return (SMTPD_CHECK_DUNNO);
}
We need a sample email including the status code.
Postfix 3.1.6 rejects connection with the following message: