Home | FAQ | Manual | Ezmlm Manual Pages | Qmail Manual Pages | Readme | Upgrade | Downgrade

Setting up ezmlm to respond to host-centric commands - ezmlm-idx FAQ

Next: , Previous: Basic Concepts, Up: Migration to Ezmlm from other Mailing List Managers


15.2 Setting up ezmlm to respond to host-centric commands

ezmlm-request(1) can be used a a ‘majordomo/listserv-emulator’. You can create the necessary accessory files manually. However, ezmlm-idx>=0.32 contains ezmlmglrc(5) which makes is very easy for you:

     % su
     # su alias
     # ezmlm-make -C/usr/local/bin/ezmlmglrc dir dot local host

where ‘local’ may be e.g. ‘majordomo’. Even easier is to set it up under a virtual domain ‘host’ controlled by a user ‘user’. Just put ‘user’ in place of ‘alias’ in the example.

If you use a character set other than US-ASCII, put it's name, optionally followed by ‘:’ and the desired content-transfer-encoding character (‘Q’ for quoted-printable and ‘B’ for base64) into ezdomo/charset.

All that remains is to set up DIR/ezdomo.cf with information on the lists (local and/or remote) that you want to make accessible via this interface. Another script, ezmlm-glconf(1) can help you with this for your local lists. To configure for all your lists:

     ezmlm-glmake ~/ > ~/dir/ezdomo.cf

See man page for details. Alternatively, do it manually:

The DIR/ezdomo.cf contains a list of mailing lists which the ‘majordomo’ (in this case) can provide information about in the following syntax:

     list@host:listdir:description

To show a list in ‘lists’, but not include it in a ‘which’ search, simply omit the ‘listdir’ for that line:

     list@host::description

For the ‘which’ command to work, the DIR/, which contains the subscriber database, must be readable by the user under which mail is delivered. This means that ‘which’ is usually limited to lists owned by the user or virtual domain under which the ‘ezdomo’ interface is set up.