Hans Salvisberg's blog

Install the LESS CSS Preprocessor for Drupal

The Less CSS Preprocessor requires installing a LESS engine, but the instructions are confusing.

The LESS Engines documentation page is a little more helpful, except for a missing little twist... Here's how to do it:

Install node.js / npm / less on Ubuntu with Plesk

Note: If you need LESS just for Drupal, see Install the LESS CSS Preprocessor for Drupal.

Some posts, like Ubuntu installation directions for fresh web-server recommend something like

Update on installing qpsmtpd

This is an update to my original instructions for installing qpsmtpd on a Linux system running under Plesk.

Just in case you don't have cc yet:

apt-get install build-essential

qpsmtpd is now on GitHub

qpsmtpd's README mentions installing the following "required Perl modules"

perl -MCPAN -e 'install Net::DNS'
perl -MCPAN -e 'install MIME::Base64'

How to import Nokia SMS messages into Android

The process is not straight-forward, but it's possible using the Anything to SMS (CSV, XML, SQL) Android App. The problem is that you tend to get the

Failed java.lang.Exception: No SMS imported.

message.

To successfully import into a Samsung Galaxy S4, I used the following procedure:

  1. Use Nokia Suite to export the messages into a .csv file. You will get (at least on Windows) a UTF-8 file without BOM and with Windows-style line endings (CR/LF).

Remove Unused mailman from Plesk

Run


aptitude purge mailman psa-mailman-configurator

Open a MySQL Prompt under Plesk

Run


mysql -uadmin -p`cat /etc/psa/.psa.shadow ` database_name

Deploying DMARC (and DKIM)

I found that Google/Gmail was suddenly filing email from my domains into the spam folder of the recipients. At that point I had implemented SPF a few years back. It's difficult to access whether SPF pass increases the chances for successful delivery, but SPF fails definitely increase the odds of rejections, which is a good thing, because it makes my domains unattractive for spoofing. This in turn has reduced the number of non-delivery messages (back-scatter) for spam that claimed to originate from one of my domains to just about none.

Start mysql as Administrator in Plesk

Here's what 111.93.188.66 (presumably Parallels, India) did:

cat /etc/issue
/usr/local/psa/bin/admin --show-password
mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa

\q
use psa;
select id,name from domains where cl_id = vendor_id;
select id,login from clients where parent_id is null;
update domains set vendor_id=1 where cl_id=vendor_id;

Syndicate content