Registering Mail Handlers
To register a handler, run the following command:
The arguments are explained in the following table.
Argument | Definition |
---|---|
|
Specifies the handler name. The string is allowed to contain any character allowed in UNIX file name (that is, anything except slash and NUL). Registration will fail if a handler with the specified name has already been registered. |
|
Specifies the type of a handler, may take the following values:
|
|
Specifies a domain or a mail address for the handler-type. Not required if the handler type is |
|
Specifies the hook priority in the queue of hooks. |
|
Specifies the handler executable file. Registration will fail if the file does not exist. |
|
Specifies the context. This is an opaque string to be passed to the handler on the command line. |
|
Specifies whether to enable the handler. |
|
Specifies the hooking point. Should be one of: See Hooking Points for details.
|
The following handler is added to filter correspondence before local delivery: