Hi Mark,
On 11/06/20 1:16 am, Mark Sapiro wrote:
On 6/10/20 10:23 AM, Abhijith PA via Mailman-users wrote:
Hello.
I tried to remove random email address signing ups (which I signed up while testing) via admin panel. After removing I tried to sign up again, but I am getting,
'A user is already registered with this e-mail address'
You removed the user's subscription from the list, but you didn't remove the user from the system.
Mailman3 has a concept of
user
which didn't exist in Mailman 2.1. User's have addresses and a user or one of the user's addresses can belong to a list with one or more roles (non-member, member, moderator or owner)
In my case these user signups were just to test postorious. These mail accounts didn't subscribed to anything.
Combing through the database, I found auth_user table in mailman3web db still contain those mail address. How to wipe email address entirely from the db so I can signup again without the 'forget password' method
There are a couple of things. If you log in to the web UI as a django superuser, you can go to the django admin UI -> Users section and delete the User, but I think that will only delete the web user and not delete the user from Mailman core.
You can also log in to the web UI as the user and go to <https://lists.mailman3.org/user-profile/delete>, but that again only deletes the web user, and if you could do that, you could just subscribe once you're logged in, so I assume that's what you want to avoid.
I don't think there is a way for a user as opposed to a site admin to delete her user record from Mailman core and even for a site admin, there's no way in Postorius to delete a user from core. It has to be done via REST <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/users.html#deleting-users-via-the-api> or
mailman shell
.
Thanks for the link, let me try that out.
--abhijith