Discussion:
Reset siteadmin password?
Mike Doroshenko II
2012-12-03 22:55:40 UTC
Permalink
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?

--
Mike Doroshenko, Junior Sys Admin
TecKnoQuest Inc.
***@tecknoquest.com
www.tecknoquest.com
Tim Aslat
2012-12-03 23:04:23 UTC
Permalink
Post by Mike Doroshenko II
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.
--
Tim Aslat <***@spyderweb.com.au>
Spyderweb Consulting
http://www.spyderweb.com.au
Mobile: +61 0401088479
Mike Doroshenko II
2012-12-05 19:16:15 UTC
Permalink
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
Post by Tim Aslat
Post by Mike Doroshenko II
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
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.
***@tecknoquest.com
www.tecknoquest.com
Terry
2012-12-05 20:55:42 UTC
Permalink
Send Vexim mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://silverwraith.com/mailman/listinfo/vexim
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Vexim digest..."
1. Re: Reset siteadmin password? (Mike Doroshenko II)
---------- Forwarded message ----------
Date: Wed, 05 Dec 2012 12:16:15 -0700
Subject: Re: [vexim] Reset siteadmin password?
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.
[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
Check you have set the path to pear in php.ini worth checking
Terry
Mike Doroshenko II
2012-12-05 21:26:12 UTC
Permalink
You mean like this:

include_path = ".;/usr/share/pear"

??
Post by Terry
Send Vexim mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://silverwraith.com/mailman/listinfo/vexim
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Vexim digest..."
1. Re: Reset siteadmin password? (Mike Doroshenko II)
---------- Forwarded message ----------
Date: Wed, 05 Dec 2012 12:16:15 -0700
Subject: Re: [vexim] Reset siteadmin password?
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.
[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
Check you have set the path to pear in php.ini worth checking
Terry
_______________________________________________
Vexim mailing list
http://silverwraith.com/mailman/listinfo/vexim
--
Mike Doroshenko, Junior Sys Admin
TecKnoQuest Inc.
***@tecknoquest.com
www.tecknoquest.com
Terry (1stKMH)
2012-12-06 09:39:21 UTC
Permalink
Post by Mike Doroshenko II
include_path = ".;/usr/share/pear"
??
Yes obviously make sure that is the correct path also check you have
pear-DB installed


Terry
Mike Doroshenko II
2012-12-06 16:59:18 UTC
Permalink
If I put that there I get a white page for every page it seems.

If I ls /usr/share/pear I see a file called DB.php, does that indicate
that pear-DB is installed?
Post by Terry (1stKMH)
Post by Mike Doroshenko II
include_path = ".;/usr/share/pear"
??
Yes obviously make sure that is the correct path also check you have
pear-DB installed
Terry
_______________________________________________
Vexim mailing list
http://silverwraith.com/mailman/listinfo/vexim
--
Mike Doroshenko, Junior Sys Admin
TecKnoQuest Inc.
***@tecknoquest.com
www.tecknoquest.com
Loading...