Sendmail on Plesk – user is not allowed to send mail

I recently ran into a strange problem on a Plesk server where one subscription was inexplicably unable to send email using sendmail (which is what the PHP mail() function uses). The following was being logged in /var/logs/maillog for each attempt: plesk sendmail[1628571]: handlers_stderr: ERROR:__main__:Rejecting message: system user uid='<user ID>’ is not allowed to send mailplesk sendmail[1628571]: handlers_stderr: DATA REPLY:554:5.7.0 Your...

OpenLiteSpeed WordPress cache mysteriously not working

The OpenLiteSpeed web server (OLS) and LiteSpeed Cache for WordPress (LSCWP) plugin provide a great way of both speeding up WordPress and handing large numbers of visitors. OLS is an open source derivative of the LiteSpeed Web Server (LSWS), which delivers most many of the key features, including the high performance LiteSpeed Cache (LSCache). Whilst it can’t read  Apache configuration files...

Rspamd, bayes expiry and Redis – ERR Number of keys can’t be greater than number of args

I recently enabled the bayes expiry module (https://rspamd.com/doc/modules/bayes_expiry.html) in Rspamd and found myself staring at the following error in the Rspamd logs with no idea what it meant: lua; bayes_expiry.lua:332: cannot perform expiry step: ERR Number of keys can’t be greater than number of args The only reference that I could find to this online was a single post on...

Building Bareos RPMs on Ubuntu 16.04

Following on from my previous post on how to build Bareos (Backup Archiving Recovery Open Sourced) RPM packages on CentOS 6 & 7 (https://www.spheron1.uk/2018/03/14/building-bareos-rpms-on-centos-6-7/), the following instructions will show you how to build .deb versions of the packages on Ubuntu 16.04. Again, these instructions are based on Bareos version 17.2.5, so would need to be adjusted appropriately for other versions...