Removing news feeds in Horde

If you’ve used newer versions of Horde with Plesk, you have probably noticed the news feed that runs down the left side of the screen. Depending on the types of e-mails you receive, you may get some pretty odd news popping up on the screen. Luckily, you can remove the news feeds pretty easily. Open the following file in your favorite text editor: /usr/share/psa-horde/templates/portal/sidebar.inc Once the file is open, drop down to line 102 and comment out the entire if() statement (lines 102-117)....

2008-01-21 · 1 min · Major Hayden

Plesk and qmail: 421 temporary envelope failure (#4.3.0)

I stumbled upon a server running Plesk 8.2.1 where a certain user could not receive e-mail. I sent an e-mail to the user from my mail client, and I never saw it enter the user’s mailbox. It didn’t even appear in the logs. After checking the usual suspects, like MX records, mail account configuration, and firewalls, I was unable to find out why it was occurring. Even after a run of mchk, the emails would not be delivered....

2007-12-04 · 1 min · Major Hayden

Fixing Horde problems in Plesk 8.1.x/8.2.x with PHP 5.2.5

There’s a few issues with PHP 5.2.5 and the version of Horde that is bundled with Plesk 8.1.x and 8.2.x. The PHP include paths that appear in the Apache configuration generated by Plesk conflict with the PHP installation, and that causes the Horde webmail interface to segmentation fault. To fix the problem, create a file called /etc/httpd/conf.d/zz050a_horde_php_workaround.conf and put the following inside it: <DirectoryMatch /usr/share/psa-horde> php_admin_value include_path "/usr/share/psa-horde/lib:/usr/share/psa-horde:/usr/share/psa-horde/pear:." </DirectoryMatch> Reload the Apache configuration and your Horde installation should work properly with PHP 5....

2007-11-28 · 1 min · Major Hayden

Sort e-mail in Plesk with procmail

One of my biggest beefs with Plesk’s e-mail handling is the lack of server-side filtering. Plesk will only allow you to throw away e-mails marked as spam, but this won’t work for me since SpamAssassin marks some mails as spam that actually aren’t. If you set up filters in SquirrelMail or Horde, the filters will only work if you always log into the webmail interface to snag your e-mail. Luckily, you can do some fancy work with procmail to have the filtering done server-side....

2007-11-27 · 1 min · Major Hayden

Plesk authorization failed: HTTP request error [7]

I found myself wrestling with a server where the Plesk interface suddenly became unavailable without any user intervention. An attempt to start the service was less than fruitful: [root@server ~]# service psa start Key file: /opt/drweb/drweb32.key - Key file not found! A path to a valid license key file does not specified. Plesk authorization failed: HTTP request error [7] Error: Plesk Software not running. [FAILED] (Although I included the text from the drweb failure, I later found that it was not related to the issue....

2007-11-14 · 2 min · Major Hayden

Enabling Dr. Web virus scanning for new accounts

If you’re using Plesk 8.0 or later, you can set up Dr. Web to be enabled for all new mail accounts. To do this, you have to create an event handler. Here’s the steps you will need: » Log into Plesk » Click “Server” » Click “Event Manager” » Choose “Mail Name Created” next to “Event” » In the command area, enter /usr/local/psa/bin/mail.sh --update $NEW_MAILNAME -antivirus inout » Click “OK”

2007-10-12 · 1 min · Major Hayden

Plesk: Error opening /var/lib/squirrelmail/prefs/default_pref

On brand new Plesk 8.2.x installations or on servers that have been upgraded to Plesk 8.2.x, you might run into this error when you attempt to log into squirrelmail after it was installed via RPM: Error opening /var/lib/squirrelmail/prefs/default_pref Could not create initial preference file! /var/lib/squirrelmail/prefs/ should be writable by user apache Please contact your system administrator and report this error. No matter what you do to the /var/lib/squirrelmail/prefs/default_pref file, even if you chmod 777 the file, you will still get the error....

2007-10-09 · 1 min · Major Hayden

Slow Horde login process with Plesk

I’ve seen quite a few situations where the Horde login process can take upwards of 45 minutes to log a user into the webmail interface. There’s a few issues that can cause these extended delays, and most of them can be fixed rather easily: Too many filters / Giant whitelists and blacklists This is the biggest cause that I’ve seen. Some users will create gigantic white and black lists (upwards of 5,000 is my record that I’ve seen) and this makes Horde compare each and every message in the inbox against these lists upon login....

2007-10-05 · 2 min · Major Hayden

Preventing Plesk 8.2.x from adding up2date sources

One of the most annoying (and explosive) changes in Plesk 8.2 is the automatic addition of up2date sources for its use. As of 8.2.0, the packages are not signed, and they generate errors with up2date. Also, Plesk often keeps adding the sources over and over to /etc/sysconfig/rhn/sources, and this causes additional errors and delays when you use up2date. You can disable this behavior entirely by running the following: # echo ALLOW_TO_USE_UP2DATE=no > /root/....

2007-10-04 · 1 min · Major Hayden

Plesk: There is incorrect combination of resource records in the zone

Yet another weird Plesk error with terrible grammar popped up on a server that I worked with this week: Error: There is incorrect combination of resource records in the zone As you can see, this error is not terribly informative. Here’s a little background on what I was doing before this alert appeared: On Plesk 8.1.1, I needed to create an alias for a certain domain. Each time I’d try to create the alias, I’d receive the above error....

2007-10-03 · 2 min · Major Hayden