bruceg/ezmlm-idx — Issue #1: ezmlm-manage: -log does not follow same rules as -list, despite the docs
Author: jonmz
Created: 2011-10-11 20:59:23+00:00
State: open

From `ezmlm-manage.1`:

> If action is -log, ezmlm-manage will reply with the contents of the Log file with the same access restrictions as for the -list action.

Given a list that has enabled `list/modcanlist` (or calls `ezmlm-manage` with `-l`), one of the following two conditions must be true to allow retrieval of the subscriber list with the `-list` action:
1. subscription moderation is enabled via `list/modsub`
2. remote administration is enable via `list/remote`
However, you currently *must* enable `list/remote` to retrieve the Log file of the list with the `-log` action; having `list/modsub` does not work, so it's not true that both actions have "the same access restrictions".

From `do_list` in `ezmlm-manage.c`:

if (!flaglist || (modsub.s == 0 && remote.s == 0))
strerr_die2x(100,FATAL,MSG(ERR_NOT_AVAILABLE));

From `do_log` in `ezmlm-manage.c`:

if (!flaglist || remote.s == 0)
strerr_die2x(100,FATAL,MSG(ERR_NOT_AVAILABLE));