When Migrating from an old dedicated server to a new server, you can ask your hosting provider to migrate the data and the IP’s. Here is the strategy to move them.

  1. ssh to the old and new server.
  2. One the old server, change the following:

Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# cd /etc/sysconfig/network-scripts
# nano ifcfg-eth0
# =============================================================
# Network Interface Script generated by BareMetal
# =============================================================
DEVICE=eth0
BOOTPROTO=STATIC
ONBOOT=yes
IPADDR=216.xx.xxx.xx
NETMASK=255.255.255.0
HWADDR=6C:xx:xx:xx:xx:xx

[stextbox id=”info”]* IP and Mac changed to xx. Yours will have the real IP and mac address.[/stextbox]

# service network restart

Change the primary IP – ifcfg-eth0 on the old server to a temp one – one assigned for a place holder so you can access the panel.

3. Do the same on the new server, adding the IP from the old server to /etc/sysconfig/network-scripts/ifcfg-eth0
Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# cd /etc/sysconfig/network-scripts
# nano ifcfg-eth0
# =============================================================
# Network Interface Script generated by BareMetal
# =============================================================
DEVICE=eth0
BOOTPROTO=STATIC
ONBOOT=yes
IPADDR=216.xx.xxx.xx
NETMASK=255.255.255.0
HWADDR=6C:xx:xx:xx:xx:xx
# service network restart

Now the old server has a temp IP and the new server has the old server primary IP.

Login to plesk on the old server and assign the new temp IP to all the domains. Remove the other secondary IP’s from plesk.

Login to plesk on the new server. Add the secondary IP’s from the old server. Assign the IP’s to the domains according to their DNS records.

Remove any IP’s on the new panel that were assigned, but will not be used.

Starting the DNS server fails. restarting named shows the following error:

service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 20010622
zone domain1.com/IN: loaded serial 1415397236
zone domain2.org/IN: loaded serial 1415411359
zone domain3.com/IN: loaded serial 1415556389

Thats the okay part
And then you see this:


zone domain4.com/IN: NS 'ns2.domain4.com' has no address records (A or AAAA)
zone domain4.com/IN: not loaded due to errors.

Resolution:

Add an A record for the nameserver ns2.domain4.com in the zone DNS manager in plesk. The restart named.

# service named restart

Source: http://kb.sp.parallels.com/en/115472

My server is using the Postfix mail server. For some reason, all messages it sends contain unnecessary headers, like the following:

X-No-Relay: not in my network

or

X-No-Auth: unauthenticated sender

The number of headers is multiplied by the number of message recipients, e.g., the headers of a message sent to two recipients would look like this:

X-No-Relay: not in my network
X-No-Relay: not in my network

Cause
Postfix adds those headers from these files:

# ls /var/spool/postfix/plesk/*re
/var/spool/postfix/plesk/non_auth.re
/var/spool/postfix/plesk/no_relay.re

Resolution
The issue will be fixed in a future update for which a new Knowledgebase article will be created. You may subscribe to new articles on Parallels Plesk Panel products if you wish to receive notifications about their creation.

Workaround
If you do not want messages to contain the above headers, clean (empty) these files:

/var/spool/postfix/plesk/non_auth.re
/var/spool/postfix/plesk/no_relay.re

nano /var/spool/postfix/plesk/no_relay.re

/^/ PREPEND X-No-Relay: not in my network

Migration check in plesk shows this error:

The ‘max_allowed_packet’ parameter on the source database server is 16777216, which is bigger than on the destination server, where it is 1048576

RDP the the server. The file is at C:Program Files (x86)ParallelsPleskDatabasesMySQLDatamy.ini

Add this to it:

[mysqld]
# max_allowed_packet=16M

For a plesk server

IMAP

Incomming server
Server: mail.domain.com
Connection security: none
Authentication: Password, transmitted insecurely
User Name: user@domain.com
Port: 143

Outgoing Server:
Server: mail.domain.com
Connection security: STARTTLS
Authentication: Encrypted password
User Name: user@domain.com
Incomming: Port 587

POP

Incomming server
Server: mail.domain.com
Connection security: STARTTLS
Authentication: Encrypted Password
User Name: user@domain.com
Port: 110

Outgoing Server:
Server: mail.domain.com
Connection security: STARTTLS
Authentication: Normal Password
User Name: user@domain.com
Incomming: Port 587

How to clear the mailqueue.

Check the mailq:

# /usr/local/psa/admin/bin/mailqueuemng -s

View 5 of the items for a certain domain:

# /usr/local/psa/admin/bin/mailqueuemng -s | grep -C 5 user@domain.com
# /usr/local/psa/admin/bin/mailqueuemng -D"

or

# postsuper -d ALL

If you get a permission error on an older PLesk 9 instance

# /usr/sbin/postsuper -d ALL

To remove specific emails from a domain:

# postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } /@domain\.com/ { print $1 }' | tr -d '*!' | postsuper -d -

Or

# mailq | tail -n +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" } { if ($8 == "USER@EXAMPLE.COM" && $9 == "") print $1 } ' | tr -d '*!' | postsuper -d -

Check you version of Roundcube

Go to: https://myroundcube.com/myroundcube-plugins/plugin-manager
Download the plugin manager version for your roundcube

Extract and upload the the roundcube plugins directory
extracted

Upload to

# /usr/share/psa-roundcube/plugins

Modify the config file

# /usr/share/psa-roundcube/config/config.inc.php
$config['plugins'] = array('password', 'markasjunk2', 'sieverules');

Change to

 # $config['plugins'] = array('plugin_manager', 'password', 'sieverules');

Access Roundcube and login. Click About

about

This should pop up

file

Add the file to roundcube

# touch /usr/share/psa-roundcube/urv58kf60qjia0n1h447mr8i12.myrc

Go to Settings > You Should now see the Plugins Manager

By default deflate module is already compiled on Plesk based Linux servers(new versions). You just need to add the rules in Apache to enable/load the deflate module.

You can test if your website already has mod_deflate enabled using the following tool.

http://www.whatsmyip.org/mod_gzip_test/

Check the main httpd.conf file

# grep 'mod_deflate' /etc/httpd/conf/httpd.conf

If the result was LoadModule deflate_module modules/mod_deflate.so, you can continue. If the result was #LoadModule deflate_module modules/mod_deflate.so, please run the following command:

# perl -pi -e 's/# LoadModule mod_deflate/LoadModule mod_deflate/g' /etc/httpd/conf/httpd.conf

Then add this to the httpd.conf file for the site

#
# Deflate output configuration
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html

Restart Apache and test from online tools to see if deflate is enabled.

Other configuration

Include this in the conf.d directory. Make sure that the conf.d directory is included in httpd.conf.


# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
# BrowserMatch bMSIE !no-gzip !gzip-only-text/html

# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html

# Don't compress images
SetEnvIfNoCase Request_URI 
.(?:gif|jpe?g|png)$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary

Restart Apache and test from online tools to see if deflate is enabled.

Easy

On a Plesk server, the mod_deflate module is installed by default, however it may be disabled in the Apache configuration file. To enable the mod_deflate module in Plesk edit the Apache configuration file

# vi /etc/httpd/conf/httpd.conf

Search the line that says,

#LoadModule deflate_module modules/mod_deflate.so

and uncomment it i.e. remove the ‘#’ mark

LoadModule deflate_module modules/mod_deflate.so

Now, create a /etc/httpd/conf.d/deflate.conf file. Apache reads all the .conf files from the /etc/httpd/conf.d directory on a Plesk server.


# vi /etc/httpd/conf.d/deflate.conf

and place the following code in it

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI  \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary

Save the file and restart Apache.

# service httpd restart

Source: http://linuxhostingsupport.net/blog/how-to-enable-http-compression-on-a-plesk-server