/home » workblog

Entries for the ‘Virtuozzo/Plesk’ Category

PHP Error Logs with Virtuozzo

Virtuozzo sets domains up to have PHP’s display_errors flag turned off by default, so that you’ll only see a blank page when there are critical errors. This is a good thing in production environments because it avoids potential security issues, but it can also be annoying when you’re trying to debug something.
Instead of displaying the [...]

Firewalling an OpenVZ node and containers

The OpenVZ wiki has a nice script for firewalling an OpenVZ node and it’s containers. It creates a service and configures iptables to block all traffic to the node (except the ports you specify), but allow all traffic through to the containers, so that they can manage their own firewall. It also allows the container’s [...]

Working with Qmail’s Queue

qmqtool is a great tool for viewing and changing messages in qmail’s queue. It’ll help you search for and delete spam, for instance. The FAQ has a some examples to get started with.

Relaying Qmail Through a Spam Filter

If you’re running a mail service on a web server so it can send out e-mail from contact forms, etc then you’ll want to make sure it’s relaying outbound mail through a spam filter, or it could be used to send spam if the forms get hijacked. For qmail, you just need to create /var/qmail/control/smtproutes [...]

Additional FTP accounts on Plesk for Linux

Before version 9 of Plesk you couldn’t add additional FTP accounts for a domain through the control panel. This KB explains how to manually add extra FTP accounts that are restricted to their home directory.