Re: Reset siteadmin password?
Mike Doroshenko II <[email protected]> Wed, 05 Dec 2012 12:16:15 -0700
| Newsgroups | gmane.mail.exim.vexim.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Tim, thanks for your helpful advice. Yes I have terminal access to the server and therefore SQL access. I just set a temporary password "hehehe" lol (I should use a better one but it's fine for now because to even get to the Vexim login screen users have to first enter a different more secure password for browser authentication). If possible I would like to use Vexim because that's what we use on our mailserver at work. Two reasons why I am doing this is because I want my own mailserver and the other reason is to increase my skillset for my job. Exim4u would satisfy the first, but not the latter (Unless the installation procedures are similar). I got in to my Vexim install and tried to add a Local Domain but just got a blank (white) page in my browser after submitting the form. I get this output in my error log: [Wed Dec 05 19:00:34 2012] [error] [client *****] PHP Notice: Undefined index: realname in /usr/src/vexim2/vexim/config/variables.php on line 63, referer:https://mail.mikedoroshenko.com/vexim/siteadd.php?type=local [Wed Dec 05 19:00:34 2012] [error] [client *****] PHP Notice: Undefined variable: _SESSION in /usr/src/vexim2/vexim/config/variables.php on line 65, referer:https://mail.mikedoroshenko.com/vexim/siteadd.php?type=local [Wed Dec 05 19:00:34 2012] [error] [client *****] PHP Notice: Undefined variable: _SESSION in /usr/src/vexim2/vexim/config/variables.php on line 66, referer:https://mail.mikedoroshenko.com/vexim/siteadd.php?type=local [Wed Dec 05 19:00:34 2012] [error] [client *****] PHP Notice: Undefined variable: _SESSION in /usr/src/vexim2/vexim/config/variables.php on line 67, referer:https://mail.mikedoroshenko.com/vexim/siteadd.php?type=local Is there any way to fix this, thanks, Mike Tim Aslat wrote: > In the immortal words of Mike Doroshenko II on 12/04/12 09:25: >> A while ago I tried setting up Vexim on one of my servers and I forgot >> which password I used. Is there a way I can reset it? > Hi Mike, > > Do you have access to the MySQL database connected to the vexim > installation? You can see the password for siteadmin in the users table. > > An SQL statement like > > SELECT clear from users where username = 'siteadmin'; > > should give you the password used to set it up. > > If you can't remember the login/password for MySQL then you can look it > up in the vexim code in the config/variables.php file. > > Cheers > > Tim > > PS: > Vexim is not really supported anymore, you may be better off installing > exim4u instead. > > I still use it, but I suspect that very few others do. This mailing > list hasn't seen any traffic in over a year. -- Mike Doroshenko, Junior Sys Admin TecKnoQuest Inc. [email protected] www.tecknoquest.com