Setting up MySQL to connect to from PLESK for example is very simple
apt-get install mysql-server
Then, you will need to allow mysql to listen to the outside world
Edit /etc/mysql/my.cnf
and comment out the line
bind-address = 127.0.0.1
then, you will need to allow the root user to connect from outside the server
On the command prompt
mysql -uroot –password=”aPassWord”
use mysql;
select host, user from user;
Now look for the root user with the hostname of the machine, assuming it came out as thishost
update user set host=’%’ where user=’root’ and host=’thishost’;
flush privileges;
quit
And you should be all set
If you don’t perform the above operations, PLESK will complain when you add the server to the list of database servers, You will probably see an error like
Error: Test connection to the database server has failed because of network problems: Failed to connect to database: Can’t connect to MySQL server on ‘host.domain.com’ (10061)
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
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.
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
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)