org.mmbase.module.smtp
Class SMTPModule
java.lang.Object
org.mmbase.util.functions.FunctionProvider
org.mmbase.util.functions.DescribedFunctionProvider
org.mmbase.module.Module
org.mmbase.module.ReloadableModule
org.mmbase.module.WatchedReloadableModule
org.mmbase.module.smtp.SMTPModule
- All Implemented Interfaces:
- Descriptor
public class SMTPModule
- extends WatchedReloadableModule
RFC 2821 partial-compliant SMTP server. All commands
needed for a compliant SMTP server are implemented,
but no more than these.
- Version:
- $Id: SMTPModule.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Johannes Verelst <johannes.verelst@eo.nl>
| Methods inherited from class org.mmbase.module.Module |
addInitParameters, checkModules, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, shutdownModules, startModule, startModules |
| Methods inherited from class org.mmbase.util.functions.DescribedFunctionProvider |
getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
SMTPListener listener
properties
Map<String,String> properties
SMTPModule
public SMTPModule()
init
public void init()
- Description copied from class:
Module
- Initializes the module.
Init must be overridden to read the environment variables it needs.
This method is called by Module.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.
- Overrides:
init in class Module
reload
public void reload()
- Description copied from class:
ReloadableModule
- This method should be called when the module should be reloaded.
- Specified by:
reload in class ReloadableModule
getLocalEmailDomains
public String getLocalEmailDomains()
shutdown
public void shutdown()
- Shutdown method. Cleanly shut down all current threads
- Overrides:
shutdown in class Module
main
public static void main(String[] args)
- Useful for debugging
MMBase 2.0-SNAPSHOT - null