who command did not work with "who" in subject line

Bug #727602 reported by Worik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

I got the who command to work emailing -request by having a blank subject line. If I used a subject line that was blank it worked.

The command info worked with info in the subject line.

cheers
W

Revision history for this message
Mark Sapiro (msapiro) wrote :

What exactly did you have in the subject and body?

For example, if the roster is limited to list members or the admin, the required command form is

  who <password>

If you put just "who" in the subject and "who <password>" in the body, Mailman will first process the "who" command in the subject. Since it doesn't have an appropriate password, it fails and no more commands, including the valid command in the body, are processed.

The subject of an email to the -request address can be a command. If it doesn't begin with a valid command word, it is ignored, but if it does begin with a valid command word, but the full subject is not a valid command, it is an error and no further commands will be processed.

Revision history for this message
Worik (worik-stanton) wrote : Re: [Bug 727602] Re: who command did not work with "who" in subject line

On 02/03/11 20:01, Mark Sapiro wrote:
> What exactly did you have in the subject and body?
>
The subject was "who" on its own

The body was some variation of..

who XXXXXXX <email address hidden>
end

--
If we amplify everything, we hear nothing.
--

> The subject of an email to the -request address can be a command. If it
> doesn't begin with a valid command word, it is ignored, but if it does
> begin with a valid command word, but the full subject is not a valid
> command, it is an error and no further commands will be processed.
I think "who" on its own should be OK. But perhaps I should have put in
"who XXXXXX <email address hidden> " as a subject.

If so this is an error message bug.

cheers
Worik

--
If we amplify everything, we hear nothing.
--

Revision history for this message
Mark Sapiro (msapiro) wrote :

Perhaps it is an error message bug. What response did you get?

Why do you think "who" on its own should be OK? This is only acceptable if the roster is public. If the roster is not public, password authentication as a member (if the roster is available to list members) or as a list admin or moderator is required.

If the command should be "who XXXXXX <email address hidden>" then putting that in the subject will work, and putting that in the body with no subject or at least a non-command subject will work, but putting that in the body with just "who" in the subject should give a usage message in response to the "who" in the subject and indicate that the "who XXXXXX <email address hidden>" in the body was unprocessed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.