Hi everyone, i installed mailman3-full on debian 10. During installation, it asks me to enter the admin user credentials. After configuration, I restart mailman3 and mailman3-web. When I try to log in for the first time by entering the admin credentials, a message warns me that the credentials are incorrect. I looked at the mailman logs, but I find nothing. It seems that it is a django authentication problem, because even in the django admin panel I can't log in. Looking at the mailman3web db, in the auth_user table, I see the admin user. How can I see why it does not accept the credentials? Thank you in advance
On 8/31/20 6:59 AM, Massimo Zappalà wrote:
Hi everyone, i installed mailman3-full on debian 10. During installation, it asks me to enter the admin user credentials. After configuration, I restart mailman3 and mailman3-web. When I try to log in for the first time by entering the admin credentials, a message warns me that the credentials are incorrect. I looked at the mailman logs, but I find nothing. It seems that it is a django authentication problem, because even in the django admin panel I can't log in. Looking at the mailman3web db, in the auth_user table, I see the admin user. How can I see why it does not accept the credentials? Thank you in advance
I have no idea what the Debian package is doing, but you can see the superuser(s) with the database query
select * from auth_user where is_superuser;
and you can change the user's password with the django admin changepassword command and/or create a superuser with the django admin createsuperuser command. Give the commands with a --help option for more info.
Since you can see the user in the auth_user table, try the django admin changepassword command to change the password.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark, I understood and solved the problem. Due to a configuration mistake on amavis, I had not received the verification email and for this reason I could not authenticate. Once amavis was fixed, the login problem solved itself. Unfortunately, the message "credentials are incorrect" led me astray. Surely, with a more precise message I would have solved it sooner. Thanks always.Max
participants (2)
-
Mark Sapiro
-
Massimo Zappalà