|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSK.gnome.dwarf.GenericService
SK.gnome.dwarf.GenericServer
SK.gnome.dwarf.mail.MailHost
SK.gnome.dwarf.mail.smtp.SMTPHost
SK.gnome.dwarf.mail.smtp.FileSMTPHost
Provides filesystem-based SMTP host.
| Field Summary | |
protected SK.gnome.dwarf.utils.StringProperties |
aliases
|
| Fields inherited from class SK.gnome.dwarf.mail.MailHost |
aclStore, hostId, mailStore, stripDomain, userStore |
| 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 | |
FileSMTPHost(java.lang.String name)
|
|
| Method Summary | |
java.lang.String[] |
expandAlias(java.lang.String username)
Expands the given alias name to a list of addresses. |
void |
init(SK.gnome.dwarf.Server parent)
Initializes the service. |
void |
reload()
Reloads the alias database. |
void |
setAliases(SK.gnome.dwarf.utils.StringProperties aliases)
|
| Methods inherited from class SK.gnome.dwarf.mail.MailHost |
addService, getACLStore, getHostId, getMailStore, getUserStore, mapVirtualUser, setHostId, setStripDomain, stripDomain |
| Methods inherited from class SK.gnome.dwarf.GenericServer |
addService, getAuthenticator, getLogger, getParameters, getService, getServices, getServices, removeService, report, shutdown, start, stop |
| Methods inherited from class SK.gnome.dwarf.GenericService |
getAuthFacility, getFullName, getInitParameter, getInitParameterNames, getLogFacility, getName, getPrincipal, getShutdownTimeout, getState, log, log, login, logout, setAuthFacility, setInitParameters, setLogFacility, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface SK.gnome.dwarf.Service |
getFullName, getName, getState, log, log, login, logout |
| Field Detail |
protected SK.gnome.dwarf.utils.StringProperties aliases
| Constructor Detail |
public FileSMTPHost(java.lang.String name)
| Method Detail |
public void setAliases(SK.gnome.dwarf.utils.StringProperties aliases)
public void init(SK.gnome.dwarf.Server parent)
throws SK.gnome.dwarf.ServiceException
SMTPHostIf the parent server is not an instance of the SMTPServer class,
the IllegalServiceClassException is thrown.
init in interface SK.gnome.dwarf.Serviceinit in class SMTPHostSK.gnome.dwarf.ServiceExceptionpublic java.lang.String[] expandAlias(java.lang.String username)
SMTPHostIf the user argument is an alias, it is expanded to an array of addresses and returned back. The argument value is always a simple local name without the '@' character and a domain part after it. The returned addresses may or need not contain the domain part. It they do not contain it, the original domain of user's address will be appended to them automatically.
expandAlias in class SMTPHostusername - the user identiciation
public void reload()
throws MailException
SMTPHostIt reloads the database of aliases to reflect the changes made by the outside world.
reload in class SMTPHostMailException - if an error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||