Mailman URL Redirect

Hi,

my customers with mailman receive moderator requests asking them to follow the link to http://domain.tld/cgi-bin/mailman/admindb/listname.

Following that hyperlink they are redirected to https://domain.tld:11111/virtualmin-mailman/unauthenticated/admindb.cgi/... and the page says "Error
Access denied : User anonymous is not allowed to use the Virtualmin Mailman Mailing Lists module".

I reproduced and can confirm the error: I logged into virtualmin, clicked on the URL and got the error.

Cheers Vince

Status: 
Closed (fixed)

Comments

Check at Webmin -> Webmin Configuration -> Anonymous Module Access that there is a line for the /virtualmin-mailman/ URL path mapping to the user anonymous

Hi,

I just checked the anonymous module access and the page showed two entries

  • /virtualmin-mailman/unauthenticated - anonymous
  • /virtualmin-password-recovery - anonymous

I chose "Save" and Webmin says "Failed to save anonymous access : Missing or invalid Webmin user for URL path '/virtualmin-mailman/unauthenticated'". I tried the same with only "/virtualmin-mailman" but got the same error message. I tried the domain name (webmin user), tried to save it without any mailman entry - everything fails with the same error.

Cheers Vince

Ok, that looks like part of the problem. Check at Webmin -> Webmin Users to make sure that an anonymous user exists.

Hi,

as I did not know that the user anonymous were necessary for this purpose, I deleted it back when I set up my new server.

How can I recreate the user? I cannot set him to "no login allowed" in the normal user creation dialog, therefore I am worried to create him manually.

As this user seems to be mandatory for the anonymous module access: would it be better to either disallow deletion of this user or mark it "italics" like virtualmin server templates? displaying a warning on deletion could also avoid this kind of issue.

Cheers Vince

You can re-create the user at Webmin -> Webmin Users, with no login allowed and access to only the Mailman module.

Also, we will prevent deletion of anonymous access users in the next Webmin release.

Status: Active ยป Fixed

I just recreated the anonymous user with "no login allowed" and saved the settings in "Anonymous Module Access" so that /virtualmin-mailman/unauthenticated is allowe (also tried without unauthenticated), but I am still getting Error
Access denied : User anonymous is not allowed to use the Virtualmin Mailman Mailing Lists module
.

Awaiting the next idea ... :)

When you created the user, did you give him access to the Virtualmin Mailman Mailing Lists module?

... no, I did not ... cough ... okay, now that this access has been able, the link is working as expected - thank you!

Just a little funny thing you might be interested in: I just received a mail from one of the mailman customers and he said that he is still not allowed to access the "Virtualmin Mailman module" - and checking his user permissions via Webmin confirmed it. I edited his virtual server, found "Enable Mailman" selected and saved the virtual server, rechecked the Webmin user and the module was still not selected. I manually enabled the module now and hope that he will confirm that he is allowed to use it now.