|
NAMEezmlm-request - Process subject line and body ezmlm commandsSYNOPSISezmlm-request [ -f config ] dirDESCRIPTIONezmlm-request processes ezmlm commands in the subject line or message body. ezmlm-request enables these uses to send the message to list-request@host with the complete command address line in the subject field, or with commands and arguments separated by white space. ezmlm-request uses the text to construct a ezmlm command message to the list. If the subject does not start with a letter, ezmlm-request instead uses the first body line that starts with a letter. Processing terminates if a line with a hyphen in the first position is encountered.All commands are expected to be in ezmlm command address format or formatted as: command [list@listhost [user@userhost]] ezmlm-request when invoked with the -f switch and a configuration file (see below), ignores the subject and processes the first body line (per rules above) in conjunction with the configuration file. It also services the lists and which commands. This can be used to construct a global list interface, similar to that used by some other mailing list managers. Messages at the list-request@host are restricted to the local list. When ezmlm-request is invoked with the -f config switch, command messages are limited to lists in config or at the local host. Invalid requests for an existing ezmlm list will lead to a ``help'' message from ezmlm-manage(1). ezmlm-request reads dir/copylines to determine how many lines of the original message to copy into the outgoing message. If this file is empty or not present, a value of 0 is presumed, meaning that only the header is copied. If dir/qmqpservers exists, ezmlm-request will use qmail-qmqp(1) to send messages. OPTIONS
USAGEPlace an invocation of ezmlm-request in dir/manager anywhere before the ezmlm-manage(1) line.Alternatively, set up dir/request with an invocation of ezmlm-request. Make a link from ~/.qmail-list-request to this file. For the global interface, place /path/ezmlm-request -f config dir into a file. Link ~/.qmail-ezmlm and ~/.qmail-ezmlm-default to this file. The latter allows ezmlm-request to handle its own bounces as well as to reply to messages to e.g. ``user-ezmlm-lists@listhost''. Create dir/outlocal with ``user-ezmlm'', dir/outhost with ``listhost'', dir/headerkeep with headers to keep or dir/headerremove with headers to be stripped (copy from a list), dir/text/help, dir/text/top, and dir/text/bottom with the appropriate texts. Also, create config with the appropriate contents. Mail to ``user-ezmlm@listhost'' will now be answered by ezmlm-request. RECOGNIZED COMMANDSAny command not recognized by ezmlm-request is assumed to be valid, as long as it consists of only letters, numbers, hyphen, underscore, period, and ``+''. This allows ezmlm-request to correctly handle commands added by the list owner.A number of commands are recognized by ezmlm-request but not processed. Instead they are mapped to help without arguments. These are: system, put, and set. ezmlm-request also handles a number of aliases for ezmlm commands. Since ezmlm-request only passes on requests to the list, local restrictions apply. For commands that have aliases, accepted aliases are listed:
BUGSezmlm-request places stricter requirements on addresses than rfc822. Thus, some addresses that are rfc822-compliant cannot be used as ezmlm-request command arguments. If you fix this, please send a patch to bruce@untroubled.org. I think qmail has the same restriction, though.ezmlm-request uses NUL as a line terminator internally. Thus, if will fail if NUL is found within the line it tries to interpret as a command. It is harmless, other than that the remainder of the line will be ignored. The ezmlm-request ``which'' command does not differentiate between a list for which the command is not available, a list for which the subscriber db is not accessible, and a list for which the address is not a subscriber. This should be considered a feature. BUGSezmlm-request when used as a global interface and receiving multipart messages assumes that the first line of the fist part is the command. Further, it assumes that the first line starting``--'' is the first MIME boundary. This is virtually always true, but it is easy to construct legal messages that do not fit these assumptions. ezmlm-request in the global interface role will fail if this first part or the entire message is base64 encoded.SEE ALSOezmlm-get(1), ezmlm-manage(1), ezmlm-send(1), ezmlm(5) Visit the GSP FreeBSD Man Page Interface. |