Submitted by Vince42 on Wed, 01/20/2016 - 15:50 Pro Licensee
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
Submitted by JamieCameron on Wed, 01/20/2016 - 23:13 Comment #1
Check at Webmin -> Webmin Configuration -> Anonymous Module Access that there is a line for the /virtualmin-mailman/ URL path mapping to the user
anonymous
Submitted by Vince42 on Thu, 01/21/2016 - 17:10 Pro Licensee Comment #2
Hi,
I just checked the anonymous module access and the page showed two entries
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
Submitted by JamieCameron on Thu, 01/21/2016 - 23:13 Comment #3
Ok, that looks like part of the problem. Check at Webmin -> Webmin Users to make sure that an
anonymous
user exists.Submitted by Vince42 on Fri, 01/22/2016 - 15:40 Pro Licensee Comment #4
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
Submitted by JamieCameron on Sat, 01/23/2016 - 00:26 Comment #5
You can re-create the user at Webmin -> Webmin Users, with no login allowed and access to only the Mailman module.
Submitted by JamieCameron on Sat, 01/23/2016 - 00:28 Comment #6
Also, we will prevent deletion of anonymous access users in the next Webmin release.
Submitted by JamieCameron on Sat, 01/23/2016 - 00:28 Comment #7
Submitted by Vince42 on Tue, 01/26/2016 - 15:52 Pro Licensee Comment #8
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 withoutunauthenticated
), but I am still getting ErrorAccess denied : User anonymous is not allowed to use the Virtualmin Mailman Mailing Lists module.
Awaiting the next idea ... :)
Submitted by JamieCameron on Tue, 01/26/2016 - 23:09 Comment #9
When you created the user, did you give him access to the
Virtualmin Mailman Mailing Lists
module?Submitted by Vince42 on Wed, 01/27/2016 - 13:40 Pro Licensee Comment #10
... no, I did not ... cough ... okay, now that this access has been able, the link is working as expected - thank you!
Submitted by JamieCameron on Wed, 01/27/2016 - 22:25 Comment #11
Great!
Submitted by Vince42 on Sat, 01/30/2016 - 10:52 Pro Licensee Comment #12
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.