|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.dwarf.GenericService SK.gnome.dwarf.mail.smtp.proc.MailFilter SK.gnome.dwarf.mail.smtp.proc.filter.RecipientFilter SK.gnome.dwarf.mail.smtp.proc.filter.UserIs
This filter matches recipients with the local part of mail address on the given list.
Use either a single value or the comma-separated list of multiple values
for the filter's MailFilter.condition
.
Field Summary |
Fields inherited from class SK.gnome.dwarf.mail.smtp.proc.filter.RecipientFilter |
checkOriginal |
Fields inherited from class SK.gnome.dwarf.mail.smtp.proc.MailFilter |
condition, context |
Fields inherited from class SK.gnome.dwarf.GenericService |
initParameters, parent |
Fields inherited from interface SK.gnome.dwarf.Service |
INITIALIZED, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_TRACE, LOG_WARN, LOG_XFER, SHUTDOWN, STARTED, STOPPED |
Constructor Summary | |
UserIs(java.lang.String name)
|
Method Summary | |
protected boolean |
filterRecipient(Recipient recipient)
Decides whether the recipient will be passed through the filter. |
protected void |
init(MailAgentContext context)
Initializes the mail filter. |
void |
setIgnoreCase(boolean enable)
|
Methods inherited from class SK.gnome.dwarf.mail.smtp.proc.filter.RecipientFilter |
filter, setCheckOriginal |
Methods inherited from class SK.gnome.dwarf.mail.smtp.proc.MailFilter |
destroy, setCondition |
Methods inherited from class SK.gnome.dwarf.GenericService |
getAuthenticator, getAuthFacility, getFullName, getInitParameter, getInitParameterNames, getLogFacility, getLogger, getName, getParameters, getPrincipal, getShutdownTimeout, getState, init, log, log, login, logout, setAuthFacility, setInitParameters, setLogFacility, shutdown, start, stop, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UserIs(java.lang.String name)
Method Detail |
public void setIgnoreCase(boolean enable)
protected void init(MailAgentContext context) throws MailException
MailFilter
This method may be overriden by the subclasses as needed.
init
in class MailFilter
context
- the mail context associated with this filter
MailException
- if an error occuredprotected boolean filterRecipient(Recipient recipient)
RecipientFilter
filterRecipient
in class RecipientFilter
recipient
- the particular recipient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |