Can my users change their own email password?

Can my users change their own email password?

Yes, to do so, copy the link for your email control panel. It will look like:

Have them login as their username (instead of postmaster)

and then click:

“Edit existing address: pop3”

and it will allow them to change their own password.

Webmin not allowing database creation, user creation

Q: Inside webmin I cannot create new databases or users, I get the error:

DBI connect failed : Access denied for user ‘my_user_nam_here’@’%’ to database ‘mysql’

How can I fix this?

A: You need to login to mysql as the mysql admin user (usually called root). Normally if you login to webmin as root it will login you into MySQL as root too. If this does not work, fix it with:

Inside webmin:

Click “servers”
Click “MySQL Databaseservers”
Click “Module Config” on the MySQL screen (top left)
Change “Administration login” to either automatic (should work) or “root”

yum fails on my VPS / the RPM database on my VPS is corrupt

Under certain conditions the RPM database used by yum will become corrupt. Here is how to resolve this issue. You may see an error such as “Warning: RPMDB altered outside of yum” or “error: rpmdbNextIterator”

1. Take a backup FIRST, before trying to have rpm repair the database.

cd /var/lib
tar zcvf /var/preserve/rpmdb-[today's date].tar.gz rpm

Verify integrity with

cd /var/lib/rpm
rm -f __db*      # to avoid stale locks
/usr/lib/rpm/rpmdb_verify Packages

Next run the following:

mv Packages Packages.orig
/usr/lib/rpm/rpmdb_dump Packages.orig | /usr/lib/rpm/rpmdb_load Packages
/usr/lib/rpm/rpmdb_verify Packages
rpm -qa

Finally rebuild the database:

rpm -vv --rebuilddb

for the error :

error: rpmdbNextIterator


mv /var/lib/rpm/Pubkeys /var/lib/rpm/Pubkeys.backup
rpm --rebuilddb -vv to recreate the index.

from :

reference :

Quickly test various services using telnet

If you are attempting to diagnose mail on your server or VPS, you can quickly test POP3 without setting up an account in a mail program using telnet :

telnet 110


PASS unencrypted-password here


where is the pop3 login your are testing. Usually this is the same as the email address.


List should return the messages number or a single period if no messages are available

Note that in this test the password is unencrypted. You should set a temporary test password during the test.


Install newer python version

Depending upon your server OS, you may find the Python version to be out-of-date. This is often due to the OS relying on a particular version for system scripts, etc.


On some servers we have installed additional python versions and named them python3, python2, etc. If your server does not have these you can request and install or you can make a private python install to your shell account.


It is quick and easy to install your own python version to your shared hosting shell account.


1. Download python (change this to the version you need)




2. configure to use your local dirs:


./configure --prefix=$HOME/python


make install

php-cgi does not give proper 404 errors

When using php-cgi via .htaccess you will find that missing files give “No input file specified” instead of a proper 404 error.

To fix this, add :


RewriteEngine On
RewriteRule ^.+\.php$ /file_name_that_does_not_exist

to your .htaccess

replace “file_name_that_does_not_exist” with any file name that does not exist – ie. something that will trigger a 404 error.



How can I reset my email master password

I’ve lost my master email password – how can I retrieve it?

Due to the encryption, your passwords cannot be retrieved. However you can reset the master password : in your control panel. You can then use the new password to administer/change/view/etc. all your other email accounts.

When you first login to the control panel, choose the link:

Password: change

this will bring you to a page to set a new password. It will set the new password for several parts of you account – including the password. After you change the password, go to the Email section and select “Configure your email accounts”


Switching to php 5.4 causing my site to crash

With versions 5.4 and onward, certain php.ini directives can cause your site to no longer load.

Make sure all references to the following are removed from your php.ini:


You can place a semi-colon in front of those lines to preserve the old values in case you need them for future reference.


Enabling apc (php alternative cache) on your Centos VPS

Here is how to enabled php’s apc on a CentOS VPS:

1. yum -y install php-pear pcre-devel php-pear php-devel httpd-devel gcc
2. pecl install apc (press enter to accept the default response for each option)
3. echo “” > /etc/php.d/apc.ini
4. service httpd restart
5. cp /usr/share/pear/apc.php /home/YOUR_USER_NAME/www/some_private_file_name.php

The apc.php page can be loaded to view the cache status. We recommend you rename it to something other than apc.php