Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again

If you are unable to login into Webmail , and you are getting an Error: “Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again.”

To fix this problem, you may do the following:

1)You can turn off ‘checkip’ feature in Horde server-wide.

2)Edit the /usr/share/psa-horde/config/conf.php file in the Plesk server and the change the following lines.

$conf[‘auth’][‘checkip’] = true;
to
$conf[‘auth’][‘checkip’] = false;

Please note that this modification cannot be configured per user basis and will affect all the webmail users in the server.

Calculate disk space in Plesk

When you remove files from plesk, in order to recalculate space, it doesn’t always update and shows the disk space usage correctly.

Running the following command from shell will correct the issue;

/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=Domain_name.com

Disable Spam Assassin in Plesk Linux Server

Now in Plesk, there is no way to simply disable/uninstall SpamAssassin. So in order to do this, you must remove it manually. You can remove the rpm for the spam assassin component.

# rpm -e psa-spamassassin

This is the case inwhich you have installed the spam assassin component via the plesk updater. If it not so, use the following command.

# rpm -e spamassassin

It will remove the spam assassin configurations for each email account on the server, stop the service and then remove spam assassin from your server.

Ioncube Installation On Linux Plesk Server

Please follow the steps given below for installing IonCube on a Linux Plesk Server.

1) Download the tar.gz file compatible from http://downloads.ioncube.com.
wget http://downloads2.ioncube.com/loader…lin_x86.tar.gz

2) Untar the downloaded file.
tar -zxf ioncube_loaders_lin_x86.tar.gz

3) Move the untared file to /usr/lib/php/modules
mv ioncube /usr/lib/php/modules

4) chown -R root:root /usr/lib/php/modules/ioncube

5) vi /etc/php.ini
Add the following line before any other zend_extension

zend_extension=/usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so

It will be between these two entries

zend_optimizer.version=3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

Save changes and restart apache in the server.
6) /etc/init.d/httpd restart

Now Ioncube is Installed on the server and can be verified by php -v command.
[root@server ~]# php -v
PHP 5.1.6 (cli) (built: xx xx xxxxx xx:xx:xx)
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

Note that ionCube Loader is a Zend-Engine extension and not a module, you need to specify the Loader using ‘zend_extension’ in the loaded php.ini file for the php version.

How to change the default port for Plesk

It is not recommended to change the default Plesk port because it can break Plesk integration with other programs like Plesk Expand or DrWeb.

Linux

To change the port Plesk listens on you will need to edit /usr/local/psa/admin/conf/httpsd.conf file and change the following directives to list the port you want Plesk to listen on:

Listen 8443
Port 8443
VirtualHost *:8443>

You will need to restart Plesk afterwards. Plesk cannot listen on any of the ports used for common services.

Windows

Most Plesk installs will be using Apache by default. You will want to edit the Apache configuration file C:\Program Files\SWsoft\Plesk\admin\conf\httpd.conf

1.) Change the following line to list the port number you want Plesk to listen on
Listen 8443

2.) Restart Plesk Control Panel.

Plesk – Rebuilding qmail queue on RPM based Servers

This instruction is written for RPM-based systems like RedHat, Fedora, CentOS, etc.

Please do the following steps to recreate Qmail`s queue, Queue has damage or lots of spam mails.

Please DO remember that all current messages will be removed from the queue in this case and cannot be restored.

1. Stop Qmail and xinetd.

/etc/init.d/qmail stop
/etc/init.d/xinetd stop

2. Move current queue to another location.

mv /var/qmail/queue /var/qmail/queue_old

3 Reinstall ‘psa-qmail’ RPM to recreate qmail queue structure with the command like:

rpm -Uvh –force psa-qmail….

4.(Optional).Reinstall drweb-qmail RPM if you use DrWeb antivirus feature which comes with Plesk.

rpm -Uvh –force drweb-qmail….

5.Start Qmail and xinetd:

/etc/init.d/qmail start
/etc/init.d/xinetd start

You should get the both psa-qmail and drweb-qmail RPMs from the same Plesk version distributive that is installed on the server. You can obtain current psa-qmail, drweb-qmail RPMs and Plesk build versions by running the following commands on Linux systems:

rpm -q psa-qmail
rpm -q drweb-qmail
rpm -q psa

How to retrieve the Plesk control panel password?

You can always get the Plesk password if you have Administrative access to the server.

For Windows,

1. From the Start menu, select Run.
2. Enter the following command:
“C:\Program Files\SWsoft\Plesk\admin\bin\plesksrvclient.exe” -get

For Linux,
1. Via SSH, run the following command:
cat /etc/psa/.psa.shadow