public abstract class AbstractSenderAuthIdentifyVerificationRcptHook extends Object implements RcptHook
Constructor and Description |
---|
AbstractSenderAuthIdentifyVerificationRcptHook() |
Modifier and Type | Method and Description |
---|---|
HookResult |
doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt)
Return the HookResult after run the hook
|
protected abstract boolean |
isLocalDomain(String domain)
Return true if the given domain is a local domain for this server
|
protected abstract boolean |
useVirtualHosting()
Return true if virtualHosting should get used.
|
public AbstractSenderAuthIdentifyVerificationRcptHook()
public HookResult doRcpt(SMTPSession session, MailAddress sender, MailAddress rcpt)
RcptHook
doRcpt
in interface RcptHook
session
- the SMTPSessionsender
- the sender MailAddressrcpt
- the recipient MailAddressorg.apache.james.protocols.smtp.hook.RcptHook#doRcpt(org.apache.james.protocols.smtp.SMTPSession,
org.apache.mailet.MailAddress, org.apache.mailet.MailAddress)
protected abstract boolean isLocalDomain(String domain)
domain
- protected abstract boolean useVirtualHosting()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.