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;
$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.
While logging into plesk panel, you may have encountered the following error.
“Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied.”
It means that Plesk IP access policy was configured in such a way that Plesk panel cannot be accessed from the current IP address. To enable Plesk CP access one needs to login to Plesk Control Panel locally and change IP access policy. It can be done the following way.
Retrieve the current policy and restricted/allowed IPs the following commands from shell.
$ mysql -u admin -p`cat /etc/psa/.psa.shadow`
mysql> use psa;
mysql> select * from cp_access;
mysql> select * from misc where param=’access_policy’;
Clear the access policy settings from the “cp_access” table and set policy to “allow” using commands,
mysql> delete * from cp_access;
mysql> update misc set val=”allow” where param=’access_policy’;
After exiting from mysql prompt you should be able to access the admin panel.
To view webmail accounts and password in plesk, use the following command from the shell.
Hope you enjoy this. 🙂
Use the following command to update the webstatistics of a single domain in plesk.
/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com
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
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.
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.
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
It will be between these two entries
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.
It is not recommended to change the default Plesk port because it can break Plesk integration with other programs like Plesk Expand or DrWeb.
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:
You will need to restart Plesk afterwards. Plesk cannot listen on any of the ports used for common services.
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
2.) Restart Plesk Control Panel.
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.
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:
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
You can always get the Plesk password if you have Administrative access to the server.
1. From the Start menu, select Run.
2. Enter the following command:
“C:\Program Files\SWsoft\Plesk\admin\bin\plesksrvclient.exe” -get
1. Via SSH, run the following command: