Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ezmlm-manage: -log does not follow same rules as -list, despite the docs #1

Open
jonmz opened this issue Oct 11, 2011 · 0 comments
Open

Comments

@jonmz
Copy link

jonmz commented Oct 11, 2011

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));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant