Useful Global Website Speed Test

http://www.freespeedtest.com/

very handy for convincing your hosting company that there really is a problem.

place spam in a junk folder in plesk

First, make sure procmail is installed on your server, and change to this directory:

/var/qmail/mailnames/yourdomain.com/yourusername/

Inside that directory, drop in a .procmailrc file which contains the following:

MAILDIR=/var/qmail/mailnames/yourdomain.com/yourusername/Maildir
DEFAULT=${MAILDIR}/
SPAMDIR=${MAILDIR}/.Junk/
:0
* ^X-Spam-Status: Yes.*
${SPAMDIR}

Once that file is in place, move the .qmail file out of the way, and replace it with this:

| /usr/local/psa/bin/psa-spamc accept
|preline /usr/bin/procmail -m -o .procmailrc

Any changes you or your users make in plesk will over write this!

To get around this change the file attributes to immutable:

# chattr +i .qmail .procmailrc

Credit for this trick goes to Russ Wittmann.

Upgrade all modules in magento from ssh

  1. ./pear upgrade-all
  2. rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*