Plesk: Disabling TRACE/TRACK methods globally

UPDATE: The TRACE/TRACK methods are disabled in Plesk 8.4 right out of the box! It’s always been a bit of a challenge to disable TRACE and TRACK methods with Plesk. The only available options were to create a ton of vhost.conf files or adjust the httpd.include files and prevent modifications with chattr (which is a bad idea on many levels). Luckily, Parallels has made things easier with a new knowledge base article....

2008-04-23 · 1 min · Major Hayden

mchk: Unable to initialize quota settings for

If you’re working in Plesk and you receive this error: mchk: Unable to initialize quota settings for Run this command to fix the issue, but be patient: find /var/qmail/mailnames -type d -name '.*' ! -name '.spamassassin' -ls -exec touch '{}'/maildirfolder \; -exec chown popuser:popuser '{}'/maildirfolder \; Thanks to Mike Jackson for this one.

2008-04-14 · 1 min · Major Hayden

Setting the maximum mail size in qmail

On a Plesk server, the maximum size for an individual e-mail sent through qmail is unlimited. You can limit this size by adding a number to the /var/qmail/control/databytes file. If you wanted to limit this to something like 10MB, you can just run the following command: echo "10485760" > /var/qmail/control/databytes This will limit the size of messages (including attachments) to 10MB as a maximum.

2008-03-24 · 1 min · Major Hayden

Reduce iowait in Plesk: put qmail’s queue on a ramdisk

I really dislike qmail. But, since I use Plesk, I’m stuck with it. However, I found a way to improve it’s awful mail queue performance by putting the mail queue onto a ramdisk. This is actually pretty darned easy to do. First, toss a line like this into your /etc/fstab: none /mailqueue tmpfs defaults,size=100m,nr_inodes=999k,mode=775 0 0 This will make a 100MB ramdisk on /mailqueue. Now, just symlink /var/qmail/mqueue to /mailqueue and move your e-mail over:...

2008-03-14 · 1 min · Major Hayden

Plesk Professional Website Editor hangs at login

One of my biggest Plesk gripes is dealing with the Plesk Professional Website Editor. One of the most common occurrences with PPWSE is that it hangs when you attempt to log into the server. Normally, this happens when a server is behind a firewall, and it is using private IP’s. Plesk will actually query the DNS for the domain (rather than simply connecting to the localhost), try to reach the public IP, and the traffic will be blocked by the firewall....

2008-03-13 · 1 min · Major Hayden

Strange error with Horde 3.1.3 and Plesk 8.1.1

I saw a ticket the other day where a customer received this error from Horde when trying to expand items on the left pane of the interface: Fatal error: Cannot use string offset as an array in /www/horde/lib/Horde/Block/Layout/Manager.php on line 389 It turns out that Plesk 8.1.1 bundles Horde 3.1.3 which has an occasional bug within the interface. Upgrading to Plesk 8.2.0 corrects the issue as Horde 3.1.4 is installed with the upgrade....

2008-03-11 · 1 min · Major Hayden

High iowait on RHEL 4 with Plesk and SpamAssassin

One of my biggest complaints on RHEL 4 is the large resource usage by the version of SpamAssassin that is installed. When it runs, it uses a ton of CPU time and causes a lot of disk I/O as well. When running top, you may see multiple spamd processes. For a high-volume e-mail server (like the one I administer), this is simply unacceptable. I decided to do something about it, and here are the steps:...

2008-01-31 · 2 min · Major Hayden

Plesk and MySQL 5

One of the questions I receive the most is: “What version of Plesk works with MySQL 5?” The minimum version of Plesk for MySQL 5 is 8.1.0. If you install MySQL 5 on a version prior to 8.1.0, you may be able to access then panel in the other 8.x versions, but your upgrades will fail miserably. In case you’re curious about a slightly older system, full MySQL 4 support was available in Plesk 7....

2008-01-30 · 1 min · Major Hayden

Can’t enable DNSBL/RBL in Plesk because it’s greyed out

If you have a new Plesk installation and the following option is greyed out in Server -> Mail: Switch on spam protection based on DNS blackhole lists Just install the following RPM from Plesk: psa-qmail-rblsmtpd

2008-01-25 · 1 min · Major Hayden

qmail: This message is looping: it already has my Delivered-To line

I stumbled upon this peculiar bounce message recently while working on a server: Hi. This is the qmail-send program at I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <>: This message is looping: it already has my Delivered-To line. (#5.4.6) --- Below this line is a copy of the message.</p> Return-Path: <remoteuser@otherdomain....

2008-01-23 · 1 min · Major Hayden