SK.gnome.dwarf.mail.smtp.proc.filter
Class UserIsLocal

java.lang.Object
  extended bySK.gnome.dwarf.GenericService
      extended bySK.gnome.dwarf.mail.smtp.proc.MailFilter
          extended bySK.gnome.dwarf.mail.smtp.proc.filter.RecipientFilter
              extended bySK.gnome.dwarf.mail.smtp.proc.filter.UserIsLocal
All Implemented Interfaces:
SK.gnome.dwarf.Service

Deprecated. does the same as RecipientIsLocal

public class UserIsLocal
extends RecipientFilter

This filter matches any recipient whose local name represents a local user.

A local user is the one which is known to a local mail host.


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
UserIsLocal(java.lang.String name)
          Deprecated.  
 
Method Summary
protected  boolean filterRecipient(Recipient recipient)
          Deprecated. Decides whether the recipient will be passed through the filter.
 
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, init, 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

UserIsLocal

public UserIsLocal(java.lang.String name)
Deprecated. 
Method Detail

filterRecipient

protected boolean filterRecipient(Recipient recipient)
                           throws MailException
Deprecated. 
Description copied from class: RecipientFilter
Decides whether the recipient will be passed through the filter.

Specified by:
filterRecipient in class RecipientFilter
Parameters:
recipient - the particular recipient
Returns:
true if the recipient passes, false otherwise
Throws:
MailException - if an error occured


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.