}
@Override
public HookResult doRcpt(SMTPSession session, MailAddress sender,
MailAddress rcpt) {
SMTPNettySession nSession =(SMTPNettySession) session;
if (nSession.verifyIdentity()) {
return super.doRcpt(session, sender, rcpt);
} else {
return new HookResult(HookReturnCode.DECLINED);
}
}