Archive for the ‘Plesk’ Category

Plesk for Windows Auto Update

Wednesday, April 29th, 2009

Plesk for Windows does NOT auto update, the feature is entierly not implemented.

What you do it Download plesk for Windows from the Parallels website, and run the installer, I upgraded today from 9.0.1 to 9.2.1

Sounds like it went smoothly (Did not check yet), but the update from 8.6 to 9.0.1 went smooth that is for sure

As for this update, the setup file (About 600MB) can be extracted if you open it with 7ZIP

Linking Windows Plesk to external Database

Monday, April 27th, 2009

So, I setup Windows in a VM with that old version of windows i had on the shelf for some time. (Thanks XEN HVM), Installed .NET 3.5 SP1 and the KB959209 , Setup MSSQL Express 2008

Things that got setup

SQL SERVER REPLICATION
FULL TEXT SEARCH
REPORTING SERVICES
BUSINESS INTELLIGENCE DEV STUDIO
Management Tools
SQL Client Connectivity
ms sync framework

From the SQL SERVER CONFIGURATION MANAGER, i enabled TCP/IP from protocols for SQL express

Opened a hole in the firewall for both MSSQL\Binn\sqlservr.exe and \90\Shared\sqlbrowser.exe

and then from within Plesk i added the server

Server Host: mywin.server.com.\MSSQLExpress

Admin User: sa

Admin Pass: Same pass i entered in Mixed authentication for the sa user !

Done, Plesk thinks this is a great thing i have done and accepts the thing instantly

MS advises that i read Understanding Surface Area – In setup help Minimize SQL Server 2008 surface Area

.NET 3.5 on PLESK

Monday, April 27th, 2009

So, My PLESK 9.0.1 comes with .NET 2.0 Version 2.0.50727.0 is what PLESK reports, Installing .NET 3.5 SP1 and the KB959209 did not bump that from within PLESK.

So maybe with IIS i can assign 3.5 ?

Well, i am just setting up this server so i don’t know how plesk works in this regard yet, But i sure will very very soon.

As you may well know 3.5 is an upgrade to 2.0, it is not really different at the core, it is just a larger 2.0

I will let you know as soon as i do about how this thing works, for now i have to go finish setting up this thing to use MS SQL Express edition 2008.

Mail message submission MAIL PORT 587

Sunday, April 26th, 2009

According to PLESK, the point of the Mail message submission feature is to “protect your server against unauthorized mail relaying or injection of unsolicited bulk mail.”, So in other words, They mean security through obscurity, or in other words, if the hacker does not know that the port is 587 rather than 25 then they will not be able to relay mail right ?

security through obscurity is in a few words “A system relying on security through obscurity may have theoretical or actual security vulnerabilities, but its owners or designers believe that the flaws are not known, and that attackers are unlikely to find them.”

Well, i don’t think so, surely not when PLESK hard codes a port !

You see, Mail span software evolves daily, and when you popularise a port, it is probably on the checklist of spammer software.

So how do you stop the spam ? I personally implement a system to limit the amount of email a Domain name can send and requier authentication to send mail.

So, not to go off topic, the Mail Message submission feature does have a use to me, Even though it is not rocket science to open extra ports for mail, This feature is rather useful for users who have there port 25 blocked for example.

In Jordan, Most ISPs block port 25 to reduce spam, as an expert i have no clue how they intend to stop spam by blocking port 25, They can’t be serious, Spammers are power users and they know how to overcome the Port 25 issue, and there are not many servers on the internet that are open relays are there ?

Anyway, i am not here to critisize them either, the point is, You can always open alternative ports for your users (Any port you wish) and instruct them to use it, and plesk makes it easier with a single click.

As i write, A PLESK 8.6 Windows machine displays the message next to Switch on message submission, i will let you know about this feature in Plesk 9 and if it is available and what workarounds exist for this as soon as i get PLESK 9

HORDE email client left menu advertising

Sunday, April 26th, 2009

UPDATE: Now plesk allows you to disable the horde side menu ads from within the CP, more details here

When on Plesk, Horde becomes PSA-HORDE that has one real major difference that the original HORDE does not, it has advertising to it’s left

If there is one thing that differentiates Paid mail hosting from Free hosting (Since google allows you to host your mail domain), it is the No-Advertising feature, and plesk took that away.

Anyway, i am not taking any of this advertising thing, i know horde and i know they can not possibly hide it from me, After all the PHP code of horde is there.

The file that needs edeting is

/usr/share/psa-horde/templates/portal/sidebar.inc

Find the line that reads
if (window.NewsFeeds) {
and make it

if (false) {

Even when you do this, when Plesk updates Horde again, it will probably overwrite this, But modifeying this at every update is the easiest sollution i can think of besides dissabeling Plesk updates (Which is very dangerous)